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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

Reply
Muzda
Frequent Visitor

constant average line in a line chart

Hi,

I have a little problem. How to put constant average line for the last 3 months, 6 months and a year (separately) in a line chart that shows no of users((y-axis) ) per day(x-axis) and month as a legend. I have already calculated the measure of those averages but when I try to drag them in a line chart, it doesn't work.They sit in Tooltips instead of Value, even if I force them to be in Values. Untill I removed the month in a legend fields, which I don't want to do. 

Any help to solve this?

I want those constant lines to be shown as in this figure 👇

Muzda_2-1633676176986.png

 

Thanks

5 REPLIES 5
Anonymous
Not applicable

Hi,

 

Try to add Average Line with measure that you created. Hope it will solve this,

 

Regards,

Nidhya

Thanks for the suggestion. I tried but it didnt work. It work only when I put constant value.

amitchandak
Super User
Super User

@Muzda , In the new version analytics pane, the constant line has the option to use a measure using fx.

 

See if that can help

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Hi, 

Thank you so much for the answer. I have tried to put measure but it does not seem to work . If I put constant number it takes the number but when I use fx it doesn't.

So the problem still persist.

Hi,

Can you share the download link of your PBI file.  Please show the problem there clearly.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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

October NL Carousel

Fabric Community Update - October 2024

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