cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
fms
Level: Powered On

Sharepoint lists flow

Hello:

Is it possible to multiply two list field with flow and store in a diferent list ??

Can I store a calculated list field to a variable? I can´t see the calculated field.

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Sharepoint lists flow

HI @fms,

 

Could you please share a bit more about your SharePoint list?

Do you want to multiply two fields for a SharePoint list within a flow and store the result in a field of a different list?

 

I have created a two SharePoint lists on my side and the data structure of it as below:2.JPG

 

3.JPG

For your first question, I have made a test on my side and please take a try with the following workaround:6.JPG

Within Result field of "Create item" action, type the following formula:

mul(triggerBody()?['Multiplier1'],triggerBody()?['Multiplier2'])

 

The flow works successfully as below:7.JPG

 

4.JPG

 

5.JPG

 

 

For your second question, the Calculated field of a SharePoint list is not available in Microsoft Flow, we could not assign a value to the Calculated field or update the value of the Calculated field in Microsoft Flow. So I afraid that there is no way to store a Calculated field to a variable.

 

In addition, if you would like this feature to be added in Microsoft Flow, please submit an idea to Flow Ideas Forum:

https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

 

Best regards,

Kris

 

 

 

 

 

 

 

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
Community Support Team
Community Support Team

Re: Sharepoint lists flow

HI @fms,

 

Could you please share a bit more about your SharePoint list?

Do you want to multiply two fields for a SharePoint list within a flow and store the result in a field of a different list?

 

I have created a two SharePoint lists on my side and the data structure of it as below:2.JPG

 

3.JPG

For your first question, I have made a test on my side and please take a try with the following workaround:6.JPG

Within Result field of "Create item" action, type the following formula:

mul(triggerBody()?['Multiplier1'],triggerBody()?['Multiplier2'])

 

The flow works successfully as below:7.JPG

 

4.JPG

 

5.JPG

 

 

For your second question, the Calculated field of a SharePoint list is not available in Microsoft Flow, we could not assign a value to the Calculated field or update the value of the Calculated field in Microsoft Flow. So I afraid that there is no way to store a Calculated field to a variable.

 

In addition, if you would like this feature to be added in Microsoft Flow, please submit an idea to Flow Ideas Forum:

https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

 

Best regards,

Kris

 

 

 

 

 

 

 

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

fms
Level: Powered On

Re: Sharepoint lists flow

@v-xida-msft Thank you for your answer.

That is exactly what I tried, but when I want to add the expression to the result filed I receive an error in expresion.

If I copy 

mul(triggerBody()?['Multiplier1'],triggerBody()?['Multiplier2'])

to the result field  the flow fails because it places as string not an expression.

For the calcualetd field what I want is to store the value in other list field, but I can´t select it.

 

I am writing a full description of my lists and operations, I will publish in short.

Thanks in advance 

fms
Level: Powered On

Re: Sharepoint lists flow

My fault.

I was using ";" as separator between arguments in mul() as I use to do in Powerapps (Language Spanish change separatot) instead of ",".

I try with "," as separator and everything works fine.

 

 

 

In relation with calculated columns, what I really want to achive is:

List1 :

columns:

Hours int

PriceperHour int

Total calculated Hours*PriceperHour

 

List2 

columns

Total int

 

When I create an Item in list1 I want a workflow to create an Item in List2 with List2:Total=List1:Total.

List1:Total is calculated column so everytime I create or update the list this column wil be recalculated in sharepoint online and the workflow will add to list2:Total I don´t need calculations inside the workflow

I can´t find list1:Total to add to list2:total in create item list2 step 

 

Thanks for your answer

Mult() solve (My fault)

I think calculated is also solved because it is not possible right now.

Helpful resources

Announcements
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!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (6,221)