Hi all, I am trying to do a calculation where if the category = "CASH", subtract paid out amount from MOP amount. Else, just show MOP amount.
Solved! Go to Solution.
Have you tried creating a measure such as Test = selectedvalue(Daily_MOP_Tb[MOP COMB]) and dropping it in a table/matrix to see what it returns?
Also, it might be worth checking for spaces to make sure "CASH" isn't something like "CASH " in your data...?
@abeirne is this a measure or a calculated column?
If column then write this:
IF(
Daily_MOP_Tb[MOP COMB] = "CASH",
Daily_MOP_Tb[MOP_Amount] - Paid_Out_Tb[Paid_Out_Amount],
Daily_MOP_Tb[MOP_Amount]
)
User | Count |
---|---|
134 | |
62 | |
35 | |
34 | |
25 |
User | Count |
---|---|
157 | |
56 | |
41 | |
32 | |
24 |