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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Randomsomeone
New Member

Finding year to date total of average values

Hi everyone, I am new to Power BI and need help with finding the average of a set of average values. (I know it sounds funny but hear me out) 

So has you can see on the screenshot I have a matrix that shows the average deal size across months. While that works out fine I am unable to generate a column that shows the average of all these average values. Does anyone know how to solve this? How can I simply have a card on my chart (see screesnhot) that basically is an average of all the average values? I have been stuck on this since past 24 hours so any help would be great! 

To post 2.pngto post.png


1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Randomsomeone ,

 

You'll need to use aggregation and iteration functions to achieve this effect. Refer to below formula to create measure:

AvgDealSize = AVERAGE('YourTable'[DealSize])
AvgOfAvgDealSize =
IF (
    ISFILTERED ( YourTable[Month] ),
    [AvgDealSize],
    AVERAGEX ( VALUES ( 'YourTable'[Month] ), [AvgDealSize] )
)

vkongfanfmsft_0-1725264139792.png

 

Best Regards,
Adamk Kong

 

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
Anonymous
Not applicable

Hi @Randomsomeone ,

 

You'll need to use aggregation and iteration functions to achieve this effect. Refer to below formula to create measure:

AvgDealSize = AVERAGE('YourTable'[DealSize])
AvgOfAvgDealSize =
IF (
    ISFILTERED ( YourTable[Month] ),
    [AvgDealSize],
    AVERAGEX ( VALUES ( 'YourTable'[Month] ), [AvgDealSize] )
)

vkongfanfmsft_0-1725264139792.png

 

Best Regards,
Adamk Kong

 

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

@Randomsomeone , You can avg and overall measures like

 

YTD montly Avg = CALCULATE(Averagex(Values('Date'[Month Year]), CALCULATE(SUM(Sales[Sales Amount])),DATESYTD('Table'[Date])))

 

Overall YTD montly Avg =CALCULATE( [YTD montly Avg], allselected())

 

if needed you can replace month year with date or week or qtr based on the level on which you need Avg

 

Avg of Sum : https://youtu.be/cN8AO3_vmlY?t=22980

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

Thanks for your response, I got an error in DAX for YTD montly Avg saying that "Too many arguments were passed for AverageX function"

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors