No video

Power Query - Index Column by Group & Return Last and First Record for a Group

  Рет қаралды 2,848

BA Sensei

BA Sensei

Күн бұрын

In this video I show how you can create a index Column for a group (Partition by) and return the last and first records for a Grouped Table.
using a email dataset grouped by Email Subject. #data #dataanalytics #powerquery #powerbi #excel #partition #mquery #tutorial
Links
File
github.com/jbo...
Video on Each and Underscore
• Power Query - Understa...
Mquery functions used
add index column
learn.microsof...
table last
learn.microsof...
table select rows
learn.microsof...
table addcolumns
learn.microsof...

Пікірлер: 9
@johnjaftha6770
@johnjaftha6770 3 ай бұрын
this is brilliant! i was trying to lookup devices which are sold and then returned. in excel you can lookup to first value - but this is much more elegant
@Theomatikalli
@Theomatikalli 9 ай бұрын
Thanks for the vid. Though I managed to replicate your soln, I don't understand the thought process that went into it i.e. why you replace a particular underscore with the index function and why you replace the table in the index formula with an underscore. Why are all those particular changes are okay. In essence I feel the reasoning of why certain actions were taken can be more empowering as it enables the users to think of other situations where similar reasoning can be applied. I would have also loved to understand those Power Query architectural decisions i.e. generalizations.
@basensei8699
@basensei8699 9 ай бұрын
awesome ! I've made a video on the use of the underscore kzbin.info/www/bejne/jam6fWafZZqbkJI this might be able to help. :)
@zorankrekic3006
@zorankrekic3006 Жыл бұрын
Nice, I had similar problem last year, and my solution used 3 queries, 1. get data, 2. get oldest and 3. get youngest, after merge 2 and 3 query
@SndfOmar
@SndfOmar 5 ай бұрын
Cool dude! Thanks for sharing.
@SamehRSameh
@SamehRSameh 5 ай бұрын
I need m-code to return true if column contain only specific value And return false if contains this value and other value
@QasimAli-gy3nb
@QasimAli-gy3nb Жыл бұрын
What tool are you using for recording these amazing videos, please.
@basensei8699
@basensei8699 Жыл бұрын
Camtasia ;)
@QasimAli-gy3nb
@QasimAli-gy3nb Жыл бұрын
@@basensei8699 Oh that's very pricey.
Understanding List Sort in Power Query
16:47
BI Gorilla
Рет қаралды 7 М.
Underwater Challenge 😱
00:37
Topper Guild
Рет қаралды 46 МЛН
GTA 5 vs GTA San Andreas Doctors🥼🚑
00:57
Xzit Thamer
Рет қаралды 25 МЛН
So Cute 🥰
00:17
dednahype
Рет қаралды 44 МЛН
The CUTEST flower girl on YouTube (2019-2024)
00:10
Hungry FAM
Рет қаралды 39 МЛН
Create Index Column By Group in Power Query
10:26
BI Gorilla
Рет қаралды 50 М.
Power Query: Index and Modulo Functions
15:48
Geeky Veep
Рет қаралды 62 М.
Power Query Pattern Extraction with Melissa de Korte
1:06:08
Devon and Cornwall User Group | Sue Bayes
Рет қаралды 4,4 М.
Power BI Remove Duplicate Records And Keep Most Recent
7:53
The Algebra Teacher POWERS to BI
Рет қаралды 41 М.
Power Query - Faster & Easier Parameters
13:38
BCTI
Рет қаралды 37 М.
Return Previous Row Value in Power query
9:57
BI Gorilla
Рет қаралды 26 М.
Power Query - List.Buffer to do a Million row Lookup
6:53
BA Sensei
Рет қаралды 7 М.
🚨 YOU'RE VISUALIZING YOUR DATA WRONG. And Here's Why...
17:11
Adam Finer - Learn BI Online
Рет қаралды 124 М.
Power Query - Dynamically transform column names
8:13
BA Sensei
Рет қаралды 1,8 М.
Underwater Challenge 😱
00:37
Topper Guild
Рет қаралды 46 МЛН