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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.