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

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / smallmoney from SQL no...
Power Automate
Unanswered

smallmoney from SQL not allowable for Power Automate flow?

(0) ShareShare
ReportReport
Posted on by 523

Hi,

 

I am not sure if the datatype - smallmoney from a field in a SQL table is allowable in the Power Automate? I am running into the error - "Unable to process template language expressions for action 'Condition' at line '0' and column '0': 'The template language function 'greaterOrEquals' expects two parameter of matching types. The function was invoked with values of type 'String' and 'Integer' that do not match.'."

 

If so, how do I fix this?

 

Smallmoney1.png

 

Thank you 🙂

 

 

Categories:
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    52,972 Super User 2025 Season 2 on at
    Re: smallmoney from SQL not allowable for Power Automate flow?

    Hi @Holly_CMS 

     

    The issue isn't that you cannot compare money (aka decimal/float) it is that your values are not of the same type. One is a string and on is a number.

     

    Your first Dynamic property are strings, not $$. I mean they may look like it but its not in that format.

     

    So lets convert it to an int and get you going.

     

    But first I need to see an example of what it looks like. Can you please add 1 Compose action above the condition

    and put the Dynamic Property there, run your flow, it will fail, but you can grab the the Output of the compose to share what it looks like.

     

    Or if you want to take a picture of what it looks like in SharePoint.

    I really want to make sure there is no $ sign or currency symbols and its just like 12000.12 


    If I have helped you, I would really appreciate if you please Mark my answer as Resolved/Answered, and give it a thumbs up, so it can help others

    Cheers

    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

     

     

  • Holly_CMS Profile Picture
    523 on at
    Re: smallmoney from SQL not allowable for Power Automate flow?

    Here you go. Originally, the column was in a single line of text and then I flipped to number...

     

    Smallmoney3.pngSmallmoney2.png

  • Verified answer
    Michael E. Gernaey Profile Picture
    52,972 Super User 2025 Season 2 on at
    Re: smallmoney from SQL not allowable for Power Automate flow?

    Hi @Holly_CMS 

     

    super simple then

     

    You need to wrap your Dynamic property in the int expression.

     

    1. Remove the Dynamic property on the left

    2. Click in the Space

    3. when the pop up shows, click the Expression tab

    4. type int() (no spaces between ( and )

    5. without close the popup click the Dynamic property tab

    6. Click in between the two ( and )

    7. scroll to your dynamic property, click it, it will insert itself inbetween the ( and )

    do that for both

     

    Done


    If I have helped you, I would really appreciate if you please Mark my answer as Resolved/Answered, and give it a thumbs up, so it can help others

    Cheers

    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

  • Holly_CMS Profile Picture
    523 on at
    Re: smallmoney from SQL not allowable for Power Automate flow?

    Ok I got to the expression part done >> 

     

    int(items('Apply_to_each')?['cost_estimate'])

     

    but which left of the action are you referring to in step 1? 

     

    This?

    Holly_CMS_0-1698369055830.png

     

  • Michael E. Gernaey Profile Picture
    52,972 Super User 2025 Season 2 on at
    Re: smallmoney from SQL not allowable for Power Automate flow?

    @Holly_CMS 

     

    yeap in your Condition since thats where the error is from.


    If I have helped you, I would really appreciate if you please Mark my answer as Resolved/Answered, and give it a thumbs up, so it can help others

    Cheers

    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

  • Holly_CMS Profile Picture
    523 on at
    Re: smallmoney from SQL not allowable for Power Automate flow?

    Ok That's what I thought - I am testing it right now. BRB 🙂

  • Michael E. Gernaey Profile Picture
    52,972 Super User 2025 Season 2 on at
    Re: smallmoney from SQL not allowable for Power Automate flow?

    @Holly_CMS 

     

    as long as no values are blank or null (the costs estimates) it should be fine, if some can be null or blank then we need to change it again, you didnt say so I just me'hd t lol

     

  • Holly_CMS Profile Picture
    523 on at
    Re: smallmoney from SQL not allowable for Power Automate flow?

    hmmm....??

     

    Holly_CMS_0-1698371488804.png

     

  • Holly_CMS Profile Picture
    523 on at
    Re: smallmoney from SQL not allowable for Power Automate flow?

    I figured out the error - Both are working now! 🙂

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

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard