cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Put text as a default value in a Dropdown

I am creating a request application.

There are 2 dropdowns and both are link to different data source.

Dropdown1 links to a Sharepoint Master List that keeps all available reasons for the request and the level of importance of each reason.

Dropdown2 links to a Sharepoint List  that keeps all requests which also keep the level of importance of each request (The type of this column is "choice" including High, Medium, Low).

 

In my application, I want user to select a reason from dropdown1 and dropdown2 will change to High, Medium, Low accordingly.

My code in dropdown2.default is: Dropdown1.Selected.Level.Value

dropdown2.items is: Choices([@'Application Request'].'Level')

But there is an error on dropdown2 that it expects Record values while my rule produce Text values which are incompatible.

 

Is there a way to force this text value in to Dropdown2?

 

1 ACCEPTED SOLUTION

Accepted Solutions
eka24
Super User
Super User

Because the second is a Combobox and not a Dropdown control, use the DefaultSelectedItems instead of Default:

Change the code to  {Value: Dropdown3.Selected.Value}  or {Level: Dropdown3.Selected.Value} or {Value:Dropdown3.Selected.ColumnName}

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

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Consider Checking My Youtube Channel

 

View solution in original post

3 REPLIES 3
eka24
Super User
Super User

Can you show the formula on the Items property of the Dropdown1 and Dropdown2 because Dropdown1.Selected.Value  or Dropdown1.Selected.ColumnName should work.

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

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Anonymous
Not applicable

Yes, here it is.

dd1.jpg

eka24
Super User
Super User

Because the second is a Combobox and not a Dropdown control, use the DefaultSelectedItems instead of Default:

Change the code to  {Value: Dropdown3.Selected.Value}  or {Level: Dropdown3.Selected.Value} or {Value:Dropdown3.Selected.ColumnName}

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

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

Consider Checking My Youtube Channel

 

Helpful resources

Announcements
Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Top Kudoed Authors
Users online (3,430)