Forum Discussion
rainchong7401
3 years agoHelper III
.
.
2 Replies
- Mahesh0016Super User
rainchong7401 Good Morning,
#"Added Conditional Column" = Table.AddColumn(#"Changed Type", "Custom", each if [UNIT] = "PALLET" then 0 else if [UNIT] = "KG" then "0" else 1, type any)
**Did I answer your question? Mark my post as a solution! Appreciate your Kudos !! - AhmedxSuper UserColumn = VAR _Current =[Unit]RETURNIF(_Current="PAIL"|| _Current="TIN",1,0)
--
ORColumn 2 = VAR _Current =[Unit]
RETURN
IF(_Current in {"PAIL","TIN"},1,0)download the file