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

How to aggregate a measure?

I have created a YOY Value Growth measure as seen in the table visual below, but would like to create another measure that averages YOY Value Growth - currently have no idea as to how to do this, as can be seen by the blank results in the average YOY column...

 

timzedel_0-1673007734188.png

 

1 ACCEPTED SOLUTION
ppm1
Solution Sage
Solution Sage

You can try a measure like this to get the avg YOY. The first one should work in a table visual with just your locality column.  The second should work in your existing visual. Update with your actual table name(s).

Avg YOY =
AVERAGEX (
    SUMMARIZE ( Table, Table[Locality], Table[Year] ),
    [YOY Value Growth]
)


Avg YOY AllSel =
CALCULATE (
    AVERAGEX (
        SUMMARIZE ( Table, Table[Locality], Table[Year] ),
        [YOY Value Growth]
    ),
    ALLSELECTED ( Table[Year] )
)

Pat

 

Microsoft Employee

View solution in original post

1 REPLY 1
ppm1
Solution Sage
Solution Sage

You can try a measure like this to get the avg YOY. The first one should work in a table visual with just your locality column.  The second should work in your existing visual. Update with your actual table name(s).

Avg YOY =
AVERAGEX (
    SUMMARIZE ( Table, Table[Locality], Table[Year] ),
    [YOY Value Growth]
)


Avg YOY AllSel =
CALCULATE (
    AVERAGEX (
        SUMMARIZE ( Table, Table[Locality], Table[Year] ),
        [YOY Value Growth]
    ),
    ALLSELECTED ( Table[Year] )
)

Pat

 

Microsoft Employee

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
Top Kudoed Authors