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.⚡
Anonymous if you want this as a measure, just use the same expression, add a new measure, wrap both the columns in SUM and it should work.
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.⚡