Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.