cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Wintermere
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? 

 

Wintermere_0-1623239627305.png

 

Wintermere_1-1623239828736.png

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

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

 

1 REPLY 1
annajhaveri
Community Champion
Community Champion

@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?

Regards,
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

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (4,738)