This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
Hi everyone,
Is it possible to create one slicer including several column headers (without unpivoting those columns)?
For example, if there are four headers, and you want to easily switch between those columns, how can that be done?
| NPS | CES | Joy | General |
| 8 | 6.5 | 7.8 | 6 |
| 7 | 6.8 | 8 | 7 |
| 7.7 | 7 | 9 | 7 |
| 6 | 6 | 8.5 | 6.2 |
| 7 | 9 | 6 | 8 |
Hi @Anonymous ,
You may create a new table via button "Enter data", which contains the column names NPS, CES, Joy and General, assuming this new column is named [Column header]. Then create a calculated column to as the source of slicer visual.
SelectedColumn=
Var d= SELECTEDVALUE(Table[Column header])
Return
SWITCH(d, "NPS", 'Data'[NPS], "CES", 'Data'[CES], "Joy", 'Data'[Joy], "General", 'Data'[General] )
Best Regards,
Amy
Community Support Team _ Amy
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@v-xicai I am trying to do this in my file and its not working. Do you happen to have a sample file with this example?
@Anonymous , refer if this can help
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 36 | |
| 33 | |
| 31 | |
| 21 | |
| 16 |
| User | Count |
|---|---|
| 66 | |
| 55 | |
| 31 | |
| 24 | |
| 23 |