+ Reply to Thread
Results 1 to 2 of 2

PowerQuery Array(List) and Object(Record) to Strings

  1. #1
    Registered User
    Join Date
    04-04-2024
    Location
    Germany
    MS-Off Ver
    365
    Posts
    1

    PowerQuery Array(List) and Object(Record) to Strings

    Hi,
    I want to change Lists and Recors to Strings in PQ.

    I am receiving data from an API and I have an Array and an Object Column like this:

    Please Login or Register  to view this content.
    Please note that the Step "Convert" is just for this example. I have to work with the Step "SourceAPI".

    If I load them now to a normal ExcelSheet they look like this:
    ArrayCol ObjecCol[List] [Record]


    But I need them
    ArrayCol
    [[
    "abc",
    "dec"
    ],
    [
    "qqqq"
    ]
    ]


    ObjecCol
    {
    "first_name": "John",
    "last_name": "Smith",
    "is_alive": true,
    "age": 27}

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

    Re: PowerQuery Array(List) and Object(Record) to Strings

    Hello Zizasascha and Welcome to Excel Forum.
    Not to say that I can resolve the issue but it may be easier for someone to help if we could see a sample file. (See the "HOW TO ATTACH YOUR SAMPLE WORKBOOK" banner at the top of the page)
    Also, is the only solution you want PQ or would a formula/VBA solution be acceptable?
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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] Array of lookups returning multiple strings if last two strings are empty
    By chriskay in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-14-2019, 07:35 AM
  2. Error Using TEXTJOIN Function in Array Formula to List Non-empty Strings
    By MikeA01730 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 04-18-2019, 01:24 AM
  3. Match different long strings with an array of short, summarizing strings
    By FKemps in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-24-2015, 12:55 AM
  4. SUMIFS and {} array list of arguments as cell references, not strings
    By astrbac in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-03-2015, 06:30 AM
  5. Help searching an array of text strings for common strings
    By ABComp in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-23-2012, 11:19 PM
  6. Replies: 9
    Last Post: 12-21-2012, 04:18 AM
  7. search for a part of string within an array of strings from another array list
    By jdonohue in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-12-2011, 01:32 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