Dynamically Re-Order Columns in Power Query

  Рет қаралды 12,615

Goodly

Goodly

4 ай бұрын

In this video, you will learn how to dynamically reorder columns in Power Query, whether you're working in Excel or Power BI. Learn how to create a user interface that allows you to define the positions of the columns, giving the user greater control and flexibility.
#powerquery #datacleaning #dataanalysis
===== ONLINE COURSES =====
✔️ Mastering DAX in Power BI -
goodly.co.in/learn-dax-powerbi/
✔️ Power Query Course-
goodly.co.in/learn-power-query/
✔️ Master Excel Step-by-Step -
goodly.co.in/learn-excel/
✔️ Business Intelligence Dashboards-
goodly.co.in/learn-excel-dash...
===== LINKS 🔗 =====
Blog 📰 - www.goodly.co.in/blog/
Corporate Training 👨‍🏫 - www.goodly.co.in/training/
Need my help on a Project 💻- www.goodly.co.in/consulting/
Download File ⬇️ - goodly.co.in/dynamic-column-r...
===== CONTACT 🌐 =====
Twitter - / chandeep2786
LinkedIn - / chandeepchhabra
Email - goodly.wordpress@gmail.com
===== WHO AM I? =====
A lot of people think that my name is Goodly, it's NOT ;)
My name is Chandeep. Goodly is my full-time venture where I share what I learn about Excel and Power BI.
Please browse around, you'd find a ton of interesting videos that I have created :) Cheers!

Пікірлер: 55
@GoodlyChandeep
@GoodlyChandeep 3 ай бұрын
Download the file ⬇ - goodly.co.in/dynamic-column-re-ordering-power-query Tackle even the most challenging data-cleaning problems. Check out the M Language course and push beyond the user interface ↗ - rb.gy/a2zsnn
@AlesKus
@AlesKus 3 ай бұрын
Dear Chandeep! It was really a pleasure to meet you at GES today! As mentioned - you are best! Thank you for all your shared work!
@we.visuals
@we.visuals 3 ай бұрын
What is GES?
@AlesKus
@AlesKus 3 ай бұрын
Global excel summit
@YvesAustin
@YvesAustin 3 ай бұрын
How did Chandeep teleport back home so fast? lol
@chandeepchhabra
@chandeepchhabra 3 ай бұрын
​@@YvesAustinM still in London. The video is was recorded earlier and scheduled😅
@sskdev5116
@sskdev5116 20 күн бұрын
My God!!! This was something I was looking for
@darcyg852
@darcyg852 28 күн бұрын
Thank you! This was so helpful!
@ziggle314
@ziggle314 3 ай бұрын
This solves a problem I am dealing with right now. Thanks!
@whizzohk
@whizzohk 3 ай бұрын
Extremely useful as always Chandeep! No hard-coded column names is the key to flexible models.
@hellorich714
@hellorich714 3 ай бұрын
Brilliant. Absolutely brilliant. Thank you. So helpful
@natallia1
@natallia1 3 ай бұрын
This is awesome! Brilliant as always.
@PankajSingh-mk9wk
@PankajSingh-mk9wk 3 ай бұрын
Hello Chandeep, I have been following your content for one and a half year, really want to do your course but the course I want to do is very expensive. But the really good stuff keeps it going.
@natashailina5005
@natashailina5005 3 ай бұрын
Great video as usually! Thanks a lot
@eddiel6608
@eddiel6608 3 ай бұрын
Great lesson, thank you
@moorthysreedharan1734
@moorthysreedharan1734 3 ай бұрын
Very interesting and useful. Thank you so much.
@chrism9037
@chrism9037 3 ай бұрын
Very clever , thanks Chandeep!
@IvanCortinas_ES
@IvanCortinas_ES 3 ай бұрын
Excellent explanation. Thank you Chandeep!!
@zahir585
@zahir585 3 ай бұрын
Brilliant, thank you
@hichamezznati2646
@hichamezznati2646 3 ай бұрын
Very interesting .Thank you . here is an other tip i'd like to share that gives the same result, using List.Sort and without using the user interface : let Input = Cols1, Col = Input[Cols], Pos = Input[Postion No], ColSortingOrder = List.Reverse( List.Sort( Col, (x, y) => Value.Compare( let Px = List.PositionOf(Col, x) in 1 / Pos{Px}, let Py = List.PositionOf(Col, y) in 1 / Pos{Py} ) ) ) in Table.ReorderColumns(Personnalisé1, ColSortingOrder)
@DavidTraynier
@DavidTraynier 3 ай бұрын
Really smart solution and clear explanation.
@The_Excel_Enthusiast6782
@The_Excel_Enthusiast6782 3 ай бұрын
This is very awesome! Thank you for creating/sharing! I am curious what are your thoughts on first sorting by position number and then alphabetically sorting the first column to give some kind of pattern to the query should the column names change?
@ExcelUnlocked
@ExcelUnlocked 3 ай бұрын
Amazingly helpful
@Bhavik_Khatri
@Bhavik_Khatri 3 ай бұрын
Awesome Tutorials
@ericrobbins6953
@ericrobbins6953 3 ай бұрын
Very creative!
@sabarashid1513
@sabarashid1513 3 ай бұрын
That was extremely useful. I have one question - will the order be maintained when loaded to Power BI. If not, how to maintain the column orders when data is loaded from Power Query to Power BI. Any guidance would be helpful.
@briandennehy6380
@briandennehy6380 3 ай бұрын
Lovely stuff
@krishanphophalia9303
@krishanphophalia9303 3 ай бұрын
Awesome ❤
@justinwduff
@justinwduff 3 ай бұрын
Excellent video, it's hard to find high quality M content. Pleasure meeting you @ GES, great presentation!
@vishnupp5944
@vishnupp5944 Ай бұрын
Great
@mecorowa5642
@mecorowa5642 3 ай бұрын
With a self reference from the new table on the sheet, it is possible to keep it dynamic when further columns get added.
@jaybuddhadev3543
@jaybuddhadev3543 3 ай бұрын
always best👍
@mukeshrawat2621
@mukeshrawat2621 3 ай бұрын
@goodly if you know Hindi , please share, it very useful understanding lots of people
@GoodlyChandeep
@GoodlyChandeep 3 ай бұрын
www.youtube.com/@desigoodly
@shadimanci
@shadimanci 3 ай бұрын
How is this awesome ❤❤❤
@datalearningsihan
@datalearningsihan 3 ай бұрын
I was thinking of purchasing your power query course. Is your courses regularly updated?
@osamaabd-elmohsen6427
@osamaabd-elmohsen6427 3 ай бұрын
Hi, Could you make a video how we can dynamic expand monthly aggregated columns when we are merging queries, Regards
@ramandeepsr
@ramandeepsr 3 ай бұрын
❤❤
@ExcelWithChris
@ExcelWithChris 3 ай бұрын
Do you have to refresh twice? First refresh will create the list for the user to type in the order and the next refresh will then do the job?
@Ypurenete
@Ypurenete 3 ай бұрын
Very good video. Congfats!! I have a problem, but a little diferent. There is a table with columnNames A, B, C and Another table without headers Column1, Column2, Column3. How can I append these tables?
@dabrain6944
@dabrain6944 3 ай бұрын
The second table actually has column headers, but they are generic. You can simply rename them before appending. let Table1 = TableABC, Table2 = TableC1C2C3, RenamedHeadersTable2 = Table.RenameColumns(Table2, List.Zip({Table.ColumnNames(Table2), Table.ColumnNames(Table1)}), AppendedTable2 = Table.Combine({Table1, RenamedHeadersTable2}) in AppendedTable2
@Ypurenete
@Ypurenete 3 ай бұрын
@@dabrain6944 thanks a lot!!
@michaelt312
@michaelt312 3 ай бұрын
How would this be impacted if column names change? Say % becomes Percent. Or a real world example, a list of employees. Someone changes their last name. Or someone leaves.
@ajdc3169
@ajdc3169 3 ай бұрын
Yah good question
@dabrain6944
@dabrain6944 3 ай бұрын
If the columns remain in the same order, this shouldn't affect the query, as long as you refresh the Cols-Query prior to loading the resulting query.
@workstuff5253
@workstuff5253 3 ай бұрын
In Power BI it doesn't seem to matter what order you put the columns in. The table view sticks them in any order it feels like! Which sucks.
@jerrydellasala7643
@jerrydellasala7643 3 ай бұрын
Very cool! BTW, the download link isn't working.
@GoodlyChandeep
@GoodlyChandeep 3 ай бұрын
goodly.co.in/dynamic-column-re-ordering-power-query
@gef24
@gef24 3 ай бұрын
Instead of replacing null, I filter out null.
@Ratnakumarwrites
@Ratnakumarwrites 3 ай бұрын
Then your columns will also disappear... Correct me if i am wrong...
@dabrain6944
@dabrain6944 3 ай бұрын
No, they will not dissappear. But their order remains as it is. So it would really be better to filter out the nulls.
@Ratnakumarwrites
@Ratnakumarwrites 3 ай бұрын
I meant rows...
@dabrain6944
@dabrain6944 3 ай бұрын
They are actually not needed to make the query work.
@edsta714
@edsta714 3 ай бұрын
I can’t believe you cant reorder the columns in go to columns. A simple move up or down button or drag and drop from the vertical list would be so much easier.
@ajdc3169
@ajdc3169 3 ай бұрын
His technique is useful if you have a lot of columns to organize
List.Accumulate in Power Query with Practical Examples
27:26
100❤️ #shorts #construction #mizumayuuki
00:18
MY💝No War🤝
Рет қаралды 20 МЛН
Sprinting with More and More Money
00:29
MrBeast
Рет қаралды 136 МЛН
Do you have a friend like this? 🤣#shorts
00:12
dednahype
Рет қаралды 53 МЛН
Omega Boy Past 3 #funny #viral #comedy
00:22
CRAZY GREAPA
Рет қаралды 35 МЛН
What to Expect From the ECB's Policy Meeting
2:26
Bloomberg Television
Рет қаралды 236
List.Accumulate Case Study in Power Query
13:23
Goodly
Рет қаралды 19 М.
High-Income Excel Skills Worth Learning in 2024 (Free File)
29:19
MyOnlineTrainingHub
Рет қаралды 291 М.
Clean That Data - Fast Data Cleaning Techniques in Power Query
13:57
EXCEL 4 UR PARENTS
Рет қаралды 1,1 М.
SWITCH Function in Power Query
10:24
Goodly
Рет қаралды 26 М.
Power Query - List.Buffer to do a Million row Lookup
6:53
BA Sensei
Рет қаралды 4,4 М.
5 Tricks to Reduce Steps in Power Query
16:41
Goodly
Рет қаралды 32 М.
Set Up Automatic KPI Trackers | Dynamic Alerts in Power BI Desktop
17:40
iPhone 15 Pro vs Samsung s24🤣 #shorts
0:10
Tech Tonics
Рет қаралды 10 МЛН
Carregando telefone com carregador cortado
1:01
Andcarli
Рет қаралды 2,2 МЛН
How To Unlock Your iphone With Your Voice
0:34
요루퐁 yorupong
Рет қаралды 18 МЛН
Карточка Зарядка 📱 ( @ArshSoni )
0:23
EpicShortsRussia
Рет қаралды 518 М.