cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
WendeReisss
Advocate I
Advocate I

Condition IF or Switch - With Field Text Input Cost and Field Text Input E-mail related Each Other

Hi!
@RandyHayes @mdevaney ,

Can you help me with the follow doubt:

I have a field (Text Input 1) to insert "cost" ($ 1,000 etc...) maually.

I have another field (Text Input 2) to insert "Email" as simple text manually (wend@powerapps.com) or (wend@powerapps.com; reis@powerapps.com)

---------------------------------------------------------------------------------------------------------------------------------

I need help for this:

I need to link cost with e-mail. For instance:

If or Switch cost (Text Input 1) be >= $ 1,000 and <= $ 2,000, the field Text Input 2 show "wend@powerapps.com"

If or Switch cost (Text Input 1) be between >= $ 2,001 and <= $ 3,000, the field Text Input 2 show "wend@powerapps.com; reis@powerapps.com"

If or Switch cost (Text Input 1) be between >= $ 3,001 and <= $ 4,000, the field Text Input 2 show "name@powerapps.com"

 

If is blank field stay in blank

1 ACCEPTED SOLUTION

Accepted Solutions
Ismael_Novo
Resolver III
Resolver III

Hi WendeReisss.

 

This could be a first aproach to your need:

 

If( 
Value(TextInput1.Text) >= 1000 And Value(TextInput1.Text) <= 2000; "wend@powerapps.com" ;
Value(TextInput1.Text) >= 2001 And Value(TextInput1.Text) <= 3000; "wend@powerapps.com;reis@powerapps.com" ;
Value(TextInput1.Text) >= 3001 And Value(TextInput1.Text) <= 4000; "name@powerapps.com"
)

 Kind regards

View solution in original post

3 REPLIES 3
Ismael_Novo
Resolver III
Resolver III

Hi WendeReisss.

 

This could be a first aproach to your need:

 

If( 
Value(TextInput1.Text) >= 1000 And Value(TextInput1.Text) <= 2000; "wend@powerapps.com" ;
Value(TextInput1.Text) >= 2001 And Value(TextInput1.Text) <= 3000; "wend@powerapps.com;reis@powerapps.com" ;
Value(TextInput1.Text) >= 3001 And Value(TextInput1.Text) <= 4000; "name@powerapps.com"
)

 Kind regards

Because of my Power Apps language, I have to change semicolon (;) in your solution to comma (,).

You explanation was very helpful. Thank you so much for your help.


Ismael_Novo
Because of my Power Apps language, I have to change 
semicolon (;) in your solution to comma (,).

You explanation was very helpful. Thank you so much for your help.

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Users online (3,055)