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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

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.


Visit my LinkedIn page by clicking here.


Schedule a meeting with me to discuss further by clicking here.

Thank you very much - this was very helpful!

Greg_Deckler
Super User
Super User

@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!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Thank you - this was very helpful!

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! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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