Forum Discussion
Compare two columns' values
- 5 years ago
Anonymous if these are columns, add the new column using the following expression, based on your expression, looks like these are columns.
New Column = SWITCH ( TRUE(), Table[Allocation Requested] = Table[Allocation Actual], "Allocation Match", Table[Allocation Requested] < Table[Allocation Actual], "Over allocated", "Requested too high" )Check my latest blog post Improve UX: Show Year in Legend When Using Time Intelligence Measures | PeryTUS IT Solutions I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!
⚡Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.⚡
Hi,
In TableA, write this calculated column formula
Present in TableB = lookupvalue('tableb'[Code],'tableb'[Code],'tablea'[Code])
In TableB, write this calculated column formula
Present in TableA = lookupvalue('tablea'[Code],'tablea'[Code],'tableb'[Code])
Hope this helps.
Perfect, thanks Ashish
- Ashish_Mathur4 years agoSuper User
You are welcome.