+ Reply to Thread
Results 1 to 7 of 7

Cannot create a Pivot Table because source data has subtotals

  1. #1
    Registered User
    Join Date
    10-31-2019
    Location
    Switzerland
    MS-Off Ver
    2010
    Posts
    17

    Cannot create a Pivot Table because source data has subtotals

    Hi All,

    The source data that I want to create a pivot table from has subtotals for every department which I need to keep in the source data but when I try to create a pivot table I get the error message below

    "Because your source data has automatic subtotals, Microsoft Excel cannot create a Pivot Table report from it."

    I can remove the subtotals and add a simple sum formula which then allows me to create a pivot table but i really need to have the subtotal formula rather than sum formula in the source data.

    Does anyone know how i can overcome the issue?

    Thanks

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Cannot create a Pivot Table because source data has subtotals

    Separate your data from your reports. Store data in a normalised format. Create your subtotalled report view as a pivot table, based on your source data.
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  3. #3
    Registered User
    Join Date
    10-31-2019
    Location
    Switzerland
    MS-Off Ver
    2010
    Posts
    17

    Re: Cannot create a Pivot Table because source data has subtotals

    Hey Olly,

    Thanks for your response, Can not really change the source data is that is manually typed in each cell. I am using the file for overheads budget planning and the source date is essentially all the budget owners typing the numbers in the source data / table manually depending on the desired budget needed for the year ahead. The source data is already populated with last years actuals and a draft budget for the upcoming year.

    I wanted to pivot the data to start the discussion with the budget owners based on a simplified format and then go into each line to amend cost / budget as needed.

    Thanks

  4. #4
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Cannot create a Pivot Table because source data has subtotals

    Please attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.

  5. #5
    Registered User
    Join Date
    10-31-2019
    Location
    Switzerland
    MS-Off Ver
    2010
    Posts
    17

    Re: Cannot create a Pivot Table because source data has subtotals

    Hi,

    I have attached a sample workbook. The pivot has worked in the sample workbook attached but with the same data in my existing file the pivot does not work. So perhaps i just to start again and create a new workbook?

    Thanks
    Attached Files Attached Files

  6. #6
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Cannot create a Pivot Table because source data has subtotals

    So you've attached a workbook which does not display the problem you are trying to fix?

  7. #7
    Registered User
    Join Date
    10-31-2019
    Location
    Switzerland
    MS-Off Ver
    2010
    Posts
    17

    Re: Cannot create a Pivot Table because source data has subtotals

    Hi,

    Sorry i was just seeing how best to share the workbook as it had alot of tabs. I have attached a simplified version. You will see the error in this workbook.

    Thanks
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 05-13-2019, 06:02 PM
  2. Create Range from highlighted cells for Pivot Table Source Data
    By athyeh in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-08-2015, 03:34 PM
  3. Excel 2010 Pivot Table - Create Macro to update source data
    By swaza in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 07-29-2015, 06:59 AM
  4. [SOLVED] create more than one pivot table from the same data source
    By ethelp in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 10-07-2014, 02:29 PM
  5. Replies: 0
    Last Post: 07-12-2006, 04:40 PM
  6. Create Pivot Table with 2 different Data source
    By cheerboy555 in forum Excel General
    Replies: 1
    Last Post: 04-30-2006, 09:55 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1