Results 1 to 16 of 16

Power Query - Add another column to Table.TransformColumns

Threaded View

  1. #1
    Registered User
    Join Date
    08-26-2021
    Location
    India
    MS-Off Ver
    Office 2019
    Posts
    8

    Power Query - Add another column to Table.TransformColumns

    Hello, I have a Power Query code to group the data. However, this is for two columns. Can anyone help me with the code to get another column?


    let
        Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
        Group = Table.Group(Source, {"CHARACTER NAME"}, {{"Scenes", each Table.Distinct(_), type table [SCENE NUMBER=text, CHARACTER NAME=text]}, {"Count", each Table.RowCount(Table.Distinct(_)), Int64.Type}}),
        Combine = Table.TransformColumns(Group,{{"Scenes", each Text.Combine(_[SCENE NUMBER],", ")}})
    in
        Combine
    Expected Output.JPG
    Attached Files Attached Files
    Last edited by signup1; 08-26-2021 at 06:54 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Create a Table or 4 column based upon dataset - Power Query or Macro???? Help
    By cvici in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-29-2021, 02:24 AM
  2. Replies: 1
    Last Post: 05-07-2021, 05:40 AM
  3. [SOLVED] Power Query/Power Pivot Conditional Column creation & chart
    By mz_h in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-12-2020, 06:07 PM
  4. Replies: 10
    Last Post: 06-25-2020, 12:19 AM
  5. [SOLVED] Power Pivot does not load new column added in Power query
    By ibuhary in forum Excel General
    Replies: 12
    Last Post: 02-19-2019, 03:53 AM
  6. Replies: 2
    Last Post: 02-13-2019, 07:39 AM
  7. Power Query - add column with Table name
    By zico8 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 05-11-2017, 12:58 AM

Tags for this Thread

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