Forum Discussion
Limee
1 year agoFrequent Visitor
Power BI Gantt text conditional formatting
Hi everyone, I have a custom visualization (Gantt 3.0.12.0) from Microsoft in my report. I would need to use conditional formatting for task's texts (when there is some subtask which is late (lege...
Akash_Varuna
Super User
1 year agoHi Limee Could you try this workaround
Create a DAX measure or column to flag tasks ("Late" or "On Time").
TaskStatus = IF(COUNTROWS(FILTER(YourTable, YourTable[Status] = "Late")) > 0, "Late", "On Time")Add this calculated field to your Gantt chart as a data point or legend field to visually distinguish tasks based on status.
If this post helped please do give a kudos and accept this as a solution
Thanks In Advance
Limee
1 year agoFrequent Visitor
Sorry, I didn't understand. I mean I have already Late and On Time in legend, but I am asking if there is any chance to get conditional formatting for task name (Task / Parent in Gantt)