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 / Converted string to IN...
Power Automate
Answered

Converted string to INT how do you return it to the original Get Items data?

(0) ShareShare
ReportReport
Posted on by

So I'm trying to get data from a SharePoint list. The data is a number formatted as a string.

I've used INT to convert a DaysRemaining string to an integer within the flow, and I can see that it was successful, but I cannot combine it back to the original data to

1. Filter the array on DaysRemaining < 90

2. Create a CSV attachment to an email of the filtered data with other fields.

 

I know how to capture output to a CSV attachment.

What I'm having trouble with is getting the original data ie. Product, TeamLead, etc connected with the converted integer. So I can filter the array for just the items I want, then output that to the CSV.

 

Hope I'm explaining this correctly. This is my 3rd day working with Flows 🙂

Thanks!

 

 

Categories:
I have the same question (0)
  • abm abm Profile Picture
    32,985 Most Valuable Professional on at

    Hi @mad05150 

     

    Could you please post a screen shot of your flow?

     

    Thanks

  • mad05150 Profile Picture
    on at

    Full disclosure, I've added and deleted so much from the flow trying to learn it. This is where I'm back to currently.

    Only have the string conversion left.

     

    Screenshot 2020-11-19 145242.png

  • Verified answer
    abm abm Profile Picture
    32,985 Most Valuable Professional on at

    Hi @mad05150 

     

    Try the following

     

    image.png

     

    Expression I used above is as follows:

     

    int(item()?['TaskId'])

  • mad05150 Profile Picture
    on at

    Ok one last thing. I've added to that function and checked to see if it was less than or equal to 0. Which returns true/false correctly. Can I filter the array to just select the true items?

    I can't seem to get that to work.

     

    Screenshot 2020-11-19 160737.png

    Thanks!!

  • mad05150 Profile Picture
    on at

    I figured it out. the create table was referencing the wrong output. Thanks for all 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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 641

#2
Vish WR Profile Picture

Vish WR 640

#3
Haque Profile Picture

Haque 495

Last 30 days Overall leaderboard