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

Production Line Breakdown Stacked Bar Chart for 24 Hours

Hi,

I need help for creating bar chart for production line breakdown. I have a data and I'm using only three columns. These columns are: BreakdownStart, BreakdownEnd and Duration. There are breakdowns for 24 hours for every machine and workcenter. For example a workcenter and also a machine can stop more than one in 24 hours in different times. In other time ranges machine works. Duration column shows the total duration for that time range for a breakdown. At this point, I need to create a stacked bar chart to show breakdowns and workin times. Bu it must be on the same bar chart as horizantal and on X-axis I need to put 24 hours values for a day. (for example: 00:00, 01:00, 13:00). Breakdowns must be red and working times must be green.

I've researched many forums and here, but I couldn't find any exact solution. Of course I've tried many techniques on Power bi but I couldn't create.

Thanks for your help.

Kind regards.

4 REPLIES 4
Anonymous
Not applicable

breakdowns and runnings.png

Hi @Anonymous 

 

Do you have some sample data or preferably a sample pbix file.

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.
Anonymous
Not applicable

Hi @v-diye-msft 

 

You can find attached a sample data. But the importan point is there is only breakdowns and duration that are dependent on breakdowns are in data. But I need both breakdowns and working times. Thanks

duration.png

Hi @Anonymous 

 

I don't think there's a bar chart can meet your requirement, I'd like to suggest you using a custom visual "Gantt" for a try. but It won't be exactly same as your capture like. 

 

Please also kindly raise an idea to the portal to help bring the ideal feature coming soon:

https://ideas.powerbi.com/forums/265200-power-bi-ideas

 

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.

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.