Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
mason23
Helper I
Helper 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 date(30, 60, 90, etc..) Any ideas? Thank you

 

mason23_0-1650920823575.png

 

1 ACCEPTED SOLUTION
mason23
Helper I
Helper I

Hi, 

Thanks for the reply. I think this should work. 

View solution in original post

2 REPLIES 2
mason23
Helper I
Helper I

Hi, 

Thanks for the reply. I think this should work. 

Anonymous
Not 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

yingyinr_1-1651123078064.png

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

yingyinr_0-1651123028922.png

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

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.