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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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