+ Reply to Thread
Results 1 to 10 of 10

How do I merge PivotTables with same identifier in the first column?

  1. #1
    Registered User
    Join Date
    12-10-2019
    Location
    USA
    MS-Off Ver
    Office365
    Posts
    8

    Question How do I merge PivotTables with same identifier in the first column?

    Hello everyone,
    I have the following problem: for a monthly reporting I am using PivotTables to gather the relevant data from another workbook.

    The PivotTables are looking like this right now:

    doc-filter-pivottables-1.png

    I have been struggling for several hours now to do a rather simple task: Is it possible to have the following layout somehow?

    Screenshot_2019-12-10 How do I merge PivotTables with same title in the first column .png

    Unfortunately I cannot change the underlying data, as I am not the owner of it, just responsible for the reports...

    Any help would be greatly appreciated.

  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: How do I merge PivotTables with same identifier in the first column?

    It looks like Jan, Feb and Mar are separate columns in your source data?

    Simply put Jan, Feb and Mar in the Values section of one pivot table.
    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
    12-10-2019
    Location
    USA
    MS-Off Ver
    Office365
    Posts
    8

    Re: How do I merge PivotTables with same identifier in the first column?

    Hello Olly,

    thank you for your reply. Your assumption is correct.
    Unfortunately, if I put the months in the values section, it seems Excel is not considering changes below the first value.
    So if for example in the first month I put ID1 has status A; ID2 has status B, ID3 has status C and then the status changes in the next month: ID1=A; ID2=B; ID3=A, Excel will not update this status. Also if ID4 enters the next month, it will not be considered at all.

  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: How do I merge PivotTables with same identifier in the first column?

    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
    12-10-2019
    Location
    USA
    MS-Off Ver
    Office365
    Posts
    8

    Re: How do I merge PivotTables with same identifier in the first column?

    Hey Olly, thank you again.

    Find attached the sheet with the desensitized data.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    12-10-2019
    Location
    USA
    MS-Off Ver
    Office365
    Posts
    8

    Re: How do I merge PivotTables with same identifier in the first column?

    Hey Olly,

    did you by any chance find a solution to my problem.

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

    Re: How do I merge PivotTables with same identifier in the first column?

    You need to normalise (unpivot) your data first, then you can report on it in the way you want.

    Use Power Query (Get & Transform Data) to transform your source data:

    Please Login or Register  to view this content.
    Close and load to data model, then insert a pivot table based on data model, with
    Filters: Reporting, Group1, Group2
    Columns: Month
    Rows: Value
    Values: Count of CR Nummer

    See attached workbook, with pivot output in sheet "AFTER".
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    12-10-2019
    Location
    USA
    MS-Off Ver
    Office365
    Posts
    8

    Re: How do I merge PivotTables with same identifier in the first column?

    You are my hero and saved my day!! I do not know how to thank you, really, I appreciate your help a lot. THANK YOU

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

    Re: How do I merge PivotTables with same identifier in the first column?

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, as a relatively new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

  10. #10
    Registered User
    Join Date
    12-10-2019
    Location
    USA
    MS-Off Ver
    Office365
    Posts
    8

    Re: How do I merge PivotTables with same identifier in the first column?

    I was indeed not aware and of course I was happy to add to your well-deserved reputation.

+ 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. [SOLVED] sorting rows with unique identifier and then duplicate identifier
    By Roshan.Shakya in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-13-2019, 06:02 AM
  2. merge tables and add identifier
    By linch in forum Excel Formulas & Functions
    Replies: 19
    Last Post: 05-29-2019, 01:47 PM
  3. Update/Merge one workbook with another on Unique Identifier
    By brianknott in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-24-2017, 07:41 AM
  4. Replies: 2
    Last Post: 04-16-2014, 05:13 PM
  5. Merge PivotTables
    By goss in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 03-13-2014, 03:08 AM
  6. Replies: 6
    Last Post: 08-28-2013, 04:16 PM
  7. [SOLVED] Using A variable as a column identifier
    By lbren979 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-31-2013, 10:32 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