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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request 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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.

Top Solution Authors