cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
rm1
New Member

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.

 

Screenshot.PNG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

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 2
anandav
Skilled Sharer
Skilled Sharer

 @rm1,

 

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

Sample.jpg

 

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.

Greg_Deckler
Super User
Super User

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.


@ me in replies or I'll lose your thread!!!
Check out my External Tool for Power BI Desktop! Microsoft Hates Greg's Quick Measures
YouTube Channel! Microsoft Hates Greg
Check out my latest book!

Helpful resources

Announcements
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

Power BI December 2021 Update_carousel 768x460.jpg

Check it Out!

Click here to read more about the December 2021 Updates!

Jan 2022 Dev Camp 768x460 copy.png

Power BI Dev Camp- January 27th, 2022

Mark your calendars and join us for our next Power BI Dev Camp!

Top Solution Authors