Power Query Multi Column Data - Best In Class Challenge

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

⏬ Links below ⏬
Here's the original challenge
accessanalytic.com.au/power-q...
Here's the link to everyone's submissions and a solution file
aasolutions.sharepoint.com/:f...
00:00 Intro
00:37 The Problem
01:50 Setting the data range (using Print Area?)
03:29 Extracting a Date and Filling Down
07:27 Filter a column for any date value
08:31 Custom Column Reference and Fill down
10:15 The Unpivot Other Columns Technique
10:30 Merging a Query with itself
12:30 GroupBy to get the person with the highest average each day
15:49 Testing with some new data
The Power Query Challenge Playlist • Power Query Challenges
Did you know I've written a book "Power BI for the Excel Analyst"?
pbi.guide/book/
Connect with me
wyn.bio.link/
accessanalytic.com.au/

Пікірлер: 32

  • @thebhaskarjoshi
    @thebhaskarjoshi Жыл бұрын

    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.

  • @AccessAnalytic

    @AccessAnalytic

    Жыл бұрын

    Thanks

  • @zzota
    @zzota Жыл бұрын

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

  • @AccessAnalytic

    @AccessAnalytic

    Жыл бұрын

    Yeah often comes in handy that one 😀

  • @zro.tolerance
    @zro.tolerance7 ай бұрын

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

  • @AccessAnalytic

    @AccessAnalytic

    7 ай бұрын

    Glad to help

  • @gospelmoto2833
    @gospelmoto28338 ай бұрын

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

  • @AccessAnalytic

    @AccessAnalytic

    8 ай бұрын

    Glad to help you learn something new

  • @kebincui
    @kebincui6 ай бұрын

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

  • @AccessAnalytic

    @AccessAnalytic

    6 ай бұрын

    You’re welcome

  • @7213261
    @7213261 Жыл бұрын

    Thanks!

  • @AccessAnalytic

    @AccessAnalytic

    Жыл бұрын

    No worries

  • @ohdjrp4
    @ohdjrp4 Жыл бұрын

    This is so good! Thanks!

  • @AccessAnalytic

    @AccessAnalytic

    Жыл бұрын

    No worries, you're welcome

  • @mirrrvelll5164
    @mirrrvelll5164 Жыл бұрын

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

  • @AccessAnalytic

    @AccessAnalytic

    Жыл бұрын

    Glad you found it helpful 😀

  • @shrikantbadge3978
    @shrikantbadge397810 ай бұрын

    beautiful

  • @AccessAnalytic

    @AccessAnalytic

    10 ай бұрын

    Thanks

  • @ezelkarlkl1284
    @ezelkarlkl1284 Жыл бұрын

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

  • @AccessAnalytic

    @AccessAnalytic

    Жыл бұрын

    You’re welcome Ezel

  • @naushad123
    @naushad123 Жыл бұрын

    very informative

  • @AccessAnalytic

    @AccessAnalytic

    Жыл бұрын

    Thanks Naushad

  • @navedsaiyed9881
    @navedsaiyed9881 Жыл бұрын

    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...........😁

  • @AccessAnalytic

    @AccessAnalytic

    Жыл бұрын

    Thanks Naved

  • @themolestones
    @themolestones Жыл бұрын

    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

    Жыл бұрын

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

  • @zachg.9208
    @zachg.9208 Жыл бұрын

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

  • @AccessAnalytic

    @AccessAnalytic

    Жыл бұрын

    You’re welcome, Glad it’s useful

  • @ibrahimnajjar7351
    @ibrahimnajjar7351 Жыл бұрын

    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

    Жыл бұрын

    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?

  • @apostolos55goulandris97
    @apostolos55goulandris97 Жыл бұрын

    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

    Жыл бұрын

    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

Келесі