Reply
andyor
Resolver I
Resolver I
Partially syndicated - Outbound

Average value possible on line chart Y axis?

Any way of getting in an average value of all the values in my line chart?

 

My current graph is like this

 

andyor_0-1676007178313.png

 

And I want to include a horizontal line average like this:

 

andyor_1-1676007227101.png

 

1 ACCEPTED SOLUTION
AntonioM
Solution Sage
Solution Sage

Syndicated - Outbound

Hi @andyor 

 

You can add an average line from the analytics pane in the visualisations tab

 

AntonioM_0-1676024953464.png

 

Which would then give you this

 

AntonioM_1-1676024986693.png

 

Is that what you're after?

View solution in original post

5 REPLIES 5
andyor
Resolver I
Resolver I

Syndicated - Outbound

That's what I was after Antonio thanks. I never knew about this area

AntonioM
Solution Sage
Solution Sage

Syndicated - Outbound

Hi @andyor 

 

You can add an average line from the analytics pane in the visualisations tab

 

AntonioM_0-1676024953464.png

 

Which would then give you this

 

AntonioM_1-1676024986693.png

 

Is that what you're after?

Syndicated - Outbound

Hello! I can say that it works for a simple graph but if you use small multiples (let's say that you have two values) then the average line will be calculated for total value of the two multiples: you will see the same average on both small multiples graphs... 

Syndicated - Outbound

So then you would need a measure to calculate an average.

 

For something simple like this:

 

AntonioM_0-1721893791528.png

 

and using 'type' as your small multiple

 

AntonioM_1-1721893807129.png

AntonioM_2-1721893815602.png

 

Average = CALCULATE(AVERAGE('Table'[Value]), ALL('Table'[Day]))

 

That gives you two different average lines (5 and 15 in my example)

 

AntonioM_3-1721893875169.png

 

 

Syndicated - Outbound

Yes, a measure is the solution! My issue is that I need to have an average of a complex measure, which basically is the cumulated value of a table field up to the date. Transactions are positive and negative and you see the cumulated value go up and down.. And I need the average of that cumulated value! I'm geting crazy to obtain it...

avatar user

Helpful resources

Announcements
March PBI video - carousel

Power BI Monthly Update - March 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)