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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
ConnieMaldonado
Responsive Resident
Responsive Resident

Stacked Bar Chart with Multiple Activities on One Row

I need to create a bar chart that shows time intervals for activities on a bar chart.  I tried a couple of Gantt chart visuals, but I can't get an hourly timescale, and the visual sums the duration by category rather than showing the each activity.  I created the images below in Excel.  I tried a few things using a stacked bar chart in Power BI but couldn't get it to work.  Any ideas would be appreciated!  Thanks

 

Gantt Image.PNG

 

Gantt Data Image.PNG

 

 

4 REPLIES 4
Anonymous
Not applicable

There are several other ways to combine the clustered and stacked column charts together (such as adding the legend entries, arranging the target range with blank rows and others).

Ok - that sounds good.  In terms of adding the legend entries, how do I get the start times to appear on the x-axis.  If there's a video or something I can watch, let me know!  Once I'm on the right path, I'm pretty good at figuring it out.  I can also manipulate the data however needed.  Thank you.

v-frfei-msft
Community Support
Community Support

Hi @ConnieMaldonado ,

 

There is no Hour type for current version of Gantt visual. Please vote this idea here to make it possible in future version.

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

Yep, thanks.  Gantt charts are out, as none of them have an hourly time scale.  Also, none allow you to show multiple activities on one row - all the activities are shown separately.  In Excel, I had to use a stacked bar chart with 3 series - series 1: start time (with no fill so it wouldn't show), series 2: duration, series 3: 3 points representing the categories on the secondary axis (this allowed the categories to display on vertical axis).    You're basically adding both series (one that shows the entire line with no fill) and then overlaying the duration for the activity (with a color).  See image (which is from Excel).  It helps me to figure out how to get the chart to work in Excel first.  🙂  I believe I need to look for an enhanced bar chart visual. 

 

From Excel:

Excel image.PNG

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors