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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Matty
Helper II
Helper II

Average of measure results at grouped level...

Hi All,

Bit of an odd ask, but I'm looking for some DAX help that takes what a measure (at lower grain) has calculated, and calculates an average over these results, at a grouped level.

Here's some data to illustrate:

Year WeekYear MonthPlanActualABS DifferenceWeekly Accuracy
202101202101286436-28.6%
20210220210112221016.7%
20210320210183830100.0%
20210420210155651081.8%
202105202102307141-36.7%
20210620210275245-542.9%
20210720210272135918.1%
20210820210282820100.0%
202109202103371362.7%
20211020210392207221.7%
2021112021034340393.0%
2021122021033429585.3%
202113202103328553-65.6%

Where 'Weekly Accuracy' is: =1-(ABS Difference/Plan)

Desired result:

Year MonthMonthly Accuracy (Average)
20210142.48%
202102-115.37%
20210327.43%

Where 'Monthly Accuracy (Average)' is:  Average of the weekly accuracy results grouped at Year Month level.

Hope this makes sense and someone is able to help.

Cheers,

Matty

1 ACCEPTED SOLUTION
Matty
Helper II
Helper II

Hi All,

 

Don't worry about this one - now sorted using SUMMARIZE inside of AVERAGEX.

 

Cheers,

 

Matty

View solution in original post

1 REPLY 1
Matty
Helper II
Helper II

Hi All,

 

Don't worry about this one - now sorted using SUMMARIZE inside of AVERAGEX.

 

Cheers,

 

Matty

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! Prices go up Feb. 11th.

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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