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

Highlighted

Works perfectly, thanks Alice.

Highlighted

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

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.

Top Solution Authors
Top Kudoed Authors
Users online (9,478)