I have added a measure 'Count' and have added this rule
Code: Select all
['Count']=N:IF(['Sales']>0,1,STET);
This gives me the total count, but the problem is that one customer might have bought a single multiple times (and data source will have multiple transactions). It give me output something like this:
But I only want to see how many Customers bought a certain product NOT how many times they bought this product. For example:PRODUCT SALES COUNT
Customer A Product1 30 50
Customer A Product1 20 50
Customer B Product3 10 10
Customer C Product4 0 0
Please suggest me some solution ASAP. ThanksPRODUCT SALES COUNT
Customer A Product1 30 1
Customer A Product1 20 1
Customer B Product3 10 1
Customer C Product4 0 0