Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
So I work at an insurance company and we have an excel sheet of provider name and the different insurance company that they are contracted with.
And the number of columns of insurance companies is around 60. I used power query to upload and transform the data and create slicers for other attributes but I am looking for a way to a create a single slicer for all insurance companies columns and when I click on item it only shows the providers which their value is "Yes" instead of creating like 60 slicers. Can that be done ?
Thanks
Provider Name | Insurance Co A | Insurance Co B | Insurance Co C | Insurance Co D |
Provider 1 | Yes | No | No | No |
Provider 2 | No | Yes | Yes | Yes |
Provider 3 | No | No | Yes | Yes |
Provider 4 | Yes | Yes | Yes | No |
Solved! Go to Solution.
Hi @Sherbman
Within Power Query, highlight all columns except Provider Name and right click and choose unpiviot columns.
This will create two new columns
If you need to keep the Providers with No, duplicate the table and call it DIM Providers and then filter the Value column to Yes. In the provider Name column, right click and remove duplicates. Load both tables. Create a One To Many relationship on the Provider Name on both tables.
From the DIm Providers Column, add the Provider Name to a Slicer.
Thanks
Joe
Hi @Sherbman
Within Power Query, highlight all columns except Provider Name and right click and choose unpiviot columns.
This will create two new columns
If you need to keep the Providers with No, duplicate the table and call it DIM Providers and then filter the Value column to Yes. In the provider Name column, right click and remove duplicates. Load both tables. Create a One To Many relationship on the Provider Name on both tables.
From the DIm Providers Column, add the Provider Name to a Slicer.
Thanks
Joe
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
17 | |
9 | |
8 | |
7 | |
7 |