web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Failed to filter using...
Power Automate
Answered

Failed to filter using Greater or Equals in Power Automate

(2) ShareShare
ReportReport
Posted on by 45
Hi,
 
I have this data in a spreadsheet and I want to filter the data so it will show only values greater or equal to -7. But when I compare the inputs and outputs, negative values greater than -7 and less than 0 got filtered out like this. Has anyone ever experienced a similar problem?
 
Inputs - Outputs
 
My actual flow is longer than this, but I simplified it and it looks like this.
 
Categories:
I have the same question (0)
  • Verified answer
    Chriddle Profile Picture
    8,686 Super User 2026 Season 1 on at
    Here you handle strings, hence '-2' is less than '-7' . String comparisons compare characters from left to right (dictionary order)
    Do numerical comparison instead:
    @greaterOrEquals(int(item()), -7)
     
  • veracruz Profile Picture
    45 on at
     
    Thank you, it works for the simple flow above using a table with one column only. But when I applied it to the another table which has more columns, it failed to run and this is the error message. Do you happen to know the cause?
     
  • Chriddle Profile Picture
    8,686 Super User 2026 Season 1 on at
    Check if item()?['Days'] is always somethig that can be converted to an int (e.g. check if it's empty)!
  • veracruz Profile Picture
    45 on at
    Hi, @Chriddle. Yes, turned out there is a null value. Thank you so much for your help!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 816

#2
Valantis Profile Picture

Valantis 603

#3
Haque Profile Picture

Haque 566

Last 30 days Overall leaderboard