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 Automate - Building Flows
Answered

Convert a value from a calculated SharePoint column, convert to number -- InvalidTemplate error

(0) ShareShare
ReportReport
Posted on by 20

I am trying to get a value from a calculated column in SharePoint, convert it to number and then use that output to update a different column in SharePoint. I'm getting an InvalidTemplate error.

 

What am I doing wrong here? Thanks you for your help!

 

f1.png

f3.png

f2.png

I have the same question (0)
  • danmitchell36 Profile Picture
    268 on at
    Re: Convert a value from a calculated SharePoint column, convert to number -- InvalidTemplate error

    @kreed 

     

    I don't believe the Compose step is needed. You can use the expression you created right in the field in the update item step. 

     

    Let me know if this helps! 

  • kreed Profile Picture
    20 on at
    Re: Convert a value from a calculated SharePoint column, convert to number -- InvalidTemplate error

    @danmitchell36-- thank you for looking at this--it's driving me crazy! 😄

     

    I'm still getting the same error. The SharePoint column is calculated and stored as text, though I have tried it in number format with the same result when I try to run the Flow.

     

    f5.png4.png

  • danmitchell36 Profile Picture
    268 on at
    Re: Convert a value from a calculated SharePoint column, convert to number -- InvalidTemplate error

    I have no issue doing this. Can you add a screenshot of the output of the get item step?

    This is what mine looks like. My calc field is "Test calc"

     

    Snag_1803a6d4.png

  • kreed Profile Picture
    20 on at
    Re: Convert a value from a calculated SharePoint column, convert to number -- InvalidTemplate error

    I'm trying to convert SI and use it to update another column, SIS.

     

    g4.png

  • Verified answer
    danmitchell36 Profile Picture
    268 on at
    Re: Convert a value from a calculated SharePoint column, convert to number -- InvalidTemplate error

    So strange, mine works fine.

     

    Snag_1845b039.pngSnag_1845ba3b.png

     

     

    I would try to rewrite the float() function. Beyond that I'm not sure 

     

    sorry @kreed 

  • kreed Profile Picture
    20 on at
    Re: Convert a value from a calculated SharePoint column, convert to number -- InvalidTemplate error

    @danmitchell36Thank you so much for helping me with this! After iterating on this several times, I finally closed my browser, cleared my cache, rewrote the expression and it worked. Is there a preferred browser for building flows?

  • danmitchell36 Profile Picture
    268 on at
    Re: Convert a value from a calculated SharePoint column, convert to number -- InvalidTemplate error

    @kreed ,

     

    Glad it worked! I prefer Chrome.

  • Community Power Platform Member Profile Picture
    on at
    Re: Convert a value from a calculated SharePoint column, convert to number -- InvalidTemplate error

    I am having the same issue

    I am using Chrome  and have tried clearing cache.

    If I try Expression - float() or int(), the calculated field is not listed under Dynamic content to add it as parameter.

    Any ideas?

    Thanks    

  • BonnieStar Profile Picture
    39 on at
    Re: Convert a value from a calculated SharePoint column, convert to number -- InvalidTemplate error

    I've having the same issue.  If I try Expression - float() or int(), the calculated field is not listed under Dynamic content to add it as parameter.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 614 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 401 Moderator

#3
chiaraalina Profile Picture

chiaraalina 282

Last 30 days Overall leaderboard