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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Automate
Unanswered

Power Automate

(0) ShareShare
ReportReport
Posted on by 8

Greetings to all:

I have a situation with my PowerAutomate, my process is to upload a two column date from Excel to SharePoint.
seeing several examples of how I can do it. But this is throwing me an execution error, if you can help me to finish my work. I can thank you.

This is the error that tells me:

 

Unable to process template language expressions in action 'ComposeReferido' inputs at line '1' and column '18840': 'The template language function 'int' was invoked with a parameter that is not valid. The value cannot be converted to the target type.'.

 

Pawer Automate.PNG

Categories:
I have the same question (0)
  • Gopala_Krishna Profile Picture
    1,495 on at

    @icq2102 

    The error indicates that the parameter passed in function int() is not of type string. The conversion function int() converts any string to an integer if the parameter is not of type string then it throws an error.

     

    This can also happen at times when the column that you are trying to convert contains blank values, let us consider that you have a column in excel sheet called "Age" and you are trying to convert this to integer value, if the "Age" contains blank values then those cannot be convert and it gives an error. To tackle the blank value scenario you can make use of the below expression.

     

    if(empty("Age"),null,int("Age"))

     

    The above expression tries to compare the value in age column and if it's empty then we get a null there else we will get whatever value that was present in Age column converted as an integer.

     

    ------------------------------------------------------------------------------------------------------------------------------

    If the information shared helps, please consider giving a thumbs up 👍 and mark solution as resolved

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard