Table.Split and Table.SplitAt - Power Query

  Рет қаралды 7,537

Alejandra Horvath

Alejandra Horvath

Күн бұрын

Пікірлер: 40
@asimonr
@asimonr Жыл бұрын
Gracias Alejandra, mas claro imposible. Excelente entrega!!!!
@alejandrahorvath
@alejandrahorvath Жыл бұрын
Muchas gracias Alejandro! Saludos 😊
@franciscom.paredesarias2356
@franciscom.paredesarias2356 Жыл бұрын
Muchas Gracias @Alejandra Horvath siempre algo nuevo que aprender con tus entregas. Saludos desde Chile
@alejandrahorvath
@alejandrahorvath Жыл бұрын
Muchas gracias Francisco! Saludos 🤗
@_GB84
@_GB84 10 ай бұрын
You're the best! Thank you for helping me solve this problem!
@alejandrahorvath
@alejandrahorvath 10 ай бұрын
Glad you found it useful Gary! Thanks for watching 😊
@OdelLeal
@OdelLeal Жыл бұрын
Alejandra, Excellent results.
@alejandrahorvath
@alejandrahorvath Жыл бұрын
Thank you Odel! Saludos 😊
@kestaanalytics
@kestaanalytics 6 ай бұрын
Thank you. I got the answer I needed. the first 3 minutes of watching your video
@alejandrahorvath
@alejandrahorvath 6 ай бұрын
Glad it helped! Thanks for watching 😊
@roywilson9580
@roywilson9580 Жыл бұрын
It is great to see you back posting videos! Thanks for the interesting and useful video. Nice use of table.splitat. I would make a small change to the steps to avoid hardcoding the split point of the tables by inserting few steps adding an index column, filtering down to a known value found in the row to split at and drilling down to the index number: ...... AddIndex = Table.AddIndexColumn( Table001, "Index", 1), DrillDown = Table.SelectRows(AddIndex,each [Column13] = null)[Index]{0}, PrdcDataSet = List.Transform(Table.SplitAt(AddIndex, DrillDown), each let a = Table.RemoveColumns(_, "Index"), b = Table.PromoteHeaders(a), c = Table.SelectRows(b, each [#"Product #"] null), d = Table.UnpivotOtherColumns( c, {"Product #"}, "Year - Qtr", "Amount"), e = Table.SplitColumn(d, "Year - Qtr", Splitter.SplitTextByAnyDelimiter({" - "}),{"Year", "Qtr"}) in e ......... Not overly important on such a small dataset but a for a large dataset it might save a lot of scrolling around.
@alejandrahorvath
@alejandrahorvath Жыл бұрын
It's great to be back 😊 Thank you very much for sharing! Very appreciated 🙏 Thanks for watching 😊
@antonysovy5887
@antonysovy5887 Жыл бұрын
as you always say, excellent!!
@alejandrahorvath
@alejandrahorvath Жыл бұрын
Thank you Antony! I'm glad you liked it 😊
@tobesoria
@tobesoria Жыл бұрын
Excelente mini training💪🤗. gracias Por otro lado, se te extraña mucho con los "live"
@alejandrahorvath
@alejandrahorvath Жыл бұрын
😊
@zahoorsarbandi2982
@zahoorsarbandi2982 Жыл бұрын
Very interesting and full of knowledge. Thanks
@alejandrahorvath
@alejandrahorvath Жыл бұрын
Glad you enjoyed it! Thanks for watching 😊
@eduardomunoz2764
@eduardomunoz2764 Жыл бұрын
Magistral como siempre, saludos estimada Maestra Ale.
@alejandrahorvath
@alejandrahorvath Жыл бұрын
Muchas gracias Eduardo! Un abrazo 😊
@tb9359
@tb9359 Жыл бұрын
Great job! I enjoy your videos and learn a huge amount of tips. Thank you so much!!
@alejandrahorvath
@alejandrahorvath Жыл бұрын
I'm so glad! Thanks for watching 😊
@Ratnakumarwrites
@Ratnakumarwrites Жыл бұрын
Great mam... I am learning from you... Love your videos
@alejandrahorvath
@alejandrahorvath Жыл бұрын
Glad to hear that. Thanks for watching 😊
@SamehRSameh
@SamehRSameh Жыл бұрын
Excellent 👌👍👍
@alejandrahorvath
@alejandrahorvath Жыл бұрын
Thanks for watching 😊
@asheeshpahwa7508
@asheeshpahwa7508 Жыл бұрын
Thanks 😊 Keep bringing these videos . I would request you to please make videos on the excel bi challenges that comes everyday on linkedin Thanks in advance
@alejandrahorvath
@alejandrahorvath Жыл бұрын
Thank you for watching and for your request 😊
@etienneleparisien1391
@etienneleparisien1391 8 ай бұрын
Hello Alejandra, thanks very much for this very interesting video. Do you have a video explaining how in PowerQuery to split a table in N tables according all the N distinct values ​​in a column ? Thanks very much in advance for your help.
@alejandrahorvath
@alejandrahorvath 8 ай бұрын
To split a table in N tables according all the N distinct values ​​in a column, you could select the column containing the values you want to split by, right click and select group by, select all rows. The code would be something like this, if the table is in the current workbook: let Source = Excel.CurrentWorkbook(){[Name="TableName"]}[Content], GroupedRows = Table.Group(Source, {"ColumnNameYouWantToSplitBy"}, {{"NewColumnName", each _}}) in GroupedRows
@etienneleparisien1391
@etienneleparisien1391 8 ай бұрын
@@alejandrahorvath Thank you so much. I will try it at work. Jo estet és jo vasárnap (in Hungarian).
@alejandrahorvath
@alejandrahorvath 8 ай бұрын
You're very welcome! Hope that this will solve what you were looking for. Have a great rest good evening and Sunday as well 😊
@etienneleparisien1391
@etienneleparisien1391 8 ай бұрын
@@alejandrahorvath Thanks to you. I could do it in VBA and SQL but I think the solution is smarter and faster to realize in PowerQuery. After, I just need to change/replace dynamically the file source in the query formula by VBA.
@boissierepascal5755
@boissierepascal5755 Жыл бұрын
Awsome !
@osielg9889
@osielg9889 Жыл бұрын
Hola, excelente explicación, una duda consideras que con muchos datos es más eficiente al resultado que tú realizaste únicamente tienes unos cuantos pasos en el editor, si lo hiciera utilizando las opciones normales desde la interfaz de usuario seguro quedarían muchos más. muchas gracias que estés muy bien 😁, te evi un fuerte abrazo 🤗
@alejandrahorvath
@alejandrahorvath Жыл бұрын
Hola, todo depende en la fuente de datos, las funciones que utilices y el orden en que apliques los pasos. Menos número de pasos no significa más eficiencia, es lo que realizas y el orden en que lo realizas en cada paso (on en cada función). Gracias por tu comentario. Saludos 😊
@DinoAMAntunes
@DinoAMAntunes Жыл бұрын
Hi Alejandra. Very good. when to choose between Table Ou Page, i have always this doubt? Tks in advance
@alejandrahorvath
@alejandrahorvath Жыл бұрын
Hi Dino, This is a very good question. In my experience the tables have worked better (for the most part); it all depends on the source. You will need to evaluate the source and decide which is better. Thanks for your question 😊
@DinoAMAntunes
@DinoAMAntunes Жыл бұрын
@@alejandrahorvath Many Tks
@alejandrahorvath
@alejandrahorvath Жыл бұрын
You're most welcome 😊
Table.TransformRows or Table.TransformColumns
11:11
Alejandra Horvath
Рет қаралды 1,4 М.
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 13 МЛН
The Best Band 😅 #toshleh #viralshort
00:11
Toshleh
Рет қаралды 19 МЛН
Интересно, какой он был в молодости
01:00
БЕЗУМНЫЙ СПОРТ
Рет қаралды 3,8 МЛН
Excel Like TRIM Function in Power Query
11:55
Goodly
Рет қаралды 27 М.
Power Query - Split Table Dynamically
6:53
BA Sensei
Рет қаралды 4,8 М.
3 PivotTable Grouping Tricks to Summarize Data FAST!
8:19
MyOnlineTrainingHub
Рет қаралды 69 М.
Power Query - Avoid "Helper Queries" (+10 Cool Tricks)
18:40
Power Query - Faster & Easier Parameters
13:38
BCTI
Рет қаралды 42 М.
Convert Multiple Column Groups to Rows in Power Query
17:18
Master Data Cleaning with Power Query in Excel in 9 Minutes
9:26
MyOnlineTrainingHub
Рет қаралды 89 М.
Inside Power Query reference queries for Power BI and Excel
18:57
Guy in a Cube
Рет қаралды 35 М.
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 13 МЛН