Power Query Challenge 20: Transform Hierarchy Table Structure into Standard Structure

  Рет қаралды 717

Power-M-Query

Power-M-Query

Күн бұрын

Пікірлер: 12
@PowerMquery
@PowerMquery 25 күн бұрын
Find more solutions in Power Query, Excel, Python, and ...... here www.linkedin.com/feed/update/urn:li:activity:7173075223699812352/?updateEntityUrn=urn%3Ali%3Afs_updateV2%3A%28urn%3Ali%3Aactivity%3A7173075223699812352%2CFEED_DETAIL%2CEMPTY%2CDEFAULT%2Cfalse%29
@daramawati
@daramawati 22 күн бұрын
Thank you
@boissierepascal5755
@boissierepascal5755 25 күн бұрын
It seems so easy with your demo ! Thanks a lot.
@PowerMquery
@PowerMquery 25 күн бұрын
Power Query is so sweet and easy to follow.
@Excelambda
@Excelambda 25 күн бұрын
Great video, Great smart challenge, like always, Great PQ solution.✌ - lambda alternative for any index hierarchy HPIV(h,v) Hierarchy Pivot where h: hierarchy indexes vector ; v: values vector =LAMBDA(h,v,LET(l,LEN(h),c,MAX(l),x,SORT(FILTER(h,l=c)),HSTACK(x,XLOOKUP(--LEFT(x,SEQUENCE(,c)),h,v))))
@PowerMquery
@PowerMquery 25 күн бұрын
I am happy you like it and thanks for sharing your solution
@vida1719
@vida1719 25 күн бұрын
Great Solution! Below is my less advanced solution with Pivoted Columns, which I later filled down. To avoid hardcoded columns names {"Level 1", "Level 2", "Level 3"}, I extracted a list of all columns. let Source = Excel.CurrentWorkbook(){[Name="DataTable"]}[Content], #"Changed Type" = Table.TransformColumnTypes(Source,{{"Code", type text}}), #"Add Level" = Table.AddColumn(#"Changed Type", "Level", each "Level " & Text.From(Text.Length([Code]))), #"Pivoted Column" = Table.Pivot(#"Add Level", List.Distinct(#"Add Level"[Level]), "Level", "Description"), ColNames = List.Select(Table.ColumnNames(#"Pivoted Column"), each Text.Contains(_, "Level")), #"Filled Down" = Table.FillDown(#"Pivoted Column",ColNames), #"Filtered Rows" = Table.SelectRows(#"Filled Down", each (Text.Length([Code]) = 3)) in #"Filtered Rows"
@PowerMquery
@PowerMquery 25 күн бұрын
Thanks for sharing your solution
@fahadea1
@fahadea1 25 күн бұрын
Thankyou ❤
@PowerMquery
@PowerMquery 25 күн бұрын
You are welcome
@kazembase
@kazembase 6 күн бұрын
Excuse me sir 😳 do you speak English now?😊
За кого болели?😂
00:18
МЯТНАЯ ФАНТА
Рет қаралды 3,1 МЛН
Long Nails 💅🏻 #shorts
00:50
Mr DegrEE
Рет қаралды 15 МЛН
When Cucumbers Meet PVC Pipe The Results Are Wild! 🤭
00:44
Crafty Buddy
Рет қаралды 58 МЛН
Learn Power Query & Automate Boring Data Tasks in 15 Minutes!
18:45
The Dimensional Dilemma and Power BI
19:35
Paul Turley
Рет қаралды 7 М.
Better than XLOOKUP? Try SUPERXLOOKUP!
11:39
Excel Off The Grid
Рет қаралды 27 М.
Try This New Formula Instead of Pivot Tables
12:08
Kenji Explains
Рет қаралды 486 М.
🚨 YOU'RE VISUALIZING YOUR DATA WRONG. And Here's Why...
17:11
Adam Finer - Learn BI Online
Рет қаралды 239 М.
3 Essential Excel skills for the data analyst
18:02
Access Analytic
Рет қаралды 1,6 МЛН