I have a dropdown pulling the options from a Sharepoint list. I was using If Statements to allow the user to navigate to the screen they selected. E.g.:
If(Dropdown.SelectedText.Value = "ABC",
Navigate("ABC")
The problem is that I have reached the limit; I have too many options, and PowerApps does not allow more than 50 nested statements.
Is there a way I can write a statement that does not require nested if statements, basically something like:
If(Dropdown.SelectedText.Value = ~Screen Name~,
Navigate(~Screen Name~)