Power Query Multi Column Data - Best In Class Challenge

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ก.พ. 2025

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

  • @thebhaskarjoshi
    @thebhaskarjoshi 2 ปีที่แล้ว +5

    It was amazing solution you provided, for the first time saw the real-life use case of “Removing Alternative Rows” and “Merge Queries” to itself. And the filtering data using "Data Type" technique was also new for me.

  • @zzota
    @zzota 2 ปีที่แล้ว +4

    I'd never thought of merging a query with itself. Very cool.

    • @AccessAnalytic
      @AccessAnalytic  2 ปีที่แล้ว

      Yeah often comes in handy that one 😀

  • @gospelmoto2833
    @gospelmoto2833 ปีที่แล้ว +1

    Wow! mind blowing. I didn't know that. Many Thanks!

    • @AccessAnalytic
      @AccessAnalytic  ปีที่แล้ว

      Glad to help you learn something new

  • @kebincui
    @kebincui ปีที่แล้ว +1

    Super 👍 Thanks Wyn for this mind-blowing video. Looking forward to more videos like this 🌹

  • @zro.tolerance
    @zro.tolerance ปีที่แล้ว +1

    Thanks for this...i have a similar problem and will use this technique

  • @ohdjrp4
    @ohdjrp4 ปีที่แล้ว +1

    This is so good! Thanks!

  • @mirrrvelll5164
    @mirrrvelll5164 2 ปีที่แล้ว +1

    Great video as usually! But that neat trick with type.datatype....damn didnt know it =)) very very useful tricks!!!

  • @warrennalty6599
    @warrennalty6599 3 หลายเดือนก่อน

    VBA could apply the range name to worksheet.usedrange object.

  • @ezelkarlkl1284
    @ezelkarlkl1284 2 ปีที่แล้ว +1

    What can I say ? :)) Perfect !! Thank you so much..

  • @themolestones
    @themolestones 2 ปีที่แล้ว +2

    Many thanks, Wyn, I'm learning a lot from your vids. Is there any chance to send a possible future challenge? Thanks in advance for your time.

    • @AccessAnalytic
      @AccessAnalytic  2 ปีที่แล้ว +1

      Sure - send to info@accessanalytic.com.au
      ( no promises I’ll use it though 😊 )

  • @navedsaiyed9881
    @navedsaiyed9881 2 ปีที่แล้ว +1

    Very informative on how to clean messy data without converting into a table also how to rearrange the data in power query for having refined data.I have a kind similar sheet but little bit more messy will try on it...........😁

  • @apostolos55goulandris97
    @apostolos55goulandris97 2 ปีที่แล้ว

    Great Job, Thanks Wyn
    One small notice on the 2nd part (no merge or dbl-grouping):
    let
    Source = Results,
    #"Grouped Rows" = Table.Group(Source, {"Date", "Name"}, {{"Avg of Mark", each List.Average([Mark]), type nullable number}}),
    #"Sorted Rows" = Table.Sort(#"Grouped Rows",{{"Date", Order.Ascending}, {"Avg of Mark", Order.Descending}, {"Name", Order.Ascending}}),
    #"Multiplied Column" = Table.TransformColumns(#"Sorted Rows", {{"Avg of Mark", each _ * 1, type number}}),
    #"Removed Duplicates" = Table.Distinct(#"Multiplied Column", {"Date"})
    in
    #"Removed Duplicates"
    If we ommit the #"Multiplied Column", then the #"Removed Duplicates" doesn't work as expected: Instead of keeping the 1st items it keeps some random items, thus ignoring the sort. Like if sort is visible but has not affected the data yet. Some work on the data solves this. But this is my humbble explanation, any real insight would be appreciated
    Thanks😊

    • @AccessAnalytic
      @AccessAnalytic  ปีที่แล้ว +1

      Hi, sorry for the long delay in response, I missed noticing this one.
      There is a “bug” in power query where the sort step gets ignored in certain circumstances. The fix is to add an index step immediately after sort or wrap in a Table.buffer

  • @7213261
    @7213261 ปีที่แล้ว +1

    Thanks!

  • @naushad123
    @naushad123 2 ปีที่แล้ว +1

    very informative

  • @shrikantbadge3978
    @shrikantbadge3978 ปีที่แล้ว +1

    beautiful

  • @zachg.9208
    @zachg.9208 2 ปีที่แล้ว +1

    Fun, usefull, thank you. By the way, today are you using a dvorak layout?? XD

    • @AccessAnalytic
      @AccessAnalytic  2 ปีที่แล้ว

      You’re welcome, Glad it’s useful

  • @ibrahimnajjar7351
    @ibrahimnajjar7351 2 ปีที่แล้ว

    Great video, thanks Wyn!
    What if I needed to load two queries in the same sheet on top of each other in the same sheet, is there a way to prevent the error of one of them going over the other?

    • @AccessAnalytic
      @AccessAnalytic  2 ปีที่แล้ว +1

      I just tested and it works if both tables have same columns but otherwise it fails. Not something I'd recommend doing if you can avoid it. Are you able to append the tables in Power Query instead? or load side by side?