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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
StuMills
New Member

Group Column Headings

Hi

 

I have a data set that contains multiple columns each with a specific role type, for each line i then have a different supplier and the rates that they offer for that role type. 

 PMAdminManagerTechnician
Supplier 1£50.00 £50£100.00
Supplier 2£65.00£100.00  
Supplier 3£70.00£300.00 £300.00

 

What i want to do is group the Roles into one group, so that i can use them as a filter in a chart. For example, the user can select just the Admin role and the visual shows the rates for that fo whichever supplier has provided them (in this example it would just show Suppliers 2 and 3). 

 

Hope that makes sense!

 

Thanks, Stu

1 ACCEPTED SOLUTION
jppv20
Solution Sage
Solution Sage

Hi @StuMills ,

 

The way to do this is to go to PowerQuery. Select the first 2 columns (Supplier and PM) and use Unpivot other columns. This will give you the result below:

jppv20_0-1633089729436.png

 

Then you can use it as a filter:

jppv20_0-1633090003505.png

 

 

Jori

 

If I answered your question, please mark it as a solution to help other members find it more quickly.

View solution in original post

1 REPLY 1
jppv20
Solution Sage
Solution Sage

Hi @StuMills ,

 

The way to do this is to go to PowerQuery. Select the first 2 columns (Supplier and PM) and use Unpivot other columns. This will give you the result below:

jppv20_0-1633089729436.png

 

Then you can use it as a filter:

jppv20_0-1633090003505.png

 

 

Jori

 

If I answered your question, please mark it as a solution to help other members find it more quickly.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.