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 all,
I wsa hoping there's a solution to this requirement. I have a list of total orders with two distinct measures. Needing a distinct count of the two distinct measures.
The first measure shows below. It takes the distinct count of orders for one column called 'On Time'
The second measure shows below. It takes the distinct count of 'In Full'
They utilize the measure Total Count which in itself is a distinct count.
The problem i run into is of the 80 'In Full' and '70' On Time there are 10 duplicates. Is there a DAX formula that could distinguish 'of the two measures there are this many duplicates' and only count them as 1?
Solved! Go to Solution.
Thanks for the hint and this certainly helped me rethink it.
I was able to resolve this by using CALCULATE(COUNTROWS, FILTER)
Hi,
Share a dataset and show the expected result. It becomes a lot easier to understand a question when one shares data rather than formulas.
Could you just FILTER your SUMX tables to exclude In Full or On Time respectively?
Thanks for the hint and this certainly helped me rethink it.
I was able to resolve this by using CALCULATE(COUNTROWS, FILTER)
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 |
---|---|
107 | |
98 | |
78 | |
65 | |
53 |
User | Count |
---|---|
144 | |
103 | |
98 | |
85 | |
64 |