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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
Mega79
Helper I
Helper I

Sum of Average in Matrix visualization

Hi all, I'm trying to have the last line as a total of all average data shown in table. Basically all data shown by day is an average per day of a whole year. But when I use the Matrix visualization I cannot see the total but only the average of all SKUs... when I actually want the total of all SKUs.

 

Can anyone help?

Thanks.

 

Table.JPGTable 2.JPG

1 ACCEPTED SOLUTION
Vvelarde
Community Champion
Community Champion

@Mega79

 

You are missing a ) after Values(Sheet1[SKU]   

 

Regards

 




Lima - Peru

View solution in original post

4 REPLIES 4
Vvelarde
Community Champion
Community Champion

@Mega79

 

Hi, you need to create a measure:

 

AverageVolumen = AVERAGE(Table1[Volumen])

 

And another :

 

MeasuretoUse =
IF (
    HASONEVALUE ( Table1[SKU] );
    [AverageVolumen];
    SUMX ( VALUES ( Table1[SKU] ); [AverageVolumen] )
)

 

Img.png

Regards

 

Victor




Lima - Peru

Thanks for your response velarde. But it's giving me an error in the formula (see below)

 

Capture.JPG

Vvelarde
Community Champion
Community Champion

@Mega79

 

You are missing a ) after Values(Sheet1[SKU]   

 

Regards

 




Lima - Peru

Thanks a lot for your help!!

It worked perfectly.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Kudoed Authors