Forum Discussion
mason23
4 years agoHelper I
converting rows to Y axis
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 ...
- 4 years ago
Hi,
Thanks for the reply. I think this should work.
Anonymous
4 years agoNot applicable
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