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.
Hi,
I want a measure that gives me the distinct count of Client ID that have 2 or more products. My table looks like this:
Client ID | Total products | Date |
1 | 1 | 8/30/2019 |
2 | 1 | 8/30/2019 |
3 | 2 | 8/30/2019 |
4 | 0 | 8/30/2019 |
5 | 3 | 8/29/2019 |
6 | 2 | 8/28/2019 |
7 | 1 | 8/5/2019 |
8 | 2 | 8/24/2019 |
9 | 1 | 8/24/2019 |
Thanks in advance,
IC
Solved! Go to Solution.
Hi,
Try this measure
=CALCULATE(DISTINCTCOUNT(Data[Client ID]),Data[Total Products]>=2)
Hope this helps.
Hi @Anonymous ,
Have you solved the problem?
If you have solved, please always accept the replies making sense as solution to your question so that people who may have the same question can get the solution directly.
If you still need help, please share your desired output based on your data sample so that we could understand your logic better.
Best Regards,
Cherry
Hi,
Try this measure
=CALCULATE(DISTINCTCOUNT(Data[Client ID]),Data[Total Products]>=2)
Hope this helps.
Hi @Anonymous ,
This should do it for you. My table is 'Table'
If this solves your issues, please mark it as the solution, so that others can find it easily. Kudos are nice too.
Nathaniel
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 |
---|---|
97 | |
97 | |
82 | |
74 | |
66 |
User | Count |
---|---|
120 | |
105 | |
99 | |
81 | |
72 |