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
Super User
Super User

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
Super User
Super User

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
Super User

@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!!!
Check out my External Tool for Power BI Desktop!
Microsoft Hates Greg's Quick Measures
Check out my latest book!

Helpful resources

Announcements
PBI_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!