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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Bibianca
New Contributor

How to create a Gantt-like visual in Power BI with hierarchical tasks, using only native features

Hi everyone,

Iโ€™m trying to build a Gantt-like visualization in Power BI using only native features and DAX, since the custom visuals that provide these functionalities are mostly paid. I have two tables:

FClick: This is my main tasks table, containing task details such as:Important: because each task can have multiple tags, there can be multiple rows for the same task id in this table โ€” one per tag.

      • id (task identifier)
      • name (task name)
      • date_created (task start date)
      • due_date (task end date)
      • status_name (task status: e.g., Completed, In Progress, Pending, etc.)
      • tags (each task can have multiple tags)

         

 DimTarefa: This is a calculated (derived) table I created based on FClick, which organizes tasks into a hierarchical structure with columns such as:

  • ID (task identifier)
  • ParentID (ID of the parent task)
  • Level (hierarchy level, e.g., 1 for top level, higher numbers for subtasks)
  • FullPath (concatenated path of task IDs from root to current task)
  • Tarefa_N1Tarefa_N2, ..., Tarefa_N4 (task names at each hierarchy level.

It would be great if the bars could be colored based on task status and intermediate empty nodes were not displayed, these are two main issues Iโ€™ve encountered. Iโ€™ve searched for solutions without success. Any advice on how to move forward would be appreciated.

1 REPLY 1
qqqqqwwwweeerrr
Contributor III

Hi @Bibianca 

 

Here is one reference that can help you with little bit of work around if not exact solution you will get a path to think over, Check this video and jump to 51.00Min  from there a workaorund to create gannt chart using stack chart: https://www.youtube.com/watch?v=_Szw_oNjI9M It will help you to design and frame your approach. 

 

Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Check for more intersing solution here: www.youtube.com/@Howtosolveprobem

Regards

Helpful resources

Announcements
Users online (3,584)