Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

'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

 

  • Nived_Nambiar Profile Picture
    17,739 Super User 2025 Season 1 on at
    Re: '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!

    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! 🙌

     

  • Stacey_T Profile Picture
    60 on at
    Re: '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!

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

  • Verified answer
    Nived_Nambiar Profile Picture
    17,739 Super User 2025 Season 1 on at
    Re: '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!

    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! 🙌

     

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492