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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
renmello
Helper I
Helper I

Gantt Chart Matrix with tasks hiearchy

Hello, I am trying to create a gantt chart with using a matrix, following this topic:

https://community.powerbi.com/t5/Community-Blog/Think-inside-the-box-Custom-visuals-using-Standard-V...

I was able to replicate it, but my model has hiearchy between the tasks. 

The issue i am facing is that it works as long as i am not using the drillthrough in the matrix. Example: if i am showing the lowest level, only the selected level shows the gantt, the levels above keep returning the number one. The row of the higher levels should follow the lowest level.
 
I am using three tables for the tasks hiearchy and the order is: Modulos  (column modulos)-> Entregas_Programas (column programas) -> Tarefas_Programas (column NomeDaTarefa)

 

I am using the dax formula from the topic and following the instructions:

Usage User =
IF (
(
MAX ( 'calendar'[Date] ) < MAX ( Tarefas_programas[DatadeIníciodaTarefa])
|| MAX ( 'calendar'[Date] ) > MAX ( Tarefas_programas[DatadeTérminodaTarefa] )
),BLANK (),
1
)


There are below three prints from the challenge i am facing 🙂 I would be glad with any help!
The gantt with the Modulo workingThe gantt with the Modulo workingAs soon as i expand to the next level (entregas) it goes wrongAs soon as i expand to the next level (entregas) it goes wrongHere is with the lowest level  (Tarefas)Here is with the lowest level (Tarefas)


1 ACCEPTED SOLUTION
v-jingzhang
Community Support
Community Support

Hi @renmello 

You found a great blog! I learnt a lot from it!

 

For your problem, you can select Apply to Values and totals when formatting the background and font colors. Otherwise it selects Apply to Values only by default. 

041601.jpg

Hope this helps.

Community Support Team _ Jing
If this post helps, please Accept it as the solution to help other members find it.

View solution in original post

2 REPLIES 2
renmello
Helper I
Helper I

Hi! @v-jingzhang , thanks! It worked 🙂 

v-jingzhang
Community Support
Community Support

Hi @renmello 

You found a great blog! I learnt a lot from it!

 

For your problem, you can select Apply to Values and totals when formatting the background and font colors. Otherwise it selects Apply to Values only by default. 

041601.jpg

Hope this helps.

Community Support Team _ Jing
If this post helps, please Accept it as the solution to help other members find it.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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