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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
chinthada
Helper I
Helper I

DAX Filter - greater-than or equal is not working

Hello Experts,

 

I have data set like below

TypeOfCallYearQuarterAttnTimeNew
Urgent 2020Q16.2
Non-Urgent 2020Q39.1
Urgent 2020Q218
Non-Urgent 2020Q120

 

I am writing a Dax measure using filters for AttnTimeNew.

com-test = CALCULATE(COUNTA('VW_Water'[CC_MASTER__ID]), FILTER('VW_Water','VW_Water'[AttnTimeNew]>=18)).

 

For this filter, it should give the result of "2" as I'm using greater than or equal operators. But it gives results as "1". If I change above Dax query as 17,  FILTER('VW_Water','VW_Water'[AttnTimeNew]>=17), then it will give the result of "2". 

 

The source column is in decimal number.

 AttnTimeNew.PNG

 

If I change it to a whole number I can see the results correctly. Hope you will help to resolve this issue.

 

thanks

 

 

 

 

1 ACCEPTED SOLUTION
smearp
Microsoft Employee
Microsoft Employee

Hello-

 

I recreated your table (I added a column called CC_MASTER_ID, since that's what your measure is counting):Table.png

For the measure, I copied your measure:

Measure.png

and for the result, I get the expected "2".

output.png

View solution in original post

3 REPLIES 3
Anonymous
Not applicable
smearp
Microsoft Employee
Microsoft Employee

Hello-

 

I recreated your table (I added a column called CC_MASTER_ID, since that's what your measure is counting):Table.png

For the measure, I copied your measure:

Measure.png

and for the result, I get the expected "2".

output.png

It seems this was data related problem...

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.