Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
Hey guys,
I would like to replace a static value (in that case a column reference) by an variable:
I tried it the following way which didn't work:
"RemovedColumns[#"""& HierachyAttribute &"""]"
Would appreciate any hints 🙂
Thanks Dan
Solved! Go to Solution.
You can try following (this will depend upon your context)
Table.Column(RemovedColumns,HierachyAttribute)
Example is below
RemovedColumns = Table.RemoveColumns(#"Changed Type",{"Country"}),
HierachyAttribute = "Sales Channel",
#"Added Custom" = Table.AddColumn(RemovedColumns, "Custom", each Table.Column(RemovedColumns,HierachyAttribute))
You can try following (this will depend upon your context)
Table.Column(RemovedColumns,HierachyAttribute)
Example is below
RemovedColumns = Table.RemoveColumns(#"Changed Type",{"Country"}),
HierachyAttribute = "Sales Channel",
#"Added Custom" = Table.AddColumn(RemovedColumns, "Custom", each Table.Column(RemovedColumns,HierachyAttribute))