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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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