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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Unable to change x-axis type from categorical to continous to draw a trendline

Hi there,

 

I am pretty new to Power Bi and struggling with this thing and wasn't able to find any solution to it. I have date values in X-axis from the custom-built date dimension table and Y-axis with numeric values (price). I have plotted a line chart and now I am trying to draw a trendline for the line chart and failed to do so, I know it requires continuous values but not able to figure out how to check that. Is there any way to verify if the values are continuous or not and then modify accordingly? 

 

 

image.png

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , You can do that for the numeric year of the date. Try it only with Numeric FY

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Thank you @amitchandak it worked!

amitchandak
Super User
Super User

@Anonymous , You can do that for the numeric year of the date. Try it only with Numeric FY

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

@amitchandak is there any way that to maintain the X-axis the same way and insert the trend line?

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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