Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
My measure looks like this
CALCULATE(
COUNTROWS(VALUES(Metrics[Sales Area])),
REMOVEFILTERS(Metrics[Metric])
)
And my data looks something like this:
| Sales Area | Metric |
| Area 1 | Metric A |
| Area 2 | Metric B |
| Area 1 | Metric B |
| Area 2 | Metric C |
| Area 1 | Metric C |
If I put Sales Area in a slicer and select Area 1 and Area 2 together with the metric unfiltered I get 2 as a value in the card but if I have it filtered to Metric A, I get 1 as a value. How do I make it so that I get the unfiltered metric value which is 2 even if I have Metric A selected in the slicer? REMOVEFILTERS didn't seem to work in this case.
Sample pbix
Solved! Go to Solution.
Hi,
You can use edit interaction features to disabled the interactions between visuals:
Change how visuals interact in a report - Power BI | Microsoft Learn
Proud to be a Super User! | |
@RingoMoon I don't think any of these solutions work, except @Kaviraj11 ones which is to disable the interaction and the core reason for auto exist, google it or watch this video. Auto Exist - Importance of star schema in Power BI. Why ALL function doesn't work? (youtube.com)
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
@RingoMoon I don't think any of these solutions work, except @Kaviraj11 ones which is to disable the interaction and the core reason for auto exist, google it or watch this video. Auto Exist - Importance of star schema in Power BI. Why ALL function doesn't work? (youtube.com)
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
Plenty of options to choose from. Aside the solutions provided by @Kaviraj11 and @rajendraongole1 you can also try
M1 = CALCULATE(
COUNTROWS(VALUES('Metrics'[Sales Area])),
FILTER(ALL('Metrics'),'Metrics'[Metric]<>BLANK())
)
Cheers,
Hi,
You can use edit interaction features to disabled the interactions between visuals:
Change how visuals interact in a report - Power BI | Microsoft Learn
Proud to be a Super User! | |
Hi @RingoMoon - can you try below modified logic
CALCULATE(
COUNTROWS(VALUES(Metrics[Sales Area])),
REMOVEFILTERS(Metrics[Metric]),
ALL(Metrics[Metric])
)
Hope it works.
Proud to be a Super User! | |
| User | Count |
|---|---|
| 50 | |
| 42 | |
| 36 | |
| 31 | |
| 28 |
| User | Count |
|---|---|
| 139 | |
| 129 | |
| 61 | |
| 59 | |
| 57 |