Forum Discussion
IF THEN
Is there a way to replicate this formula in Power BI?
IF [Org Code] = 'HK' THEN ABS([Item Cost]*[Quantity]) END
5 Replies
- amitchandakSuper User
Anonymous , In dax
IF ([Org Code] = "K " , ABS([Item Cost]*[Quantity]) ,blank())
or
IF ([Org Code] = "K " , ABS([Item Cost])*abs([Quantity]) ,blank())
- AnonymousNot applicable
How to do this if the columns are from different tables?
- amitchandakSuper User
Anonymous , if the column is from a different table you need , try one of the four approach
refer 4 ways to copy data from one table to another
https://www.youtube.com/watch?v=Wu1mWxR23jU
https://www.youtube.com/watch?v=czNHt7UXIe8
- AnonymousNot applicable
How to do this if the columns are from different tables?
- AnonymousNot applicable
Hi Anonymous ,
Has your problem been solved? What column is from a different table, [Org Code], [Item Cost] or [Quantity]?
Best Regards,
Stephen Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.