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
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
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.