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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote 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
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.