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.
I have these products I need to know, How many customers bought more than one product in a particular time period.
I need a filter , where i can select count of products such as 2, 3,4 etc
At that time, I need to see the customers list.
How can I get that, can someone help me out with this.
For example, if I select count as 2, I need the customers list who had purchased any 2 products.
Solved! Go to Solution.
Hi @lakshmi9228,
To get the count of products accroding to the filered result, we need to create a measure like this.
DYcount = CALCULATE(COUNTROWS('Product'),FILTER(ALLSELECTED('Product'),'Product'[name]=MAX('Product'[name])))
Then we can create a slicer and create another measure. And filter the table visual based on the Measure, make the result is 1.
Measure = IF([DYcount]=SELECTEDVALUE(Table1[Filter]),1,0)
Here is the result for your reference.
For more details, please check the pbix as attached.
https://www.dropbox.com/s/hpo56lrvwl570sv/Distinct%20Customer%20Purchases.pbix?dl=0
Regards,
Frank
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 |
---|---|
109 | |
99 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
102 | |
87 | |
64 |