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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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