Showing results for 
Search instead for 
Did you mean: 
Helper I
Helper I

float() fail in some flow runs

Hi, I'm building a flow populates word file based on SharePoint item added. There are auto calculated fields that go as the input to "Format Number" and "GM Percent" respectively as below. My intention is to format these numbers to appear as 1,000,000 for "Format Number" and 23% for GM Percent.


Unfortunately some of the runs fail with below error while some of the run are successful. Can anyone point out where the problem is? 





Expression used for Format number is float(body('Get_item')?['Gross_x0020_Margin2']) 

and for GM Percent is float(body('Get_item')?['GM_x0025_'])


Super User
Super User

@Wintermere  can you please provide what are the value for Gross_x0020_Margin2 and GM_x0025_ when the flow fails and when the flow succeeds?

Anna Jhaveri

If I have answered your question, please mark the post as Solved to help other users to identify the correct answer
If you like my response, please give it a Thumbs Up.

Helpful resources

MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Solution Authors
Users online (1,959)