March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
I have a dataset that creates a matrix with counts that looks like this:
Auditor | No | Yes | Total |
2 | 30 | 3 | 33 |
4 | 6 | 6 | |
5 | 1 | 1 | 2 |
Total | 37 | 4 | 41 |
This is the DAX that does NOT do what I want:
I want to create a measure that gives subtotals irrespective of auditor. I want it to look like this, but I am doing something wrong. Can you please assist? Link to sample file: https://kauffman.box.com/s/2n6ccf18xkfzrmxopltujibbasxeqbrr
Auditor | no | Yes | Total |
2 | 37 | 4 | 41 |
4 | 37 | 4 | 41 |
5 | 37 | 4 | 41 |
Total | 37 | 4 | 41 |
Solved! Go to Solution.
Hi,
This measure works
Cases WRT Auditor = CALCULATE([Cases],ALLSELECTED(FINANCIAL_STATEMENTS[Auditor ID]))
Hope this helps.
Hi,
This measure works
Cases WRT Auditor = CALCULATE([Cases],ALLSELECTED(FINANCIAL_STATEMENTS[Auditor ID]))
Hope this helps.
Thank you! I see that I was mixing the lookup Auditor ID with the fact table Auditor ID. I appreciate the help!!
You are welcome.
Cannot reproduce. Something else must be going on (for example in your [Cases] measure).
My Cases Is using COUNTROWS(). Could that be the problem?
Countrows of what? The Cases table? How is it wired in the data model?
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
133 | |
90 | |
88 | |
64 | |
58 |
User | Count |
---|---|
201 | |
137 | |
107 | |
70 | |
68 |