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
Yau0101
Frequent Visitor

Calculate Average

Dear All,

 

Please advise how do i calculate the sum of average price for product G20 below. 

 

The Average price should be $112.4 

Yau0101_0-1630390797136.png

 

Thanks

 

 

2 REPLIES 2
Jos_Woolley
Solution Sage
Solution Sage

Hi,

MyMeasure =
CALCULATE ( AVERAGE ( 'Table'[price] ), 'Table'[Product] = "G20" )

Regards

SanketBhagwat
Solution Sage
Solution Sage

Hi @Yau0101 .

Use measure as

Sum Average Price=CALCULATE(SUM('Table'[Average Price($]),'Table'[Product]="G20")

OR 
Sum Average Price=CALCULATE(SUM('Table'[Average Price($]),FILTER('Table','Table'[Product]="G20")

 

If this post helps, then please mark it as 'Accept as Solution' so that other users could find it easily.

 

Regards,

Sanket Bhagwat

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.

Top Solution Authors