cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

Format number from calculated column

Hi all, need your help with Power Automate to format a number from a caculated column. 

In a SharePoint list I calculate a sum of other columns. The total as shown in the list is correct.

In the flow I cannot simply get dynamic field D17 because the output is shown as 57.8300000000000 

So I added Number format as action and compose. Still, the output is not what I need. 


What am I doing wrong? Run history says it cannot format the number because it expects the first parameter to be an exact number but the value is of type string. Hope there is help out there 🙂

format number.png

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Frequent Visitor

Re: Format number from calculated column

I figured it out.

 

In the compose action I added an Expression:  Float(triggerBody()?['D17'])

(D17 is the name of the column)

 

Job done.

View solution in original post

3 REPLIES 3
Highlighted
Frequent Visitor

Re: Format number from calculated column

Highlighted
Frequent Visitor

Re: Format number from calculated column

I figured it out.

 

In the compose action I added an Expression:  Float(triggerBody()?['D17'])

(D17 is the name of the column)

 

Job done.

View solution in original post

Highlighted
Microsoft
Microsoft

Re: Format number from calculated column

Thank you for replying with the solution for this thread @ReneRovekamp !

 

Regards,

Ricardo

Helpful resources

Announcements
Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Upcoming Events

Experience what’s next for Power Automate

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Top Solution Authors
Top Kudoed Authors
Users online (7,125)