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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Having issue lead to f...
Power Automate
Answered

Having issue lead to fail Updating item.

(0) ShareShare
ReportReport
Posted on by

2024-06-05_22h37_08.png2024-06-05_22h38_48.png

I want to Update the item value with the formula 

sub(variables('Usage time'),mul(int(variables('Usage Day')),960))

and it come up with the error ,how could i deal with the int() function

Categories:
  • Verified answer
    v-mengmli-msft Profile Picture
    Microsoft Employee on at

    Hi @Tp_Pj ,

     

    Please check if the Usage Day is pure number with no decimal point, the int just can convert pure number.

    If you want to convert float to int, please try this.

    sub(variables('Usage time'),mul(int(first(split(variables('Usage Day'),'.'))),960))

     

     

     

    Best regards,

    Rimmon

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 227 Super User 2026 Season 2

#2
David_MA Profile Picture

David_MA 213 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 151

Last 30 days Overall leaderboard