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

Get Fabric Certified for FREE during AI Skills Fest. This week only. Secure your voucher now.

Reply
Anonymous
Not applicable

DAX to substitute text in a slicer when filtered by another Slicer

Hi,

I have 2 slicers in my dashboard coming from the same table. What I am trying to do is when I select the value on one slicer I want it to substitute text from the values in the other slicer in addition to filtering it. For example,

 
 
 
 
 
 
 
 
 
 

Slicer 1                                 Slicer 2

slicer.PNGslicer2.PNG

 

 

 

When I click on Franchise in Slicer 1 I want to replace the Franchise text in  Slicer2 with Blank

I tried to create a DAX query  but it's not working. Can any one please help?

 
Account List =
VAR _slicervalue = SELECTEDVALUE(SlicerValue[TierType])   
RETURN
IF(_slicervalue = "Franchise", SUBSTITUTE(VALUES(FIFA_LM_Products[ProductLevel-Product]),"-Franchise","")
)

 

 

 

 

2 REPLIES 2
Greg_Deckler
Community Champion
Community Champion

I can't think of a single way to do that. Other than maybe having a table of just your options in slicer 1 and then that related to a table that has your goal slicer 2 values. But tough to tell if that would meet your needs.


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...

@Anonymous you cannot replace the text in slicer 2 but you can filter the slicer 2 based on slicer 1. In this video whatever value is selected in slicer 1, it remove values from slicer 2 that contains selected slicer 1 value, and if nothing is selected in slicer 1 it shows all the values in slicer 2.

 

See if this logic can get you what you are looking for, left side is slice 1 and right hand side is slicer 2. 

 

Would appreciate Kudos 🙂 if my solution helped.

 

slicer filter.gif

 



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
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.