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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
harib
Post Patron
Post Patron

Matrix Table with average

 

Hello Friends,

 

I have 4 fields in Table format (ERI Returns, ERI Shipped, YRR Returns, YRR Shipped). I want to know the average of (ERI Returns and ERI Shipped) and (YRR Returns and YRR Shipped). I did unpivot, but values are not comming the way which i have expected like below image. I need a output like below image. How to achive like below image. Is it possible to show in Matrix. If anyone can do Pls send me sample file . My project stuck here.

 

5.PNG

 

Sample Data

https://drive.google.com/file/d/1brZTsnfqx0mTryREYkTrb5PreaC5mO8a/view?usp=sharing

 

 

Thanks in Advance

2 REPLIES 2
v-yuta-msft
Community Support
Community Support

@harib ,

 

You can unpivot the [ERI_RETURN_QTY], [ERI_SHIP_QTY], [YRR_RETURN_QTY] and [YRR_SHIP_QTY]. After close&applied, you can create a measure using DAX like pattern below:

Average = CALCULATE(AVERAGE(Sheet1[Value]), ALLEXCEPT(Sheet1, Sheet1[Category]))

Capture.PNG 

 

Community Support Team _ Jimmy Tao

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@v-yuta-msft 

Hi

 

Why all year average values are same. I didn't understand the concept.A s shown in picture i need average between 1. ERI Returns, ERI Shipped 

2. YRR Returns, YRR Shipped

 

Could u please explain .

 

Thanks


@v-yuta-msft wrote:

@harib ,

 

You can unpivot the [ERI_RETURN_QTY], [ERI_SHIP_QTY], [YRR_RETURN_QTY] and [YRR_SHIP_QTY]. After close&applied, you can create a measure using DAX like pattern below:

Average = CALCULATE(AVERAGE(Sheet1[Value]), ALLEXCEPT(Sheet1, Sheet1[Category]))

Capture.PNG 

 

Community Support Team _ Jimmy Tao

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.


 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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