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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

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

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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