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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
joannasokolowsk
Helper II
Helper II

how to create a slicer for a measure

Dear Colleagues,

I am trying to add a slicer for a measure and It doesn't work . Do you know if there is any workaround?  

 

I was trying to attach the dashboard but I do not see such an option, so I will try to explain it below.  I need to create a slicer for the Relevance measure from the summary table (the same that I have with "%Yes"). This Relevance measure is created based on values in columns ( total hours rating, fee rating, prior yr cem rating, recovery rating) and sheet 1/2/3/4 (the same values from 0.0 to 1.0, value change every 0.5) which are on the slicers.  

 

Relevance_Measure = FIRSTNONBLANK(Summary[Total hours rating],Summary[Total hours rating])*MAX(Sheet1_1[Column1])+FIRSTNONBLANK(Summary[Fee rating],Summary[Fee rating])*MAX(Sheet1_2[Column1])+FIRSTNONBLANK(Summary[Prior Yr CEM rating],Summary[Prior Yr CEM rating])*MAX(Sheet1_3[Column1])+FIRSTNONBLANK(Summary[Recovery rating],Summary[Recovery rating])*MAX(Sheet1_4[Column1])

 

Capture.PNG

3 REPLIES 3
v-alq-msft
Community Support
Community Support

Hi, @joannasokolowsk 

 

A measure is evaluated in the context of the cell of the pivot table or DAX query. The context of the cell depends on the user selections in the pivot table or on the shape of the DAX query. You are unable to put a measure in the page level filter or a slicer which have effects on all the visuals in the page. You may put a measure in the visual level filter to get the corresponding result.

 

For further information, you may refer the following threads.

Measure as Slicer - Workaround?  

Use Measure as Slicer 

 

Best Regards

Allan

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

amitchandak
Super User
Super User

@joannasokolowsk , refer if this can help

https://community.powerbi.com/t5/Desktop/Slicer-MTD-QTD-YTD-to-filter-dates-using-the-slicer/td-p/50...

 

Or this

https://radacad.com/bookmarks-and-buttons-making-power-bi-charts-even-more-interactive

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
parry2k
Super User
Super User

@joannasokolowsk no, you cannot use measures in the slicer but can be used in Visual Level Filter.

 

I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!



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.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors