cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
freshyshreya
Post Partisan
Post Partisan

Filling contents in a label based on the selection from drop-down

Hi @RandyHayes ,

In the pic below,I want to add a function such that whatever option a user selects from 1(i.e. process) a particular value(this value should be per-defined by me) should get displayed in  2(i.e. opportunity description).

freshyshreya_0-1631196964983.png

Please help!

1 ACCEPTED SOLUTION

Accepted Solutions
Nogueira1306
Super User
Super User

Hey!

On DefaultSelectededItens create a switch

Switch( Combobox1.Selected.Value;

"ABC";

["function abc"];

"DEF";

["function def"])

 

And so on

 

If you need additional help please tag me in your reply and please like my reply.
If my reply provided you with a solution, pleased mark it as a solution ✔️!

Best regards,
Gonçalo Nogueira

Check my LinkedIn!

Check my User Group (pt-PT)!

View solution in original post

2 REPLIES 2
Nogueira1306
Super User
Super User

Hey!

On DefaultSelectededItens create a switch

Switch( Combobox1.Selected.Value;

"ABC";

["function abc"];

"DEF";

["function def"])

 

And so on

 

If you need additional help please tag me in your reply and please like my reply.
If my reply provided you with a solution, pleased mark it as a solution ✔️!

Best regards,
Gonçalo Nogueira

Check my LinkedIn!

Check my User Group (pt-PT)!

Hi @Nogueira1306 ,

In the below pic,when I am trying to add the switch formula,it throws error

freshyshreya_0-1631200230004.png

In the pic below,error is shown(marked)

freshyshreya_1-1631200378909.png

 

Note:1 is the drop down

2 is the label(where I want the result value)

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.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (5,360)