Abbas Sayyed
Abbas Sayyed

Reputation: 31

Power Automate Expression for Multiply

Issue : Unable to multiply in Power Automate.

Error Message :

Unable to process template language expressions in action 'Sales_with_Delta' inputs at line '0' and column '0': 'The template language function 'int' was invoked with a parameter that is not valid. The value cannot be converted to the target type.'.

Expression used for multiplication :

mul(int(outputs('Compose')),float(variables('delta')))

Flow Configuration

enter image description here

Question:

Please note

Upvotes: 0

Views: 957

Answers (1)

Skin
Skin

Reputation: 11197

You need to be specific when you're referring to a property in an object, try this ...

mul(int(outputs('Compose')['Sales']),float(variables('delta')))

Worked for me ...

Result

... you may just need to work through the .00001 decimal part of the result that you may not want there.

Upvotes: 1

Related Questions