Group Uniques - Power Query Challenge

แชร์
ฝัง

ความคิดเห็น • 25

  • @hk_200k
    @hk_200k 11 หลายเดือนก่อน +2

    As always, love this magic show

  • @Acheiropoietos
    @Acheiropoietos 11 หลายเดือนก่อน +1

    Great solutions. I am very interested in seeing more 👍❤️

  • @brianjulius6401
    @brianjulius6401 11 หลายเดือนก่อน +1

    Wyn - Thanks! Fun challenge and a great wrap up.

    • @AccessAnalytic
      @AccessAnalytic  11 หลายเดือนก่อน

      Great solution Brian 😀

  • @angelaisland4036
    @angelaisland4036 10 หลายเดือนก่อน +1

    Very helpful! Thank you!

    • @AccessAnalytic
      @AccessAnalytic  10 หลายเดือนก่อน

      You’re welcome. I appreciate you taking the time to let me know you found it useful

  • @davidmaldonadocastillejos3179
    @davidmaldonadocastillejos3179 11 หลายเดือนก่อน +1

    Those challenges are a nice initiative

  • @thebhaskarjoshi
    @thebhaskarjoshi 11 หลายเดือนก่อน +1

    Would love ❤ to see other solutions as well...

    • @AccessAnalytic
      @AccessAnalytic  11 หลายเดือนก่อน

      All available via the link in the description 👍🏼

  • @chrism9037
    @chrism9037 11 หลายเดือนก่อน +1

    Very cool, thanks Wynn

  • @UKDevice
    @UKDevice 11 หลายเดือนก่อน +1

    I think i would have gone with the "Text.Combine(List.Distinct([Data][System 1 contact ID]),",")" custom columns after grouping by ID and do this for each field to return. No need to expand lists etc but the method shown involves less steps. Nice.

  • @Bhavik_Khatri
    @Bhavik_Khatri 11 หลายเดือนก่อน +1

    Bloody Awesome

  • @mienzillaz
    @mienzillaz 11 หลายเดือนก่อน

    hmm.. my solution wasn't featured. pity

    • @AccessAnalytic
      @AccessAnalytic  11 หลายเดือนก่อน

      Yeah just too many to cover all sorry.
      I see you went down the same lines as the video as did several others 👍🏼

    • @mienzillaz
      @mienzillaz 11 หลายเดือนก่อน +1

      @@AccessAnalytic yes, unpivot first with all rows, transform them to get a list, clean up from duplicates, and put it back together with a pivot

  • @BillSzysz1
    @BillSzysz1 11 หลายเดือนก่อน +1

    And I missed your challenge again ☹ So maybe I'll give you something short, just two steps
    let
    Source = Excel.CurrentWorkbook(){[Name="tblData"]}[Content],
    Result = Table.Combine(Table.Group(Source, {"Client ID#"}, {{"tbl", (x) => Table.FromRows({List.Transform(Table.ToColumns(x), each Text.Combine(List.Distinct(_), ", "))}, Table.ColumnNames(x)), type table}})[tbl])
    in
    Result

    • @AccessAnalytic
      @AccessAnalytic  11 หลายเดือนก่อน

      Cheers Bill, I’m always impressed by the nested formula approach but find it harder to understand and explain to others than separate steps.

  • @GrainneDuggan_Excel
    @GrainneDuggan_Excel 11 หลายเดือนก่อน +1

    I did it in two steps but it was manual. It does not deal with the Deal ID#s problem and it is not dynamic if the column names change. Thanks for saying use PQ to rename column Deal ID - obvious after I saw your solution.....
    let
    Source = Excel.CurrentWorkbook(){[Name="tblData"]}[Content],
    #"Grouped Rows" = Table.Group(Source, {"Client ID#"},
    {{"Count S1 id", each Text.Combine(List.Distinct( [System 1 contact ID]),", "), type text},
    {"Count S2 id", each Text.Combine(List.Distinct( [System 2 contact ID]),", "), type text},
    {"Count S3 id", each Text.Combine( List.Distinct([System 3 contact ID]),", "), type text},
    {"Count Name", each Text.Combine(List.Distinct([Name]),", "), type text},
    {"Count Email", each Text.Combine(List.Distinct([Email]),", "), type text},
    {"Count Phone", each Text.Combine(List.Distinct([Phone number]),", "), type text},
    {"Count Deal", each Text.Combine(List.Distinct([Deal IDs]),", "), type text}})
    in
    #"Grouped Rows"