Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
dkernen2
Helper II
Helper II

Help with REMOVEFILTERS needed

I have a dataset that creates a matrix with counts that looks like this:

 

AuditorNoYesTotal
230333
46 6
5112
Total37441

 

This is the DAX that does NOT do what I want:  

Cases WRT Auditor = CALCULATE([Cases],REMOVEFILTERS(AUDITORS[Auditor ID]))


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

AuditornoYesTotal
237441
437441
537441
Total37441


@dax

1 ACCEPTED SOLUTION
Ashish_Mathur
Super User
Super User

Hi,

This measure works

Cases WRT Auditor = CALCULATE([Cases],ALLSELECTED(FINANCIAL_STATEMENTS[Auditor ID]))

Hope this helps.

Ashish_Mathur_0-1728961201720.png

 


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

7 REPLIES 7
Ashish_Mathur
Super User
Super User

Hi,

This measure works

Cases WRT Auditor = CALCULATE([Cases],ALLSELECTED(FINANCIAL_STATEMENTS[Auditor ID]))

Hope this helps.

Ashish_Mathur_0-1728961201720.png

 


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

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.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Anonymous
Not applicable

Hi @dkernen2 ,

 

Please try:

Cases WRT Auditor = CALCULATE([Cases],ALLSELECTED())

vbofengmsft_1-1728956813910.png

 

Best Regards,

Bof

 

lbendlin
Super User
Super User

Cannot reproduce.  Something else must be going on (for example in your [Cases] measure).

 

lbendlin_0-1728934586428.png

 

My Cases Is using COUNTROWS().  Could that be the problem?

Countrows of what? The Cases table?  How is it wired in the data model?

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.