Hi everyone,
I want to group my vehicle list by year and model in power query. Then I want to insert the data in one step from DesiredOutput as a column List.
I know how to add one by one by with Add.Column as below, however, I don't want it to be a lot of manual steps as I will be add 15 columns.
Is there an M code where we can do these in one step?
Present:
Table.AddColumn(#"Previous Step", "New Column", each Table.Column([DesiredOutput],"Column Name"))
Table.AddColumn(#"Previous Step", "New Column", each Table.Column([DesiredOutput],"Column Name"))
Desired(maybe smt like that?)
Table.AddColumnS(#"Previous Step", "New Column","Second Column","Third Column", each Table.Column([DesiredOutput],"Column Name","Column Name 2","Column Name 3"))
Thanks!!
I want to group my vehicle list by year and model in power query. Then I want to insert the data in one step from DesiredOutput as a column List.
I know how to add one by one by with Add.Column as below, however, I don't want it to be a lot of manual steps as I will be add 15 columns.
Is there an M code where we can do these in one step?
Present:
Table.AddColumn(#"Previous Step", "New Column", each Table.Column([DesiredOutput],"Column Name"))
Table.AddColumn(#"Previous Step", "New Column", each Table.Column([DesiredOutput],"Column Name"))
Desired(maybe smt like that?)
Table.AddColumnS(#"Previous Step", "New Column","Second Column","Third Column", each Table.Column([DesiredOutput],"Column Name","Column Name 2","Column Name 3"))
Thanks!!