sailepaty
New member
I created a custom column with the following formula.
= Table.AddColumn(#"Added Custom", "Custom", each [pP01]+[pP02]+[pP03]+[pP04]+[pP05]+[pP06])
Is there a way to pass the fields that I want to add? For example if I just want to add [pP02]+[pP03]
Something like this
= Table.AddColumn(#"Added Custom", "Custom", each [pP02]+[pP03])
Or like this
= Table.AddColumn(#"Added Custom", "Custom", each [pP01]*1+[pP02]*1+[pP03]*0+[pP04]*0+[pP05]*0+[pP06]*0)
Thanks in advance.
= Table.AddColumn(#"Added Custom", "Custom", each [pP01]+[pP02]+[pP03]+[pP04]+[pP05]+[pP06])
Is there a way to pass the fields that I want to add? For example if I just want to add [pP02]+[pP03]
Something like this
= Table.AddColumn(#"Added Custom", "Custom", each [pP02]+[pP03])
Or like this
= Table.AddColumn(#"Added Custom", "Custom", each [pP01]*1+[pP02]*1+[pP03]*0+[pP04]*0+[pP05]*0+[pP06]*0)
Thanks in advance.