cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Advocate IV
Advocate IV

Removing decimal points on calculated column

I have a Sharepoint list that has five numerical columns and then a final calculated column that totals the previous five. That column is set up using format 'number' and with the calculation:

=Round((Monday+Tuesday+Wednesday+Thursday+Friday),0)

However, when I try to pass this column through into Flow, I am getting the number with multiple decimal points after it. I was specifically trying to avoid this by using the 'round' fuction, but it doesn't seem to make any difference.

 

Any other way to pass this column's value through without the decimal points attached?

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support
Community Support

 

Hi @JamesSnaps,

 

I have made a test on my side and the issue is confirmed on my side.

 

Please add an expression int() to calculated formate the column's value to int type.

 

I have made a test to create a calculated column named "Calculate" in the sharepoint list, and you could refer to screenshot below to create the flow:

Capture.PNG

 

The expression in the Compose as below:

 

int(items('Apply_to_each')?['Calculate'])

 

The flow would run successfully as below:

Capture.PNG

 

 

Best regards,

Alice

View solution in original post

3 REPLIES 3
Community Support
Community Support

 

Hi @JamesSnaps,

 

I have made a test on my side and the issue is confirmed on my side.

 

Please add an expression int() to calculated formate the column's value to int type.

 

I have made a test to create a calculated column named "Calculate" in the sharepoint list, and you could refer to screenshot below to create the flow:

Capture.PNG

 

The expression in the Compose as below:

 

int(items('Apply_to_each')?['Calculate'])

 

The flow would run successfully as below:

Capture.PNG

 

 

Best regards,

Alice

View solution in original post

Works perfectly, thanks Alice.

Error DisplayError Display

 

Even after writing the mentioned solution, i am getting an error display.... Can you help to overcome the error display???

Helpful resources

Announcements
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (53,944)