Forum Discussion

rm1's avatar
rm1
New Member
8 years ago

Operator not filtering properly

I'm trying to filter a measure but the equals filter isn't working.

 

If I filter the measure to equal .19, it shows as having no data. 

If I filter > .19 it results in 1 and all numbers >.19.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

The measure works with a parameter (not sure if that's the issue) but I've checked the formatting and decimal for all columns. 

 

Please help!

 

 

 

2 Replies

  • Greg_Deckler's avatar
    Greg_Deckler
    Community Champion

    What if you add an AND clause <.2?

     

    I am wondering if there is perhaps more decimals than just .19 like maybe .19000000004 or something like that.

  • anandav's avatar
    anandav
    Skilled Sharer

     rm1,

     

    As Greg_Deckler mentioned the rounding-off of decimals could be at play here.

     

    As you can see, eventhough in the table the Measure displays 0.02 for 3 records the actual values are rounded off for display.

    So only record B is selected when you filter for 0.02 which has the actual value of 0.02.

    If you increase the decimal points of your measure in the display table then you m,ay be able to see the atcual value without the rounding-off.