Forum Discussion
Adding a new column with value from parameter
Hi,
I am trying to add a custom column which takes in value from a list parameter that has been created.
I am doing so using power query in advanced editor but not sure how to do it.
Example:
#"Added OrgName" = Table.AddColumns(Invoice, OrgName, Org)
where Invoice => name of the table
OrgName => column to be created
Org => parameter name where a certain value is selected
Thank You
On tab "Add Column" choose "Custom column".
In New Column Name fill in OrgName.
In Custom column formula fill in Org.
2 Replies
- MarcelBeugCommunity Champion
On tab "Add Column" choose "Custom column".
In New Column Name fill in OrgName.
In Custom column formula fill in Org.
- AnonymousNot applicable
Is there a way to use a named range from an Excel spreadsheet to populate the parameter? Something similar to that described in the "List Dates using Start and End Date Parameters from Named Ranges" section in this Power Query Lists post?