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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Stacked bar Chart - Wrong Display

Hi Community, hope you are doing well. 

 

I am bulding a PowerBi project for work and I am facing the following issue when it comes to display. 

 

Currently I am getting all data from a excel sheet that look like this: 

Excelsheet.jpg

 

I want to create a stacked bar chart showing the orange columns (failure cases) sum for every column. When I try to build this in PowerBi I am getting the following: 

Madrian_0-1707733697513.png

Madrian_1-1707733890405.png

 

I would like to show in the stacked bar chart for every row what is the failure case (i.e. location) and how many cases we had (this means the sum of the column).  I do not know what to include in Y-axis to show this infromation. 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Solved. I just unpivot those columns.  Thank you very much. 

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Solved. I just unpivot those columns.  Thank you very much. 

amitchandak
Super User
Super User

@Anonymous , Add row ID or unique row column on Y-Axis , You need have some field on Y axis for that

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

I have created other table with Y axis values: 

Madrian_0-1707740487797.png

Now when I add Failure cases columns I am getting this: 

Madrian_1-1707740529811.pngMadrian_2-1707740567362.png

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.