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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Divhler
New Member

Creating a stacked column chart of several columns from the table

Hello.

I would like to create a chart like the picture below.

Divhler_0-1704875722213.png

My table looks as follows

 

tabela.PNG

 

I've been trying for hours to figure out how I can group the columns and create the chart I would like, but unfortunately, I can't figure it out on my own. Could someone please help me? Thanks in advance for your help

 

 

 

1 ACCEPTED SOLUTION
Kishore_KVN
Solution Sage
Solution Sage

Hello @Divhler ,

Firstly select the columns with values and UNPIVOT it in Power Query saying it as attributes and values. 

Then rename columns accordingly. 

Create a custom column for 41 where it includes 41A and 41B.

Then in Power BI Desktop create this visual and add attributes in the legend. 

 

If this post helps, then please consider accepting it as the solution to help other members find it more quickly. Thank You!!

View solution in original post

2 REPLIES 2
Divhler
New Member

@Kishore_KVN 

Thank you for your help! Your solution gave me what I needed!

Kishore_KVN
Solution Sage
Solution Sage

Hello @Divhler ,

Firstly select the columns with values and UNPIVOT it in Power Query saying it as attributes and values. 

Then rename columns accordingly. 

Create a custom column for 41 where it includes 41A and 41B.

Then in Power BI Desktop create this visual and add attributes in the legend. 

 

If this post helps, then please consider accepting it as the solution to help other members find it more quickly. Thank You!!

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

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