Price is calculated as sales_amount/qty.

Hence for a customer, if we aggregate data of a certain time-period (say month), we get:

q1+q2+q3+...=a.(s1+s2+s2+...)/(q1+q2+q3+...)+....(other IVs)

where s(i) denotes sales_amount.

Will there be any problem because of this?