Power Query - Unstack a Uneven List into a Table 🍔🦖

  Рет қаралды 1,765

BA Sensei

BA Sensei

Күн бұрын

Пікірлер: 29
@PatrickYoung-zy5qc
@PatrickYoung-zy5qc 12 күн бұрын
Great, great video
@AdityaDsouza-s1r
@AdityaDsouza-s1r 11 күн бұрын
Sensi i have learnt from you a new skill which I will use
@basensei8699
@basensei8699 Күн бұрын
so great man!
@raulparra60
@raulparra60 11 күн бұрын
Como siempre magnífico video. Siempre se aprende algo. Gracias por compartir
@basensei8699
@basensei8699 Күн бұрын
awesome!
@BobXu-i7v
@BobXu-i7v 12 күн бұрын
Super Awesome!
@jean-claudebrunet1645
@jean-claudebrunet1645 12 күн бұрын
As always great Tuto. Thanks a million
@basensei8699
@basensei8699 11 күн бұрын
glorious!
@tonybatty504
@tonybatty504 12 күн бұрын
Thanks James useful as always. Not sure what the real life benefit is of distilling to a 1 or 2 step solution other than to show how great PQ is at mangling data, how expert some of your subscribers are and how much I have to learn😀😀.
@basensei8699
@basensei8699 11 күн бұрын
glorious thanks Tony! there's so many cool ways to solve these kind of problems i love seeing how people come up with solutions !
@mnowako
@mnowako 12 күн бұрын
Magic! Thank you!
@boissierepascal5755
@boissierepascal5755 12 күн бұрын
Super tuto. Thanks !
@JngP-45
@JngP-45 12 күн бұрын
Pretty cool..thanks..
@nathaliedardel116
@nathaliedardel116 12 күн бұрын
Hey I love your videos !! =D In this case with the 5th parameter of Table.Group function, we could do the same request with two steps ;) let Source = Excel.CurrentWorkbook(){[Name="Table2"]}[Content], GroupBy = Table.Group(Source, {"Column1"}, {{"tbl", each List.Transform({0..3} , (x)=> try _[Column1]{x} otherwise null )}} , 0 , (s,c) => Number.From(Value.Is(c[Column1] ,type number)))[[tbl]], FromRows = Table.FromRows(GroupBy[tbl], {"Date","Artist", "Song","Genre"}) in FromRows
@boissierepascal5755
@boissierepascal5755 12 күн бұрын
Hard level
@boissierepascal5755
@boissierepascal5755 12 күн бұрын
Bonjour Nathalie, Où apprend-t-on à coder comme tu le fais ? Formation spécifique ?
@basensei8699
@basensei8699 12 күн бұрын
This is a incredible solution! i'm gonna give it a go!
@themolestones
@themolestones 12 күн бұрын
great
@williamarthur4801
@williamarthur4801 12 күн бұрын
As others have been adding suggestions, well this is not really necessaary but rather than adding extra column transform the Index ; Table.ReplaceValue( add_dex, (a)=> a [Column1] , (b)=> b [Index] , (x,y,z)=> if Value.Type(y) = type number then z else null , {"Index"} )
@basensei8699
@basensei8699 11 күн бұрын
this is glorious! basically one step! Magick!
@williamarthur4801
@williamarthur4801 12 күн бұрын
Looking forward to watching this properly again tomorrow, time for bed.
@basensei8699
@basensei8699 12 күн бұрын
glorious!
@BillSzysz1
@BillSzysz1 12 күн бұрын
Nice 👍 but one step solution is also possible. let Source = Table.Combine( Table.Group( Excel.CurrentWorkbook(){[Name = "Table2"]}[Content], {"Column1"}, { { "tbls", each Table.FromRows( {List.FirstN(_[Column1] & List.Repeat({null}, 3), 4)}, {"Date", "Artist", "Song", "Genre"} ), type table } }, 0, (a, i) => Number.From(i[Column1] is number) )[tbls] ) in Source
@basensei8699
@basensei8699 12 күн бұрын
wowsers! i love this one! 1 step ! Mind blown! i need to make a video on this one!
@BillSzysz1
@BillSzysz1 12 күн бұрын
@@basensei8699 thanks 😁
@Krisjah
@Krisjah 12 күн бұрын
let A = Excel.CurrentWorkbook(){[Name="Table2"]}[Content], B = Table.Combine( Table.Group(A, "Column1", {"All", each Table.FromList( {[Column1]} , each _, {"Date","Artist","Song","Genre"} ) },0,(x,y)=> Number.From( y is number))[All]) in B
@Krisjah
@Krisjah 12 күн бұрын
Using fifth parameter of table group
@basensei8699
@basensei8699 12 күн бұрын
dammit this is glorious! in one step!
@aasavtamboli7919
@aasavtamboli7919 12 күн бұрын
@Krisjah Sir can you please suggest resources to learn power query for beginners as well as M language
Power Query - Advanced Transformation of Nested Tables
12:37
BA Sensei
Рет қаралды 8 М.
Power Query - Understanding each and underscore (_)
12:41
BA Sensei
Рет қаралды 7 М.
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
37:51
bayGUYS
Рет қаралды 463 М.
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 17 МЛН
Power Query - Stacking Horizontal datasets 💀🦙
7:09
BA Sensei
Рет қаралды 1,5 М.
List.Accumulate Case Study in Power Query
13:23
Goodly
Рет қаралды 26 М.
Do-While Loop in Power Query with List.Generate
10:42
Power-M-Query
Рет қаралды 2 М.
Power Query - Pivoting Stacked Data
9:09
BCTI
Рет қаралды 2,5 М.
Unstack a Million Uneven Rows to Columns in Power Query
10:50
Power Query - Adding a Conditional Index Column
12:18
BA Sensei
Рет қаралды 3 М.
Excel's dirty little secrets - 5 things it does you don't expect!
11:25
Excel Off The Grid
Рет қаралды 40 М.
Power BI Header Icons  - TURN OFF
7:55
Access Analytic
Рет қаралды 1,3 М.
The Magic of Working with Lists in Power Query
14:27
Goodly
Рет қаралды 95 М.
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
37:51
bayGUYS
Рет қаралды 463 М.