
Announcements
How to use Multiple if conditions in power automate? For example if an array have [ Direct,Indirect,No impact]. How can set if Direct then Direct = 100% , Indirect = 50% , No impact=0%. Then multiply weightage = 25% with the outcome of above such as 100% * 25 % or 50% * 25 % or 0% * 25%.
Hi @Bhanu2023,
You can have a nested if in the false condition of your first if.
Below is an example
if(equals(variables('Impact'), 'Direct'), '100%', if(equals(variables('Impact'), 'Indirect'), '50%', '0%'))