cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
dandandsan
Level: Powered On

If help

Hi,

 

I'm very new to this and trying to learn as I go along so any help would be much appreciated. 

 

I'm trying to create a next icon to take users to the required screen based on a device model.

 

I have tried this simple test to no avail - If(Model=M1,Navigate(Screen1)

 

I would also like to grow the statement to include different device models so thinking the statement with need to include Or?

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
WarrenBelz
Level 8

Re: If help

Hi @dandandsan ,

You can use If

If(
   Model="M1",
   Navigate(Screen1),
   Model="M2",
   Navigate(Screen2),
   Model="M3",
   Navigate(Screen3)
)

or Switch

Switch
   Model
   "M1",
   Navigate(Screen1),
   "M2",
   Navigate(Screen2),
   "M3",
   Navigate(Screen3)
)

If Model was a text box, it be replaced by Model.Text

If a drop-down, Model.Value or Model.Result or Model.FieldName depending on how the drop-down was formed.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

 

View solution in original post

2 REPLIES 2
WarrenBelz
Level 8

Re: If help

Hi @dandandsan ,

You can use If

If(
   Model="M1",
   Navigate(Screen1),
   Model="M2",
   Navigate(Screen2),
   Model="M3",
   Navigate(Screen3)
)

or Switch

Switch
   Model
   "M1",
   Navigate(Screen1),
   "M2",
   Navigate(Screen2),
   "M3",
   Navigate(Screen3)
)

If Model was a text box, it be replaced by Model.Text

If a drop-down, Model.Value or Model.Result or Model.FieldName depending on how the drop-down was formed.

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

 

View solution in original post

dandandsan
Level: Powered On

Re: If help

@WarrenBelz 

 

Thank you very much, it works a treat.

Helpful resources

Announcements
New Ranks and Rank Icons in April

'New Ranks and Rank Icons in April

Read the announcement for more information!

Better Together’ Contest Finalists Announced!

'Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

thirdimage

Community Summit North America

Innovate, Collaborate, Grow - The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Top Kudoed Authors
Users online (8,989)