if-statementdropdownpowerappsdataverse

Navigate to another screen based on the dropdown item in Powerapps - Formula not working


I'm trying to create a shipping collection form for my team. How I want it to work is that there is a dropdown menu of countries a user can select and based upon that drop down selection, it will then navigate to a specific screen.

I used this sample to reference my formula but for some reason when I try it, the "=" is showing a red error and I cannot figure out why and believe that is what is stopping the formula from working. I created the dropdown menu items from a dataverse table that will be used to collect the shipping data.

Can someone help me understand what i'm doing incorrectly and how to fix it?

If(CountryData_1.Selected.Value = "Canada", Navigate('Collection Screen',ScreenTransition.Fade))

Page Preview


Solution

  • Try this

    enter image description here

    enter image description here

    If(DataCardValue61.Selected.Value='Department (Tickets)'.Admin,Navigate(MyAsset))