Forum Discussion
halifaxious
3 years agoFrequent Visitor
multiply several columns by another column using M
I have a table that looks like this: quantity Salary EBP OH 1 68 20 25 7 73 21 27 0.5 80 25 30 I want to multiply each of the Salary, EBP and OH columns by Quantity...
- 3 years ago
=Table.ReplaceValue(#"Source",each [quantity],"",(x,y,z)=>x*y,{"Salary","EBP","OH"})
wdx223_Daniel
3 years agoCommunity Champion
=Table.ReplaceValue(#"Source",each [quantity],"",(x,y,z)=>x*y,{"Salary","EBP","OH"})