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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Jhankudi
Regular Visitor

Slicer for multiple columns

Looking for a way to use power BI slicer on multiple columns. there are thousand rows and 150 columns in a spreadsheet and workaround of 'undo pivot' jumbles up all the data. Please see dummy data picture. There is much more complicated real data in actual spreadsheet. There are columns for Ideas, Project, Portfolio, Initiatives, Category (Idea, Project or Portfolio), Leaders, Project Manager, Milestones, and at the very end there are tags on what kind of ideas are captured (there can be more than one tag for each idea type - for example it can be an opportunity, Niche Market, Technology and Cost Savings). I want to create slicer for idea type/tags which are currently listed as multiple columns. Power BI Slicer allows only one column fields. 

IMG_7210.jpg

2 REPLIES 2
v-juanli-msft
Community Support
Community Support

Hi @Jhankudi

In your scenario, to achieve your requirement. You can refer to following steps:

 

1. Unpivot your source table columns. To make them as fields in Slicer.

Go to Edit Queries -> Choose your source table and select columns of tags-> Go to Transform option, find Unpivot Columns and choose Unpivot selected columns:

6.png

 

2.Close & Apply. Then you can simply create Slicers:

8.png

 

Best Regards

Maggie

 

 

Hi Maggie,

 

Thank you so much for your response. This helped me create slicer but now the count of my Initiatives and Projects is totally off because this created duplicate rows in the data table.

 

Any idea how to solve that issue? Somehow unpivoting columns deleted/removed the projects & initiatives which had no tags aligned to them.

 

Thank you for your help.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.