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
Bibianca
New Member

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
Super User
Super User

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors