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 Platform Community / Forums / Power Automate / 'The template language...
Power Automate
Unanswered

'The template language function 'greater' expects all of its parameters to be either integer or decimal numbers. Found invalid parameter types: 'Null'.' But there are no nulls and IF Statement doesn't work!

(0) ShareShare
ReportReport
Posted on by 60

I'm trying to update a SharePoint list from an Excel file - both the Excel file and list have a column CTM BRO ID.
I'm trying to filter the Excel file for just recent data which happens to start at ID 898.
I have to go through these steps to convert the CTM BRO ID to a number and then use the filter array to get all of the IDs greater than 897. It works up until the Filter array step, where I am getting an error 'The template language function 'greater' expects all of its parameters to be either integer or decimal numbers. Found invalid parameter types: 'Null'.'. My Excel file does not contain any nulls/blanks, but if I try an IF statement to replace nulls with zeroes, I get a blank filter array output. What am I missing?

Stacey_T_0-1712688052689.png

 

Categories:
I have the same question (0)
  • Verified answer
    Nived_Nambiar Profile Picture
    18,129 Super User 2025 Season 2 on at

    Hi @Stacey_T 

     

    I got it why error occurs

     

    You should replace the select action like below

    Nived_Nambiar_0-1712688838553.png

     

     

    Because then only you will get output from select action like this

     

    [

    {"CTM BRO ID":898},

    {"CTM BRO ID":899}

    ....

    ]

     

    with your current flow output from select action should be like 

     

    [

    {"897":897},

    {"898":898}

    ....

    ]

     

    Hope you got the idea 🙂

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel
    Blog: Nived Nambiar's Blogs

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

     

  • Stacey_T Profile Picture
    60 on at

    Oh wow, this is weird but also fantastic. Thank you!

  • Nived_Nambiar Profile Picture
    18,129 Super User 2025 Season 2 on at

    Hi @Stacey_T 

     

    if it worked

    Mark it as solution so it helps others 🙂

     

    Thanks & Regards,

    Nived N 🚀

    LinkedIn: Nived N's LinkedIn
    YouTube: Nived N's YouTube Channel
    Blog: Nived Nambiar's Blogs

    🔍 Found my answer helpful? Please consider marking it as the solution!
    Your appreciation keeps me motivated. Thank you! 🙌

     

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 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard