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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
ly123
Frequent Visitor

How to show trend line on scatter plot that has continuous X-axis

 

Hi I am trying to insert a trend line on this scatter plot. Ideally, it would create a separate trend line for each currency e.g. a light blue dotted line for AUD, orange dotted line for EUR etc.

ly123_1-1689124553103.png

My x-axis 'Years to Maturity/Call Date' is in decimal format and 'Continuous' type. However when i press the analytics/magnifiying glass button, i don't see an option for Trend line. (below are screenshots of my Visualisations panel)

ly123_2-1689124635459.png

ly123_3-1689124662461.png

 

 

 

 

2 REPLIES 2
amitchandak
Super User
Super User

@ly123 , If the year of maturity is not a measure then you use line visual.

 

Or create a dynamic segment on the measure on x-axis and then use line visual

 

Dynamic Segmentation, Bucketing or Binning: https://youtu.be/CuczXPj0N-k

Dynamic segmentation -Measure to Dimension conversion: https://youtu.be/gzY40NWJpWQ

Customer Retention with Dynamic Segmentation, New/Lost/Retain Customer Count: https://youtu.be/EyL7KMw877Q

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

@amitchandak thanks for your reply, but how do i add a line visual on top of the existing scatter chart? I'm struggling to understand why it is not possible to insert a trend line in the chart? 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.