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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
antel1
Frequent Visitor

Make Measure Unaffected By One Particular Slicer

Hi,

I'm trying to make a visual that compares a selected user's median times for each category against the median times of all users.

To do this I need to make one measure that is unfiltered by the user slicer and one that is filtered. The latter is easy, but I'm struggling to make a measure unaffected by one slicer but is still filtered by all other slicers on the report page.

Thanks

2 REPLIES 2
antel1
Frequent Visitor

Update:

So the two measures I'm currently using are:

Total Median Op Time = 
CALCULATE(
    MEDIAN(TotalOpTimes[TotalOpTime]),
    ALL(CaseHistory[CommittedBy])
)

^For unchanging measure

 

 

User Median Op Time = MEDIAN(TotalOpTimes[TotalOpTime])

^For the user specific measure

 

Everything works when the only slicer being modified is the user slicer. However as soon as I apply any other filter, (either through a slicer or by interacting with another visual,) these measures become equal. I'm not sure why this is happening or how to fix it.

Thanks

Hi @antel1 ,

 

You can consider to use allexcept function to ignore specific filter effect:
Using ALLEXCEPT versus ALL and VALUES

 

Regards,

Xiaoxin Sheng

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

Feb2025 NL Carousel

Fabric Community Update - February 2025

Find out what's new and trending in the Fabric community.