Dynamically remove columns in Power Query

preview_player
Показать описание
Use M code to remove unwanted columns dynamically in Power Query
Use Table.RemoveColumns(), Text.EndsWith(), List.Select() in M code

-- Subscribe for more !!
Рекомендации по теме
Комментарии
Автор

So elegant, thank you! Also very well explained :)

vzmol
Автор

Just what I was looking for! Nice. Thank you.

DP-xzxr
Автор

Liked it and explained very simple and easy to understand. Pl post new videos on power query... Appreciate

syedaneesdurez
Автор

Better practice to create a list of columns to keep rather than a list to remove but still a good tip

thebowrests
Автор

what if my column names are random? For example, I want to keep PO #, order date, ship to...and remove the rest. The reason I want to have it dynamic is everyone may have different column sequence but same name. I want to have to query to allow everyone to drop data source but have same outcome.

jackiegao
join shbcf.ru