Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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! | |
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
70 | |
68 | |
43 | |
34 | |
26 |
User | Count |
---|---|
86 | |
49 | |
45 | |
38 | |
37 |