Question

I have a list that looks up for information from other lists. There is a basic column (single line of text) showing quantity and an other one showing the price (lookup). The only thing I'd like to achieve is to be able multiplying those 2 numbers. SharePoint does not allow to calculate with lookup item so the easiest way does not work. I was trying to create a workflow but it only lets me to copy list item to an other list, but not to a given column in that list. Note: SPD is enabled.

Do you have any solution for that?

Était-ce utile?

La solution

In your workflow, use variables to convert your fields into numbers.

Set variable "quantity" to "CurrentItem:Quantity (as double)"
Set variable "unitPrice" to "CurrentItem:Price (as double)" <--this is my lookup
Do calculation to multiply `quantity * unitPrice` and set your total Price field.
Licencié sous: CC-BY-SA avec attribution
Non affilié à sharepoint.stackexchange
scroll top