cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
lea_c19cud
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.)

lea_c19cud_0-1621014969902.png

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?

lea_c19cud_1-1621015060664.png

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
Jihwan_Kim
Community Champion
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.

 

Picture1.png

 

https://www.dropbox.com/s/qzlfey5guyonrfz/leac.pbix?dl=0 

 

 

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.

 

Linkedin: linkedin.com/in/jihwankim1975/

Twitter: twitter.com/Jihwan_JHKIM


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

Linkedin: https://www.linkedin.com/in/jihwankim1975/

Twitter: https://twitter.com/Jihwan_JHKIM

View solution in original post

2 REPLIES 2
Jihwan_Kim
Community Champion
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.

 

Picture1.png

 

https://www.dropbox.com/s/qzlfey5guyonrfz/leac.pbix?dl=0 

 

 

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.

 

Linkedin: linkedin.com/in/jihwankim1975/

Twitter: twitter.com/Jihwan_JHKIM


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

Linkedin: https://www.linkedin.com/in/jihwankim1975/

Twitter: https://twitter.com/Jihwan_JHKIM

View solution in original post

Greg_Deckler
Super User IV
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-...


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

@ me in replies or I'll lose your thread!!!

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




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
PBI_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

MBAS on Demand

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.

Get Ready for Power BI Dev Camp

Microsoft named a Leader in The Forrester Wave

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

R2 (Green) 768 x 460px.png

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.