Group Uniques - Power Query Challenge

Тәжірибелік нұсқаулар және стиль

⏬ This Power Query Challenge is about combining multiple records into single rows ⏬
00:00 Intro
00:19 The Challenge
01:44 The Long Solution
05:44 The Better Solution
The Solution File and everyone's submissions can be found here:
aasolutions.sharepoint.com/:f...
The team and I at Access Analytic develop Power BI and Excel solutions for clients in Australia and deliver training around the World. accessanalytic.com.au/
Did you know I've written a book "Power BI for the Excel Analyst"?
pbi.guide/book/
Connect with me
wyn.bio.link/

Пікірлер: 25

  • @hk_200k
    @hk_200k8 ай бұрын

    As always, love this magic show

  • @AccessAnalytic

    @AccessAnalytic

    8 ай бұрын

    😁cheers!

  • @angelaisland4036
    @angelaisland40367 ай бұрын

    Very helpful! Thank you!

  • @AccessAnalytic

    @AccessAnalytic

    7 ай бұрын

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

  • @Acheiropoietos
    @Acheiropoietos8 ай бұрын

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

  • @brianjulius6401
    @brianjulius64018 ай бұрын

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

  • @AccessAnalytic

    @AccessAnalytic

    8 ай бұрын

    Great solution Brian 😀

  • @thebhaskarjoshi
    @thebhaskarjoshi8 ай бұрын

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

  • @AccessAnalytic

    @AccessAnalytic

    8 ай бұрын

    All available via the link in the description 👍🏼

  • @chrism9037
    @chrism90378 ай бұрын

    Very cool, thanks Wynn

  • @AccessAnalytic

    @AccessAnalytic

    8 ай бұрын

    No worries

  • @davidmaldonadocastillejos3179
    @davidmaldonadocastillejos31798 ай бұрын

    Those challenges are a nice initiative

  • @AccessAnalytic

    @AccessAnalytic

    8 ай бұрын

    Thanks 😀

  • @UKDevice
    @UKDevice8 ай бұрын

    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.

  • @AccessAnalytic

    @AccessAnalytic

    8 ай бұрын

    Good one

  • @Bhavik_Khatri
    @Bhavik_Khatri8 ай бұрын

    Bloody Awesome

  • @AccessAnalytic

    @AccessAnalytic

    8 ай бұрын

    😀Cheers!

  • @mienzillaz
    @mienzillaz8 ай бұрын

    hmm.. my solution wasn't featured. pity

  • @AccessAnalytic

    @AccessAnalytic

    8 ай бұрын

    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

    8 ай бұрын

    @@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
    @BillSzysz18 ай бұрын

    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

    8 ай бұрын

    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_Excel8 ай бұрын

    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"

  • @AccessAnalytic

    @AccessAnalytic

    8 ай бұрын

    😀

Келесі