Power Query - Select Columns from table instead of removing afterwards
问题 The default behaviour when importing data from a database table (such as SQL Server) is to bring in all columns and then select which columns you would like to remove. Is there a way to do the reverse? ie Select which columns you want from a table? Preferably without using a Native SQL solution. M: let db = Sql.Databases("sqlserver.database.url"){[Name="DatabaseName"]}[Data], Sales_vDimCustomer = db{[Schema="Sales",Item="vDimCustomer"]}[Data], remove_columns = Table.RemoveColumns(Sales