Forum Discussion
Anonymous
5 years agoNot applicable
Compare two columns' values
Hello Power BI Gods! I'm interested in comparing the values of two different columns in the same Table. My desired outcome looks like this I would like to compare Allocation Requested ...
- 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.⚡
parry2k
5 years agoSuper User
Anonymous just sent the solution, add as a column.