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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Julian_xx
Regular Visitor

Scatter Plot - how to add an average line for x and y values?

Hello all,

I am currently working with a scatter plot (see picture). I am wondering if I could add a line on the x and y axis indicating the average values of the series? I would be pleased if someone could help out. 

Example.PNG

 

Best,

Julian 

1 ACCEPTED SOLUTION
AllisonKennedy
Super User
Super User

You should be able to add average lines using the analytics pane: https://docs.microsoft.com/en-us/power-bi/transform-model/desktop-analytics-pane

Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

View solution in original post

2 REPLIES 2
AllisonKennedy
Super User
Super User

You should be able to add average lines using the analytics pane: https://docs.microsoft.com/en-us/power-bi/transform-model/desktop-analytics-pane

Please @mention me in your reply if you want a response.

Copying DAX from this post? Click here for a hack to quickly replace it with your own table names

Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C

I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com

 @Julian_xx - I agree with @AllisonKennedy , however, whether the Average line is available is dependent on the configuration of the scatter plot. I believe you have to have something in Details or Legend in order to be able to Average.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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