This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowThe Fabric community is now in read-only for platform upgrade. Learn more
Hello Community,
I have a dataset below and I'm using a Gantt visual to display rows A, B, C, D, and E as my Y-axis in the task field of the Gantt visual. The dates would be compared to the current date(30, 60, 90, etc..) Any ideas? Thank you
Solved! Go to Solution.
Hi,
Thanks for the reply. I think this should work.
Hi @mason23 ,
I created a sample pbix file(see attachment) for you, please check whether that is what you want.
1. Upivot all columns as below screenshot
2. Create a calculated column as below to get the day diff between the date with current date
Duration = DATEDIFF( 'Table'[Date], TODAY(),DAY)
3. Create a gantt visual with below setting
If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.
How to upload PBI in Community
Best Regards
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |