web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Multiple conditions br...
Power Automate
Answered

Multiple conditions branches

(0) ShareShare
ReportReport
Posted on by 820

Hi

Can you help me to build logic.

A have a single choice field lets say choices A,B,C,D,E

When user selects either A or either B or either C flow does some calulations in same way.

When user selects D - different calculation

When user selects E - another different calculation

 

I was thinking of using switch statement but can i writte some formula in equals field. For example if equals A or B or C or i need to anyway devide A,B,C in different case branches and copy same logic?

 

Or maybe i should use Case when D, then Case when E and default i just make logic for those 3 remainings maybe that is the best way?

Categories:
I have the same question (0)
  • Verified answer
    manuelstgomes Profile Picture
    6,625 on at

    HI @jja 

     

    Yes, the switch is the correct action to use. Why don't you use the first case for selected D, another for E, and have the "Default" take care of the remaining cases? Then you would have the same logic for A, B, and C in the same place.

     

    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.
    ​
    Cheers
    Manuel

  • Community Power Platform Member Profile Picture
    on at

    Hi,

    The best would be to create different cases for D & E and set A/B/C as default in your switch statement.

    Best,
    Abhi

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard