Skip to main content

Notifications

If and Switch Functions - The basics

rorybi Profile Picture Posted by rorybi 69

PowerApps and Flow are two closely related functions.  In this video I demonstrate how to use them to perform the task of changing fill the colour of a text box based on the dropdown selected.

 

I don't go into this in detail, but my guidance would be

  1. If you only have 2 states then you might as well use IF
  2. If you are looking at more than 2 end states AND you are just looking at 1 thing (i.e. 1 dropdown, or even one global variable) then you are better off using Switch
  3. If you are looking at complex conditions that look at more than 1 dropdown/global variable as the routine progresses then you are back to using if.  I would question this approach however and suggest that there ought to be a better way of getting the behaviour in this scenario you'll be building statements that only you will understand and it will be very difficult to pass the app on to a colleague.

Happy PowerApping

 

Categories:

Comments