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

Get Fabric certified for FREE! Don't miss your chance! Learn more

Reply
HaydnTaylor
Regular Visitor

Using column headers as slicers

Hello,

 

I am looking to produce a report which compares the amount of project types an organisation has delivered & also compares how well they have scored on our assessment, whilst being able to filter by items such as discipline.

 

Please see example table of how our data is formatted.

 

Company NameDisciplineScoreResidentialCommercialEducation
Company 1Architect31035
Company 2Structural45123
Company 3MEP21256

 

All the data is currently producing the required output, bar the project types (3 right-hand columns)

 

How can I create a slicer which uses column names as headings for the project type columns (Residential, Commercial, Education)? I have been looking online for a week and can't seem to resolve this, I assume I'm not the first person to face this issue.

 

Thanks in advance.

1 REPLY 1
HotChilli
Community Champion
Community Champion

You can Unpivot the 3 columns in Power Query.  After that, create a Dimension table consisting of the unique values (You can just create this with 'Enter Data' ) and link that 1:m in relationships.

---

Now, this is a well-known approach to this type of problem but you need to be aware that you can get yourself in trouble if you had certain measures which worked before , for example, a COUNTROWS measure before would show 3 but now you have 9.  This is not a problem you just have to be aware of how the data is structured when writing measures.

Helpful resources

Announcements
Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

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.