Forum Discussion
gaurav-narchal
2 years agoHelper I
Measure - Greator than
Hello I need help to create a measure as below If the balance is greater than or equal to the Amount return TRUE or else FALSE. I tried to create a measure but did not get the desired result ...
- Anonymous2 years ago
Hi gaurav-narchal ,
Hi ryan_mayu , I'm guessing OP is trying to calculate the magnitude of the absolute value🤔. The expected results given by the OP are in perfect agreement with the comparison of absolute magnitudes😀.
Just change your DAX into this:Column = if(ABS('Table'[Balance])>ABS('Table'[Amount]),TRUE(),FALSE())Anyway, good answer!
Best Regards,
Dino Tao - 2 years ago
Pls try
Measure = IF(SUM('Table'[Balance])>SUM('Table'[Amount]),TRUE(),FALSE())or
Measure2 = IF(ABS(SUM('Table'[Balance]))>ABS(SUM('Table'[Amount])),TRUE(),FALSE())
rubinboer
2 years agoResolver II
hi gaurav-narchal please check your data types, are amount and balance text or numeric.