Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hello,
Hi @APM
I still don't quite understand your question.
In your sales table, all customers are in the customer table. Similarly, the skus in the sales table are also in the SKU table. What percentage do you want now ? Does each customer purchase a percentage of the total purchase quantity ? Can you provide your calculation rules and the results you expect (in the form of data) ?
Best Regards
Community Support Team _ Ailsa Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @APM ,
I think essentially what you are looking to do is count your customers and then divide by the customers that purchased a promo sku. I created a sample pbix based on your screen cap, much easier if you inclue the data in a table(s), I slightly modifed to ensure that one of the purchases was not a promo. The model has three measures, see below
Customer Count = COUNTROWS(customers)
Promo Cust = CALCULATE(COUNTROWS(VALUES(trans[customer])), FILTER('trans', 'trans'[sku] in VALUES('promo_skus')))
% Promo Cust = DIVIDE([Promo Cust], [Customer Count])
results in the following.
attached you will find the sample pbix.
hope this helps
Proud to be a Super User!
So this is regarding email marketing, and ultimately I want to see of the list of customers that got an email (the list of names), how many of them bought (sales report) one of the items promoted in the email (promotional skus list).
what's the expected result? could you explain the calculation logic?
Proud to be a Super User!
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
97 | |
80 | |
69 | |
59 |
User | Count |
---|---|
150 | |
119 | |
104 | |
87 | |
67 |