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

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
Highlighted
Community Support
Community Support

Re: Removing decimal points on calculated column

 

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
Highlighted
Community Support
Community Support

Re: Removing decimal points on calculated column

 

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

Highlighted
Advocate III
Advocate III

Re: Removing decimal points on calculated column

Works perfectly, thanks Alice.

Highlighted
Advocate III
Advocate III

Re: Removing decimal points on calculated column

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
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

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