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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
Super User
Super User

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
Super User
Super User

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
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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