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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Prabha45
Helper III
Helper III

Bar chart or Gantt chart

 I want to show(Pic 1) sub projects of each project in a single bar over time period like the below image. I tried Gantt chart which shows sub projects over time period, but when I collapse it shows a single project bar without any sub projects on it. So, I moved to Bar chart, I'm able to show (Pic 2)but not able to add dates into x axis. I have the below data. A1 subproject starts only after A2 end date and A3 starts only after A2 end date. Same with project B. Project  on Y axis nd sub projects on x axis and not able to add period.

Thanks in advance.Project.jpgProjects demo.jpg

ProjectSub ProjectStart dateEnd date
Project AA11/1/20221/3/2022
Project AA23/3/20221/4/2022
Project AA32/4/202230/6/2022
Project BB115/3/20225/8/2022
Project BB210/8/202229/10/2022
1 ACCEPTED SOLUTION

Hi @Prabha45 
I hadn't seen something like that...
Maybe the option of date duration can help...
https://www.youtube.com/watch?v=cdUg8LfarCg&t=132s

or 
this custom chart  but it is for pay

Ritaf1983_0-1707560672102.png

this is it's tutorial:
https://www.youtube.com/watch?v=fzfbvSEk1Ig

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

6 REPLIES 6
Prabha45
Helper III
Helper III

Thank you very much. So, from what I understand Gantt chart can't show all sub projects on Project line when collapsed and Bar charts x axis can't be dates. Is there any way to create like the below image. I don't need individual lines sub projects, just projects having sub projects in it over a period.Project.jpg

Hi @Prabha45 
I hadn't seen something like that...
Maybe the option of date duration can help...
https://www.youtube.com/watch?v=cdUg8LfarCg&t=132s

or 
this custom chart  but it is for pay

Ritaf1983_0-1707560672102.png

this is it's tutorial:
https://www.youtube.com/watch?v=fzfbvSEk1Ig

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Thank you very much @Ritaf1983 , Paid visual works which shows multiple items for a project in a single line. Hope you have a great day.

Ritaf1983
Super User
Super User

Hi @Prabha45 
I didn't meet a gantts that work with hierarchies horizontally.
But there are a few links for tutorials that can work vertically ( like matrix/pivot tables)
https://www.youtube.com/watch?v=9rBU7Xp1xYA

https://www.youtube.com/watch?v=ARCQreEKhk4

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Thanks @Ritaf1983 Gantt chart works partially. but when I collapse sub projects, Projects line shows a single colour( first sub project). I need to show all sub projects in Project line when collapsed. So, I choose Bar chart, but here when I drop date on x-axis it automatically treating as count.

I saw your post about an axis and responded, i am afraid that there is no option to have a Gantt exactly as your pattern.

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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