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 / compare total and filter
Power Automate
Answered

compare total and filter

(0) ShareShare
ReportReport
Posted on by 5

Hi

 

I have a flow here  

 

 

Everything works great and fast until it gets to the "filter array 2" . I just want to filter the Totals of less than 56 people before a table is created and email notification sent.

 

It looks like it is able to run fine, but it doesn't filter the Total to less than 56 at all.  First it gave me a data type error - so I've added the int(56) to change it to integer but it still didn't work.

 

Any help would be great!

Capture_image.JPG

Categories:
I have the same question (0)
  • Hardesh15 Profile Picture
    7,087 Super User 2024 Season 1 on at

    @peterhui50 

     

    In expression use this-

    int(string('56'))
    Annotation 2020-07-28 193726.jpg
     
    Thanks
    Hardesh
  • peterhui50 Profile Picture
    5 on at

    still does't seem to work, not sure what I am doing wrong....

     

    Capture_2.JPGCapture_1.JPG

  • Verified answer
    v-litu-msft Profile Picture
    Microsoft Employee on at

    Hi @peterhui50,

     

    It's caused the "Total" value get from the Excel table is a string type, we should use an expression to convert it into integer:

    int(item()?['Totals'])Annotation 2020-07-29 105338.jpg

     

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 410

#2
Vish WR Profile Picture

Vish WR 289

#3
David_MA Profile Picture

David_MA 282 Super User 2026 Season 1

Last 30 days Overall leaderboard