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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
SM370
New Member

Gannt Chart with single line for all project phases

Hi everyone,

I am a new user to Power Bi and I am hoping the community may be able to help me with my problem. 

In Power Bi I want to create a dashboard that will contain a gantt view of my projects refecltive of all the different stages/phases within the lifecycle in one line across the time horizon. 

 

My data table has the follwoing columns;

 

TaskIDTaskNameParentTaskTaskStartTaskEndRAGAssignee
1Project 1 01-Aug-2327-May-24Greenjoe Bloggs
2Project 2 01-Aug-2327-May-24Greenjoe Bloggs
9Project Charter131-Aug-2326-Jun-24Greenjoe Bloggs
10Scope and Analysis130-Sep-2326-Jul-24Greenjoe Bloggs
11Requirements130-Oct-2325-Aug-24Greenjoe Bloggs
12Development129-Nov-2324-Sep-24Greenjoe Bloggs
13Testing129-Dec-2324-Oct-24Greenjoe Bloggs
14Implementation128-Jan-2423-Nov-24Greenjoe Bloggs
15Project Charter231-Aug-2326-Jun-24Greenjoe Bloggs
16Scope and Analysis230-Sep-2326-Jul-24Greenjoe Bloggs
17Requirements230-Oct-2325-Aug-24Greenjoe Bloggs
18Development229-Nov-2324-Sep-24Greenjoe Bloggs
19Testing229-Dec-2324-Oct-24Greenjoe Bloggs

 

I am using the PowerGannt chart visualisation which now looks like this

SM370_0-1700051406328.png

 

I would like there tow items on the left (Y axsis) Project 1 and Project 2 and all the different phases reflected on the x axis. 

 

How should I go about this? 

 

I have tried to incoorpate a heirachy between task id and parent task but this didnt change the end result. 

Thank you in advance for your assistance on this. 

3 REPLIES 3
AshokKunwar
Helper II
Helper II

Hi @SM370 

​To get all your project phases to appear on a single line horizontally, you need to utilize the Parent field in your Gantt visual to create a hierarchy.

Steps to fix:

  1. Field Mapping: In your Visual Fields pane, ensure ParentTask is placed in the Parent bucket and TaskName is in the Task Name/Item bucket.
  2. Format Settings: Go to the Format Pane > Chart Settings and look for a toggle called "Roll up tasks to parent" or "Display sub-tasks in parent row."
  3. Legend Hack: If you want different colors for each phase (e.g., Testing = Blue, Requirements = Green) on that same line, drag TaskName into the Legend bucket as well.

​This will collapse the phases into the Project 1 and Project 2 rows while keeping the timeline distribution intact.

If this resolves your visual layout, please mark this as an "Accepted Solution"!

Best regards,

Vishwanath 

AnkitKukreja
Super User
Super User

Hi! @SM370 

 

As @vaibhavmahajan mentioned this won't work because of limitation of that visual you can use Deneb or
xViz Advanced Gantt for your scenario.

 

 

 

 

For Power BI trainings or support dm or reach out to me on LinkedIn.
If my response has successfully addressed your question or concern, I kindly request that you mark this post as resolved. Additionally, if you found my assistance helpful, a thumbs-up would be greatly appreciated.

Thanks,
Ankit Kukreja
www.linkedin.com/in/ankit-kukreja1904
vaibhavmahajan
Advocate I
Advocate I

Hi @SM370 

If the client allows certified visuals → Deneb (best option)

Use a custom visual instead of Gantt
Best options:

Deneb (Free) 

 

Deneb gives you:
One row per project

Multiple colored segments (phases)

Exact control over layout

 

This is the only way to truly draw:

Project 1 Phase1 → Phase2 → Phase3 → Phase4 
Project 2 → Phase1 → Phase2 → Phase3 → Phase4 

 

If this answer helped, please click Kudos and Accept as Solution.

 

Best regards,

Vaibhav Mahajan

LinkedIn: https://www.linkedin.com/in/vaibhavnmahajan

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.