Dynamically Remove Empty Columns in Power Query

  Рет қаралды 13,704

Goodly

Goodly

3 жыл бұрын

Check out our newly launched M Language course ↗️ - goodly.co.in/learn-m-powerquery/
- - - - My 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...
- - - - Blog - - - -
www.goodly.co.in/

Пікірлер: 43
@GoodlyChandeep
@GoodlyChandeep 8 ай бұрын
Check out our newly launched M Language course ↗ - goodly.co.in/learn-m-powerquery/
@juansepowerplatform
@juansepowerplatform 3 жыл бұрын
Thanks for the video, sure there are many other ways to get this done using the UI, but your video showcases how to really use M, how to refer back to previous steps, how to break your steps into logical chucks. Best channel to really learn M language. Thank you sir
@davidbakker1460
@davidbakker1460 3 жыл бұрын
Awesome video as always, thank you! I’m actually exploring writing the M code myself, instead of using the UI. It is actually working out quite wel, thanks to your videos. Awesome that we can combine multiple steps in 1 step when we write the M code ourselves.
@CeliaAlvesSolveExcel
@CeliaAlvesSolveExcel 3 жыл бұрын
Great tutorial! Thank you!
@suzannekatz3603
@suzannekatz3603 2 жыл бұрын
Just what the doctor ordered. Thanks!
@FurquimRafa
@FurquimRafa 3 жыл бұрын
Man, your videos are amazing and very didactic! Keep the good work!
@stephanweaver1960
@stephanweaver1960 2 жыл бұрын
Good I did the same but using a configuration file that lists expected column names and use that to clean my input file. Didactic suggestion that would make us at the beginning of your videos also state the lessons to be learned, and then just recap at the end. Excellent
@mirrrvelll5164
@mirrrvelll5164 3 жыл бұрын
Useful video. It happens quite often actually that I need to remove columns manually.
@isidrebague3659
@isidrebague3659 3 жыл бұрын
Just Great, as usual!! Thank You.
@realpulsecoin
@realpulsecoin 3 жыл бұрын
This is fire Goodly - great!
@DK_85
@DK_85 Жыл бұрын
Thanks a lot Chandeep! Very helpful!
@GoodlyChandeep
@GoodlyChandeep Жыл бұрын
Happy to help!
@engahmedelbendary1566
@engahmedelbendary1566 2 жыл бұрын
thx alot for your effort Really i had learned more Information from your Videos
@brajsharma
@brajsharma 2 жыл бұрын
Good solution buddy 👍
@msmc1995
@msmc1995 2 жыл бұрын
Thank you very much
@askulasaatwik8thc644
@askulasaatwik8thc644 3 жыл бұрын
Thank you!, Learned a new thing today in Power Query.
@GoodlyChandeep
@GoodlyChandeep 3 жыл бұрын
Glad it was helpful!
@Chillman666
@Chillman666 10 ай бұрын
Another very cool lesson
@txreal2
@txreal2 Жыл бұрын
Nice! 🙋‍♂For data modeling, how do I keep only ColNames that have 80% or more of non-nulls?
@1989PU
@1989PU Жыл бұрын
Great Video. What i usually use ( from GUI itself) is something like this: 1. Transpose (before promoting headers) 2. Remove Rows > Remove Blank Rows 3. Transpose back again.
@odallamico
@odallamico 10 күн бұрын
With large amounts of data, your process can become slow.
@MrKamranhaider0
@MrKamranhaider0 2 жыл бұрын
Amazing
@wayneedmondson1065
@wayneedmondson1065 3 жыл бұрын
Hi Chandeep. Excellent lesson! Another approach is from the reverse.. using Table.SelectColumns to specifically select only the desired columns, thereby filtering out everything else, as in: = Table.SelectColumns(Table.PromoteHeaders(Table.Combine(Source[Data])),{"Name","Age","Company"}). Of course, if you add more desired columns, you would have to modify the query for the additions. I guess it depends on whether you are more prone to adding new columns of desired data that need to be included or adding new columns of undesired data that need to be excluded. Either way, good to know both approaches. Thanks for sharing this! Always good learning at Goodly :)) Thumbs up!!
@raimundojs9547
@raimundojs9547 Жыл бұрын
Great video! Suggestions about the following function, please: (Tab as table) as table => let LstOriginalColumnNames = Table.ColumnNames(Tab), LstColumnListOfLists = Table.ToColumns(Tab), TbConvertedToTable = Table.FromValue(LstColumnListOfLists, [DefaultColumnName = "ListOfLists"]), TbIndexColumn = Table.AddIndexColumn(TbConvertedToTable, "Index", 0, 1, Int64.Type), TbNonNullColsIndex = Table.SelectRows(TbIndexColumn, each List.NonNullCount([ListOfLists]) 0), LstNonNullCols = Table.AddColumn(TbNonNullColsIndex, "NonNullCols", each LstOriginalColumnNames{[Index]})[NonNullCols], TbOutput = Table.SelectColumns(Tab, LstNonNullCols) in TbOutput
@rlds07
@rlds07 Жыл бұрын
Excellent tip. How to do when we do not yet have the header set?
@juja2819
@juja2819 2 жыл бұрын
Thank you! :) But what if there is column(s) with other names then column and they still has only null in each row?
@faridPQ
@faridPQ 3 жыл бұрын
Will you please make a video on finding Subtotal in Power Query like Subtotal in Excel pivot but not Group by?
@txreal2
@txreal2 Жыл бұрын
Can I import a selected columns list that I have in Excel?
@rahulshewale9206
@rahulshewale9206 3 жыл бұрын
Hi sir , Thanks you so much for 📷 Could you please make video how to fetch table from NSE INDIA website ?
@muhawatali1224
@muhawatali1224 2 жыл бұрын
Sir Great Help. Please tell me how i can show the Formulas or functions while Typing some part as in your video. I am using office 19.
@svendewinter7441
@svendewinter7441 3 жыл бұрын
Hi Goodly - Why do you not transpose & remove blank rows & transpose again? Seems easier for blank column removal and also dynamic
@Alan.DL7
@Alan.DL7 3 жыл бұрын
That will only work for blank columns but if you have some text then is not possible I believe.
@vinod71234
@vinod71234 3 жыл бұрын
Apne kaha this is simple data.....please make video on how to handle complex data in dax
@holahandstrom
@holahandstrom 3 жыл бұрын
Why not just Transpose, Unfilter Blank, and Transpose again. Done.
@Rood6
@Rood6 3 жыл бұрын
This was really helpful, however for some reason it seems to merge all data into a single table when there are multiple sheets in the excelworkbook. Is there a way to refer to a certain Item?
@GoodlyChandeep
@GoodlyChandeep 3 жыл бұрын
You'll have the option to navigate to a single workbook in the Navigation step (typically after the source step)
@RobertoStaltari
@RobertoStaltari 3 жыл бұрын
I like that you don't use the user interface. It's the only way to learn M.
@BoxerDogs
@BoxerDogs 3 жыл бұрын
The formulas you are typing in, is that the DAX language or something else?
@thebhaskarjoshi
@thebhaskarjoshi 2 жыл бұрын
M Language
@lionels839
@lionels839 Жыл бұрын
How to dynamically remove blanks rows?
@jacobmurray6731
@jacobmurray6731 3 жыл бұрын
I'd be keen to know how to delete columns where all the rows are empty but there is a normal header
@GoodlyChandeep
@GoodlyChandeep 3 жыл бұрын
Noted:) Need to put together a video for that.
@dharmmu
@dharmmu 3 ай бұрын
Sorry but the solution is not correct. You are removing not the empty columns but the columns which don't have any header name. These two are different issue. Sometime our column may have data, might be 10th or 20th row, in that case your formula will ignore that column, which is not correct. In my scenario by removing the whole column, you are removing some data which was not type properly. There should be some other option, which remove the column only if all the row in that column is nulll.
Create an Index Column for Subgroups in Power Query
6:46
Goodly
Рет қаралды 35 М.
5 Tricks to Reduce Steps in Power Query
16:41
Goodly
Рет қаралды 33 М.
THE POLICE TAKES ME! feat @PANDAGIRLOFFICIAL #shorts
00:31
PANDA BOI
Рет қаралды 24 МЛН
Always be more smart #shorts
00:32
Jin and Hattie
Рет қаралды 47 МЛН
Looks realistic #tiktok
00:22
Анастасия Тарасова
Рет қаралды 52 МЛН
Smart Sigma Kid #funny #sigma #comedy
00:25
CRAZY GREAPA
Рет қаралды 15 МЛН
Excel Like TRIM Function in Power Query
11:55
Goodly
Рет қаралды 24 М.
DYNAMICALLY Remove All Empty Columns with some M MAGIC in Power BI
9:04
Convert Multiple Column Groups to Rows in Power Query
17:18
Remove Blank Rows/Columns with Power Query Incl. STUBBORN Characters!
14:29
MyOnlineTrainingHub
Рет қаралды 50 М.
Promote Double Headers in Power Query | Solution
17:02
Goodly
Рет қаралды 24 М.
Собери ПК и Получи 10,000₽
1:00
build monsters
Рет қаралды 2,3 МЛН
КРУТОЙ ТЕЛЕФОН
0:16
KINO KAIF
Рет қаралды 3,3 МЛН
ОБСЛУЖИЛИ САМЫЙ ГРЯЗНЫЙ ПК
1:00
VA-PC
Рет қаралды 1,2 МЛН
Что еще за съемные фронталки от Vivo? #vivo
0:41
When you have 32GB RAM in your PC
0:12
Deadrig Gaming
Рет қаралды 2,1 МЛН
Klavye İle Trafik Işığını Yönetmek #shorts
0:18
Osman Kabadayı
Рет қаралды 160 М.