Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi all,
I am using Gantt chartpublished by Microsoft Corportation(https://appsource.microsoft.com/en-us/product/power-bi-visuals/WA104380765).
When the start date is null and duration is 0 it is picking up the present date as start date and duration as 1 day as attached in thescreenshot below. I don't want anything to e displayed in the timeline if the start date is null and duration is 0.
Any help is highly apprecited.
Solved! Go to Solution.
Hi @ksivaganesh99 ,
You could create a measure like the following DAX:
Measure =
IF (
SELECTEDVALUE ( 'Table'[duration] ) <> 0
&& SELECTEDVALUE ( 'Table'[StartDate] ) <> BLANK (),
1,
0
)
Then add it in the filter pane and set it to show the result whose measure = 1.
Hi @ksivaganesh99 ,
You could create a measure like the following DAX:
Measure =
IF (
SELECTEDVALUE ( 'Table'[duration] ) <> 0
&& SELECTEDVALUE ( 'Table'[StartDate] ) <> BLANK (),
1,
0
)
Then add it in the filter pane and set it to show the result whose measure = 1.
Hi ksivaganesh99 ,
I would add a filter or a slicer to exclude those tasks that have no Start Date.
Proud to be a Datanaut!
Private message me for consulting or training needs.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 38 | |
| 37 | |
| 28 | |
| 27 |
| User | Count |
|---|---|
| 124 | |
| 89 | |
| 73 | |
| 66 | |
| 65 |