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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

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
Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors