Forum Discussion
Anonymous
5 years agoNot applicable
IF THEN
Is there a way to replicate this formula in Power BI? IF [Org Code] = 'HK' THEN ABS([Item Cost]*[Quantity]) END
amitchandak
5 years agoSuper User
Anonymous , In dax
IF ([Org Code] = "K " , ABS([Item Cost]*[Quantity]) ,blank())
or
IF ([Org Code] = "K " , ABS([Item Cost])*abs([Quantity]) ,blank())
Anonymous
5 years agoNot applicable
How to do this if the columns are from different tables?