+ Reply to Thread
Results 1 to 5 of 5

Turn matrix list to csv friendly list

Hybrid View

  1. #1
    Registered User
    Join Date
    03-10-2020
    Location
    Denmark
    MS-Off Ver
    Office 365
    Posts
    6

    Turn matrix list to csv friendly list

    I have a issue where i need to a matrix list into a csv friendly list.

    The first to coloums indicate the customer and the part number.
    The row header indicates the date where they forecast a need.

    But i need to turn it into a csv friendly format like "customer";"part #";"date";"amount".

    The source data is retrived from an html fil with power query.

    Updated with attached example with before and after.
    Attached Files Attached Files
    Last edited by Khaazh; 02-27-2023 at 03:26 AM.

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,455

    Re: Turn matrix list to csv friendly list

    Welcome to the forum

    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.
    (there is nothing attached in your post)

  3. #3
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Turn matrix list to csv friendly list

    the file is attached incorrectly

    at the top of the page is instruction HOW TO ATTACH

  4. #4
    Forum Expert
    Join Date
    12-09-2014
    Location
    Trakai, Lithuania
    MS-Off Ver
    2016
    Posts
    1,299

    Re: Turn matrix list to csv friendly list

    Power Query
    let
        Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
        #"Unpivoted Other Columns" = Table.UnpivotOtherColumns(Source, {"Customer", "Part #"}, "Attribute", "Value"),
        #"Changed Type with Locale" = Table.TransformColumnTypes(#"Unpivoted Other Columns", {{"Attribute", type date}}, "da-DK"),
        #"Renamed Columns" = Table.RenameColumns(#"Changed Type with Locale",{{"Attribute", "Date"}, {"Value", "Sum"}})
    in
        #"Renamed Columns
    "
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    03-10-2020
    Location
    Denmark
    MS-Off Ver
    Office 365
    Posts
    6

    Re: Turn matrix list to csv friendly list

    Thank you, this solved my issue

    Quote Originally Posted by Czeslaw View Post
    Power Query
    let
        Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
        #"Unpivoted Other Columns" = Table.UnpivotOtherColumns(Source, {"Customer", "Part #"}, "Attribute", "Value"),
        #"Changed Type with Locale" = Table.TransformColumnTypes(#"Unpivoted Other Columns", {{"Attribute", type date}}, "da-DK"),
        #"Renamed Columns" = Table.RenameColumns(#"Changed Type with Locale",{{"Attribute", "Date"}, {"Value", "Sum"}})
    in
        #"Renamed Columns
    "

+ 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] Turn large Horizontal list into Vertical list?
    By osurob in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-18-2020, 12:43 PM
  2. User-friendly and technical dropdown list
    By nonor in forum Excel General
    Replies: 4
    Last Post: 08-06-2019, 08:06 AM
  3. [SOLVED] turn vertical list to horizontal list start new row when change in column A, B and E
    By drosew in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-13-2016, 01:13 PM
  4. Hyperlink friendly names with Random List
    By Grinfactor in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-20-2015, 06:20 AM
  5. Dropdown list (Data validation) with hyperlinks + friendly name
    By imagiine in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 05-28-2013, 03:29 AM
  6. Convert Matrix to List (excluding blank cells from list)
    By cameron.rumball in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 04-02-2013, 12:35 AM
  7. Replies: 7
    Last Post: 10-13-2010, 07:45 PM

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