Dynamically Remove Empty Columns in Power Query

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

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.
@suzannekatz3603
@suzannekatz3603 2 жыл бұрын
Just what the doctor ordered. Thanks!
@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
@stephanweaver1960
@stephanweaver1960 3 жыл бұрын
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.
@txreal2
@txreal2 Жыл бұрын
Nice! 🙋‍♂For data modeling, how do I keep only ColNames that have 80% or more of non-nulls?
@engahmedelbendary1566
@engahmedelbendary1566 2 жыл бұрын
thx alot for your effort Really i had learned more Information from your Videos
@FurquimRafa
@FurquimRafa 3 жыл бұрын
Man, your videos are amazing and very didactic! Keep the good work!
@CeliaAlvesSolveExcel
@CeliaAlvesSolveExcel 3 жыл бұрын
Great tutorial! Thank you!
@1989PU
@1989PU 2 жыл бұрын
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 23 күн бұрын
With large amounts of data, your process can become slow.
@isidrebague3659
@isidrebague3659 3 жыл бұрын
Just Great, as usual!! Thank You.
@DK_85
@DK_85 Жыл бұрын
Thanks a lot Chandeep! Very helpful!
@GoodlyChandeep
@GoodlyChandeep Жыл бұрын
Happy to help!
@realpulsecoin
@realpulsecoin 3 жыл бұрын
This is fire Goodly - great!
@askulasaatwik8thc644
@askulasaatwik8thc644 3 жыл бұрын
Thank you!, Learned a new thing today in Power Query.
@GoodlyChandeep
@GoodlyChandeep 3 жыл бұрын
Glad it was helpful!
@txreal2
@txreal2 Жыл бұрын
Can I import a selected columns list that I have in Excel?
@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!!
@Chillman666
@Chillman666 11 ай бұрын
Another very cool lesson
@faridPQ
@faridPQ 3 жыл бұрын
Will you please make a video on finding Subtotal in Power Query like Subtotal in Excel pivot but not Group by?
@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?
@brajsharma
@brajsharma 2 жыл бұрын
Good solution buddy 👍
@msmc1995
@msmc1995 2 жыл бұрын
Thank you very much
@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.
@holahandstrom
@holahandstrom 3 жыл бұрын
Why not just Transpose, Unfilter Blank, and Transpose again. Done.
@rahulshewale9206
@rahulshewale9206 3 жыл бұрын
Hi sir , Thanks you so much for 📷 Could you please make video how to fetch table from NSE INDIA website ?
@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.
@MrKamranhaider0
@MrKamranhaider0 3 жыл бұрын
Amazing
@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)
@lionels839
@lionels839 Жыл бұрын
How to dynamically remove blanks rows?
@vinod71234
@vinod71234 3 жыл бұрын
Apne kaha this is simple data.....please make video on how to handle complex data in dax
@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.
@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
@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 М.
Smart Sigma Kid #funny #sigma #comedy
00:25
CRAZY GREAPA
Рет қаралды 39 МЛН
Clowns abuse children#Short #Officer Rabbit #angel
00:51
兔子警官
Рет қаралды 73 МЛН
Convert Multiple Column Groups to Rows in Power Query
17:18
Power Query - Avoid "Helper Queries" (+10 Cool Tricks)
18:40
Power Query - Dynamically Remove Junk Rows 🗑️🚫
7:44
BA Sensei
Рет қаралды 1,5 М.
Excel LAMBDA - HOW & WHEN you Should use it
16:02
Leila Gharani
Рет қаралды 430 М.
DYNAMICALLY Remove All Empty Columns with some M MAGIC in Power BI
9:04
Это Xiaomi Su7 Max 🤯 #xiaomi #su7max
1:01
Tynalieff Shorts
Рет қаралды 1,3 МЛН
iPhone 15 Pro в реальной жизни
24:07
HUDAKOV
Рет қаралды 413 М.
Как удвоить напряжение? #электроника #умножитель
1:00
Hi Dev! – Электроника
Рет қаралды 910 М.
СТРАШНЫЙ ВИРУС НА МАКБУК
0:39
Кринжовый чел
Рет қаралды 1,4 МЛН