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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
mstone3
Helper III
Helper III

DAX Measure to Return Information on Slicer Selection/Slicer Status

Hello,  I'm trying to write a DAX measure that will assist the report user in understanding what has been selected on a slicer.  I would like the DAX measure to return 1 of 4 possible conditions:

 

If all slicer options are selected, return "All selected"

If no slicer options are selected, return "Make a selection"

If one slicer option is selected, return "One selected"

If more than one (but not all) options are selected, return "Multiple selected" 

 

I've tried to get there with a combination of IF statements, SELECTEDVALUE, ISFILTERED, HASONEVALUE, etc. but can't get the logic to work right.

 

Thank you!

4 REPLIES 4
Jihwan_Kim
Super User
Super User

Picture1.png

 

Link to the sample pbix file 

 


If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.


Click here to visit my LinkedIn page

Click here to schedule a short Teams meeting to discuss your question.

Thank you very much - this was very helpful!

Greg_Deckler
Community Champion
Community Champion

@mstone3 See if this helps: The Most Amazing, Mind Blowing Dynamic Slicer Titl... - Microsoft Power BI Community



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Thank you - this was very helpful!

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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