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