cancel
Showing results for
Did you mean:
Regular Visitor

## How do I get the total line to be averaged and not affect the rows?

Hello,

I would like for the total line in my table to be the average of the whole column. When I change it to "average", it then averages each row value and then averages the total. How do I keep the values and have the total line be an average?

When averaging, this is what happens to the value: (As you can see, the aging days for 97115 is not 24, it's actually over 181 days.)

I want the true value of the aging days and for the total to be the average of all of the values. Is this possible?

Thanks! Please forgive me if this is a simple fix, I'm very new to Power BI and I'm still learning.

1 ACCEPTED SOLUTION
Community Champion

Hi, @lea_c19cud

Please check the below picture and the sample pbix file's link down below.

I tried to create a sample pbix file based on the explanation.

I might simplify too much, but I hope you can get the concept of how to describe a true value row by row, and describe the average on the very last row (Total line).

All measures are in the sample pbix file, and all steps are numbered in front of each measure.

Hi, My name is Jihwan Kim.

If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.

If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.

Best regards, JiHwan Kim

2 REPLIES 2
Community Champion

Hi, @lea_c19cud

Please check the below picture and the sample pbix file's link down below.

I tried to create a sample pbix file based on the explanation.

I might simplify too much, but I hope you can get the concept of how to describe a true value row by row, and describe the average on the very last row (Total line).

All measures are in the sample pbix file, and all steps are numbered in front of each measure.

Hi, My name is Jihwan Kim.

If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.

If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.

Best regards, JiHwan Kim

Super User IV

@lea_c19cud This looks like a measure totals problem. Very common. See my post about it here: https://community.powerbi.com/t5/DAX-Commands-and-Tips/Dealing-with-Measure-Totals/td-p/63376

Also, this Quick Measure, Measure Totals, The Final Word should get you what you need:
https://community.powerbi.com/t5/Quick-Measures-Gallery/Measure-Totals-The-Final-Word/m-p/547907

Also, this might help as well: MM3TR&R - https://community.powerbi.com/t5/Quick-Measures-Gallery/Matrix-Measure-Total-Triple-Threat-Rock-amp-...

---------------------------------------

##### I have a NEW book! DAX Cookbook from Packt
Over 120 DAX Recipes!

Proud to be a Super User!

Announcements

#### 2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

#### Microsoft named a Leader in The Forrester Wave

Microsoft received the highest score of any vendor in both the strategy and current offering categories.

#### Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Solution Authors
Top Kudoed Authors