cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
objectivelyLost
Helper I
Helper I

Use different fields for display and default in radio and dropdown controls?

I like to use a table for the items property in my choice controls so that I can change the display text as needed without having to adjust other formulas that are referencing the selections. For example:

 

Table(

{value: "Option A", index:1},

{value: "Option B", index:2},

{value: "Option C", index:3}

 

Now if I want to change "Option A" to read "Option D",  I don't have to change it anywhere else, since I'm referencing the index and not the displayed value directly.  

 

The only issue with this is that the default property seems to only work with the column that is being displayed.  Is there a simple way to use another column for the default value?  I know I can create the table as a variable rather than in the control and use a lookup to reference it, but that seems like it would be a pain to deal with if there are more than a handful of option controls.

1 ACCEPTED SOLUTION

Accepted Solutions
WarrenBelz
Super User
Super User

Hi @objectivelyLost ,

That process (as you have discovered) often does not function well. I use a conditional argument to do a collection (ensure the field name is the same) and then use the collection as the Items of the drop-down. 

 

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

1 REPLY 1
WarrenBelz
Super User
Super User

Hi @objectivelyLost ,

That process (as you have discovered) often does not function well. I use a conditional argument to do a collection (ensure the field name is the same) and then use the collection as the Items of the drop-down. 

 

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

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Microsoft Ignite 768x460.png

Find your focus

Explore the latest tools,training sessions,technical expertise, networking and more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (1,677)