The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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