Hi everyone,
In "Word Online Business" action, I am using the fx expression to sum the values of the other columns. However, it won't work if there are more than 2 values. Is there a workaround to it?
If I get rid of the 3rd if statement, it will work.
add(
if(contains(body('Select_-_OptionalUpgrades'), 'Zip Tap'),
variables('ZipTap'),
0
),
if(contains(body('Select_-_OptionalUpgrades'), 'V-Zug Combi Steam Oven'),
variables('V-ZugCombi'),
0
)
,
if(contains(body('Select_-_OptionalUpgrades'), 'V-Zug Warming Drawer'),
variables('V-ZugWarming'),
0
)
)
Error:
Unable to process template language expressions in action 'Populate_a_Microsoft_Word_template' inputs at line '0' and column '0': 'The template language function 'add' expects two numeric parameters: the first summand as the first parameter and the seccond summand as the second parameter. The function was invoked with '3' parameter(s). Please see https://aka.ms/logicexpressions#add for usage details.'.