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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
abukapsoun
Post Patron
Post Patron

Adding average on visual

Hi,

 

I have the below visual, where the x axis is the date & Time. How can I add another line on the grapth showing the average per day for each slot?

 

abukapsoun_0-1668483680796.png

 

thank you

1 ACCEPTED SOLUTION
v-yangliu-msft
Community Support
Community Support

Hi  @abukapsoun ,

I created some data:

vyangliumsft_0-1668585489735.png

Here are the steps you can follow:

1. Create measure.

Avg =
AVERAGEX(FILTER(ALL('Table'),'Table'[Date]=MAX('Table'[Date])),[Amount])

2. Place it in Tooltips.

vyangliumsft_1-1668585489738.png

3. Result.

vyangliumsft_2-1668585489743.png

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

View solution in original post

3 REPLIES 3
v-yangliu-msft
Community Support
Community Support

Hi  @abukapsoun ,

I created some data:

vyangliumsft_0-1668585489735.png

Here are the steps you can follow:

1. Create measure.

Avg =
AVERAGEX(FILTER(ALL('Table'),'Table'[Date]=MAX('Table'[Date])),[Amount])

2. Place it in Tooltips.

vyangliumsft_1-1668585489738.png

3. Result.

vyangliumsft_2-1668585489743.png

 

Best Regards,

Liu Yang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

amitchandak
Super User
Super User

@abukapsoun , Check Y-Axis and X-Axis constant line under Analytics pane. You can use measure there

https://docs.microsoft.com/en-us/power-bi/desktop-analytics-pane

Thank you @amitchandak But that average line is giving the average of all the series, and not average per day. I want to have a point showing the average per day for each day 

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.