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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

November Power BI Update 768x460.png

Check it Out!

Click here to read more about the November 2021 Updates!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.