Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
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", [?],
)
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
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?
| User | Count |
|---|---|
| 8 | |
| 5 | |
| 3 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 11 | |
| 9 | |
| 8 | |
| 8 | |
| 6 |