Reply
hellojb
Frequent Visitor
Partially syndicated - Outbound

card measure that changes text if there are multiple filters applied in different slicers

I need help in creating a dax measure that changes the text on a card when more than one slicer is filtered.

 

i have 3 slicers: 

slicer A

slicer B 

slicer C

 

I want the text to change from Selected Category X to "selected Values" when more than one slicer is filtered. 

 

the dax I have below only works for one or more values selected in the same slicer. 

 

if(isfiltered('Table1'[A]), (if(DISTINCTCOUNT('Table1'[A])=1, SELECTEDVALUE('Table1'[A]), "Selected Category A"), if(isfiltered('Table1'[B]), (if(DISTINCTCOUNT('Table1'[B])=1, SELECTEDVALUE('Table1'[B]), "Selected Category B"),

if(isfiltered('Table1'[B]), (if(DISTINCTCOUNT('Table1'[B])=1, SELECTEDVALUE('Table1'[C]), "Selected Category C")

1 REPLY 1
Greg_Deckler
Super User
Super User

Syndicated - Outbound

@hellojb 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...
avatar user

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.

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)