Forum Discussion
josevaras
6 years agoMicrosoft Employee
Filter Measure Results
Hello, I have the measure DIVIDE([Total Sales LM] , [Sum Total Sales] ) -1 which returns, amongst others values, a -100. I would like to filter out the -100 out of the result set. I am using ...
- 6 years ago
Hi josevaras ,
A possible approach would be to nest the DIVIDE within an IF:
= IF(
DIVIDE([Total Sales LM] , [Sum Total Sales] ) -1=-100,
BLANK(),
DIVIDE([Total Sales LM] , [Sum Total Sales] ) -1
)
Thatt should filter out the results where the DIVIDE([Total Sales LM] , [Sum Total Sales] ) -1 returns -100.
josevaras
6 years agoMicrosoft Employee
I would like the whole row to not show up
kentyler
6 years agoSolution Sage
Do you know what it is about that row that gives the minus result ? I don't think the DIVIDE function can make the row not show up. Perhaps if it returned a blank value that might cause the row not to be included. If so, you could wrap the DIVIDE in an IF() and return blank if the result was less than 0)