Hello,
Long story short, I need to update an item of the librery and add +1 to the current field value.
This is what I am doing:
So when at the end of the day an item has status = In Progress then I update column Days in Progress in sharepoint. Days in Progress = Days in Progress +1.
This is the expression I am using to update the Days in Progress field, using add to sum +1 and using also the fucntion coalesce to control the nulls in case the field is empty in sharepoint:
Solved! Go to Solution.
Hi @tania986
Try using
add(1,coalesce(items('Apply_to_each')?['Days_x0020_in_x0020_Progress'],0))
You can also filter the data from the get files action using
Status_x0020_Value eq 'In Progress'
this saves you from using the condition
Hi @tania986
Try using
add(1,coalesce(items('Apply_to_each')?['Days_x0020_in_x0020_Progress'],0))
You can also filter the data from the get files action using
Status_x0020_Value eq 'In Progress'
this saves you from using the condition
Hi @iltoningui ,
thanks for your quick and correct response. I tried and its working !!
The reason that i m not filtering the status in 'get files' is because i am going to add more status besides "In Progress". Actually, I think I will add a switch in the condicional since I will have like 4 or 5 different statuses.
Thanks.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.
Read the latest about new experiences and capabilities in the Power Automate product blog.
User | Count |
---|---|
24 | |
20 | |
9 | |
9 | |
7 |
User | Count |
---|---|
40 | |
33 | |
26 | |
22 | |
13 |