Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin 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.
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.
Hi @Anonymous
Do you have some sample data or preferably a sample pbix file.
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
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
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
79 | |
73 | |
58 | |
36 | |
32 |
User | Count |
---|---|
90 | |
62 | |
61 | |
49 | |
45 |