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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
JWick1969
Helper IV
Helper IV

Slicer values to be use in multiple column

Hi everyone,

 

I'm working to create slicer for multiple columns. my Slicer value are A,B & C. if i choose A in slicer, i wanted to display the related records to table and  stacked bar chart so on.  Instead of creating different  chart and table for inputA, InputB and InputC  I would only use one for both visualization. the values would be change based on the slicer.

I'm trying to use the code below and could not get the column name.

 

Thank you in advance.

 

Measure

Slicer DEFECT =
VAR selection = SELECTEDVALUE(SlicerTable[input])
return SWITCH(TRUE(),
selection = "A",[?],
selection = "B", [?],
selection = "C", [?],

)

 

Untitled.jpg

2 REPLIES 2
nvprasad
Solution Sage
Solution Sage

Hi @JWick1969 ,

 

You can use bookmarks instead of using slicer in this case. by changing column for each bookmark you can arrive this easily.

 

Appreciate a Kudos! 🙂
If this helps and resolves the issue, please mark it as a Solution! 🙂

Regards,
N V Durga Prasad

Did I answer your question? Mark my post as a solution! Appreciate your Kudos.
Follow me on LinkedIn.

Thank you for the suggestion. do I need to create 5 separate pages to determine those particular input. So, i can use slicer or button to dsplay the page. This is what you mean? How can i change the column?

Helpful resources

Announcements
October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.