cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Willo
Helper II
Helper II

Moving Data from one Sharepoint list to Another

Hello everyone,

 

I have a flow that gets the rows from a SharePoint list and writes it as text into another. One of those fields is a calculated field that gives me the week of the year as a number. When is writes this to the other SP list the value in text is coming with .000000 at the end of each whole number for the week of the year. Any thoughts no how to make that format into a whole number in the text column?

 

@smartin 

3 REPLIES 3
Hardesh15
Super User
Super User

@Willo 

Try followings-

1. Use compose and convert this number in Int. Example Int(your calculated column).

OR.

2. Split you value with '.'and pick first from collection. Example- first(split(calculated column,'.')).

 

Thanks

Hardesh

Thanks. When  attempt the below expression, I see the below. I have this set up in an apply to each as I'm collecting the data from one SP to another. 

 

 
 
 

Capture.PNG

@Willo 

 

Please add compose action in loop and supply your calculated column value in compose action. Then add one more compose action in which you can use Int('outputs('Compose')'). please select compose output from dynamic panel.

 

Thanks

Hardesh

 

 

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (1,222)