• Skip to main content
  • Skip to header right navigation
  • Skip to site footer

My Online Training Hub

Learn Dashboards, Excel, Power BI, Power Query, Power Pivot

  • Courses
  • Pricing
    • Free Courses
    • Power BI Course
    • Excel Power Query Course
    • Power Pivot and DAX Course
    • Excel Dashboard Course
    • Excel PivotTable Course – Quick Start
    • Advanced Excel Formulas Course
    • Excel Expert Advanced Excel Training
    • Excel Tables Course
    • Excel, Word, Outlook
    • Financial Modelling Course
    • Excel PivotTable Course
    • Excel for Customer Service Professionals
    • Excel for Operations Management Course
    • Excel for Decision Making Under Uncertainty Course
    • Excel for Finance Course
    • Excel Analysis ToolPak Course
    • Multi-User Pricing
  • Resources
    • Free Downloads
    • Excel Functions Explained
    • Excel Formulas
    • Excel Add-ins
    • IF Function
      • Excel IF Statement Explained
      • Excel IF AND OR Functions
      • IF Formula Builder
    • Time & Dates in Excel
      • Excel Date & Time
      • Calculating Time in Excel
      • Excel Time Calculation Tricks
      • Excel Date and Time Formatting
    • Excel Keyboard Shortcuts
    • Excel Custom Number Format Guide
    • Pivot Tables Guide
    • VLOOKUP Guide
    • ALT Codes
    • Excel VBA & Macros
    • Excel User Forms
    • VBA String Functions
  • Members
    • Login
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member
  • Login

Need that in a pivot table the subtotal of column with averages is the sum of the items and not the average.|General Excel Questions & Answers|Excel Forum|My Online Training Hub

You are here: Home / Need that in a pivot table the subtotal of column with averages is the sum of the items and not the average.|General Excel Questions & Answers|Excel Forum|My Online Training Hub

office scripts course

Avatar
sp_LogInOut Log In sp_Registration Register
sp_Search Search
Advanced Search
Search
Forum Scope




Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Search Search
sp_RankInfo
Lost password?
sp_CrumbsHome HomeExcel ForumGeneral Excel Questions & Answe…Need that in a pivot table the subt…
sp_PrintTopic sp_TopicIcon
Need that in a pivot table the subtotal of column with averages is the sum of the items and not the average.
Avatar
Marc Bergmans
Member
Members
Level 0
Forum Posts: 24
Member Since:
February 19, 2021
sp_UserOfflineSmall Offline
1
April 1, 2021 - 5:16 am
sp_Permalink sp_Print

Hello,

I need some help with totals and subtotals in a pivot table
I want that the subtotal row of a column with averages the sum is of the items and not the average of the items.
I attachment you can find in one tab the data and in the other tab the pivot table.
In the last three columns the value is the average. The rows are two lines days and  RF. 
For each day there is a subtotal of three RF lines. 
There are 9 columns. The first 6 rows are sums, the last three are averages.
For the subtotal of the day the sum of the three RF for each column has to be made.
For the first six columns there is no problem. For the last three (Average of MD, Average of RD and Average of ND) i get in the subtotal line the average of the 3 RF items and not the sum and i need the sum.

Can someone tell me how i can solve this ?

Thank You in advance.

Marc.

Avatar
Mynda Treacy
Admin
Level 10
Forum Posts: 4614
Member Since:
July 16, 2010
sp_UserOfflineSmall Offline
2
April 1, 2021 - 7:32 pm
sp_Permalink sp_Print

Hi Marc,

No file attached, however this behaviour is by design. You need to use Power Pivot and write a DAX measure to modify how averages normally calculate.

Mynda

Avatar
Marc Bergmans
Member
Members
Level 0
Forum Posts: 24
Member Since:
February 19, 2021
sp_UserOfflineSmall Offline
3
April 2, 2021 - 2:58 am
sp_Permalink sp_Print

i'm sorry, i attached the file but i didn't upload it.
Now it is hopefully attached.

Avatar
Mynda Treacy
Admin
Level 10
Forum Posts: 4614
Member Since:
July 16, 2010
sp_UserOfflineSmall Offline
4
April 2, 2021 - 4:50 pm
sp_Permalink sp_Print

Hi Marc,

Please see file attached. I added your data to Power Pivot and added 3 DAX measures to sum the averages. Hope that helps.

If you'd like to learn Power Pivot, please consider my Power Pivot course.

Mynda

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Susan VanRiper, QSolutions Group
Guest(s) 10
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 880
Purfleet: 414
Frans Visser: 346
David_Ng: 306
lea cohen: 237
Jessica Stewart: 219
A.Maurizio: 213
Aye Mu: 201
jaryszek: 183
Newest Members:
Herbie Key
Trevor Pindling
Stevan Kanjo
Erin Sheldon
Nikita Bhatia
Sheilah Taylor
Clare Webber
David Jenssen
Dominic Brosnahan
Young You
Forum Stats:
Groups: 3
Forums: 24
Topics: 6526
Posts: 28575

 

Member Stats:
Guest Posters: 49
Members: 32809
Moderators: 2
Admins: 4
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea, FT
Moderators: Velouria, Riny van Eekelen
© Simple:Press —sp_Information

Sidebar

Blog Categories

  • Excel
  • Excel Charts
  • Excel Dashboard
  • Excel Formulas
  • Excel Office Scripts
  • Excel PivotTables
  • Excel Shortcuts
  • Excel VBA
  • General Tips
  • Online Training
  • Outlook
  • Power Apps
  • Power Automate
  • Power BI
  • Power Pivot
  • Power Query
microsoft mvp logo
trustpilot excellent rating
Secured by Sucuri Badge
MyOnlineTrainingHub on YouTube Mynda Treacy on Linked In Mynda Treacy on Instagram Mynda Treacy on Twitter Mynda Treacy on Pinterest MyOnlineTrainingHub on Facebook

Sign up to our newsletter and join over 400,000
others who learn Excel and Power BI with us.

 

Company

  • About My Online Training Hub
  • Disclosure Statement
  • Frequently Asked Questions
  • Guarantee
  • Privacy Policy
  • Terms & Conditions
  • Testimonials
  • Become an Affiliate
  • Sponsor Our Newsletter

Support

  • Contact
  • Forum
  • Helpdesk - For Technical Issues

Copyright © 2023 · My Online Training Hub · All Rights Reserved. Microsoft and the Microsoft Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. Product names, logos, brands, and other trademarks featured or referred to within this website are the property of their respective trademark holders.