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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
oliverblane
Helper III
Helper III

Use Multiple Binary Columns as Separate Bars in Bar Chart

Hi. I have a table like the following:

oliverblane_0-1651049343572.png

The table shows which products customers have ordered (ID is the customer ID).

 

I have a bar chart like the following:

oliverblane_1-1651049431479.png

 

Is there any way to have the bars separated and with their labels underneath them, instead of as a cluster of bars?

 

Sample File: sample_file.pbix

 

Thanks for any help on this!

1 ACCEPTED SOLUTION
AntonioM
Solution Sage
Solution Sage

You could unpivot those product columns in Power Query

AntonioM_0-1651050776134.png

That will give you a table like this

AntonioM_1-1651050795303.png

And then you can use the 'attribute' column as the axis in the bar chart

AntonioM_2-1651050816121.png

 

View solution in original post

2 REPLIES 2
AntonioM
Solution Sage
Solution Sage

You could unpivot those product columns in Power Query

AntonioM_0-1651050776134.png

That will give you a table like this

AntonioM_1-1651050795303.png

And then you can use the 'attribute' column as the axis in the bar chart

AntonioM_2-1651050816121.png

 

Very helpful, thank you @AntonioM!

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 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.

Top Solution Authors
Top Kudoed Authors