+ Reply to Thread
Results 1 to 4 of 4

Change formatting in Power Query of data set

  1. #1
    Registered User
    Join Date
    11-08-2015
    Location
    florida
    MS-Off Ver
    Home and Student 2016
    Posts
    15

    Change formatting in Power Query of data set

    Hello,
    Looking for some help with Power Query please.
    On the attachment I have data that I compile using PQ to pull workbooks together (tab 1).
    I need the format to then look like tab 2 data.

    I have tried pivoting and unpivoting in pq and cannot figure out how to transpose the data into the format I need.

    Your help is appreciated.
    thank you
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,569

    Re: Change formatting in Power Query of data set

    This proposal combines power query and power pivot
    1. Convert the data in A1:F25 into an Excel table.
    2. Load the table into power query and apply the following code:
    Please Login or Register  to view this content.
    3. Close and Load to: only connection and add to data model
    4. Add the following explicit measure to the data model: Value Text:=CONCATENATEX(Values(Table1[Value]),Table1[Value],", ")
    5. Produce a pivot table from the data model with Vendor and Category in the Rows area; Report Date(Month) in the Columns area and Value Text in the Values area
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  3. #3
    Registered User
    Join Date
    11-08-2015
    Location
    florida
    MS-Off Ver
    Home and Student 2016
    Posts
    15

    Re: Change formatting in Power Query of data set

    That works thank you.

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,569

    Re: Change formatting in Power Query of data set

    You're Welcome. Thank You for the feedback and for marking the thread as 'Solved'. I hope that you have a blessed day.

+ 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] Why is my Excel file so big even though I uploaded the data using Power Pivot/Power Query?
    By Olivia Ludwig in forum Excel Charting & Pivots
    Replies: 12
    Last Post: 09-21-2023, 05:18 AM
  2. Quickbooks Multiple Data Sources, Power Query & Formatting
    By Keybler in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-10-2022, 09:14 PM
  3. Quickbooks Multiple Data Sources, Power Query & Formatting
    By Keybler in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-10-2022, 07:56 AM
  4. Replies: 3
    Last Post: 09-13-2021, 09:41 AM
  5. Power Query Data Source change, reacts on cell formulas
    By Gentas in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-03-2021, 08:22 AM
  6. vba to change power query data source folder
    By Undo in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-22-2021, 11:29 PM
  7. [SOLVED] Change data structure using Formula or Power Query ( Get & Transform)
    By chullan88 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-04-2017, 02:58 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