web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / odd request for dropdown
Power Apps
Unanswered

odd request for dropdown

(0) ShareShare
ReportReport
Posted on by 90

I have a dropdown that is populated from a SP list.

 

There is another list that already has some values in the column some of which might not match a value in the dropdown.

 

I would like to be able to compare the ThisItem value and the list of items in the dropdown and put out a message if a new selection needs to be made. The list of items in the dropdown are in a table.

 

Is this possible?

 

Thanks for looking. -Carter

Categories:
I have the same question (0)
  • elseb Profile Picture
    774 Moderator on at

    Hi,

     

    Are you trying to check if the dropdown selected item exists in the sharepoint list column?

  • disappointed Profile Picture
    90 on at

    The column in SP is a single line text. I would like to use a edit form and change the data card to be a dropdown. The problem has been to get the single line text to sync up with the dropdown and display on the edit form.

     

    Thanks for asking.  

  • elseb Profile Picture
    774 Moderator on at

    is this what you have?

     

    dropdown with items set to: 

           YOUR_LIST.YOUR_TEXT_COLUMN

     

    and the text field set to: 

           YOUR_DROPDOWN_NAME.SelectedText.Value

    or

           YOUR_DROPDOWN_NAME.SelectedText.YOUR_TEXT_COLUMN

  • disappointed Profile Picture
    90 on at

    The dropdown items list is populated from a SP list and it is displaying correctly. The dropdown has three items: "Please Select", "YES" and "No".

    When I select a value from the dropdown list (i.e. "YES" or "NO") and save the form, it is updating its SP list correctly when I look at the list.

    However, when I reselect this item, it does not show the selected value in the dropdown list.

    I do a refresh on the datasource after the save.

    The default property of the datacard is ThisItem."Update Required", the name of the field.

    I have not been able to put the default on the dropdown. I get a scope error for any syntax: Value(thisitem...), thisitem.Value, thisitem.text, blah blah. 

    As a long shot, I tried to get the value from the gallery where I select the item but that doesn't work either.

    Thank you for looking at this. I appreciate it.

     

  • disappointed Profile Picture
    90 on at

    Here is how I would like this to work:

    1. All data selections will be in a dropdown in the powerapps. 

    2. The text for from that selection will be inserted in a single line text field in SP. (Works up to this point.)

    3. When the row is displayed, it shows the dropdown with the data in the SP as the selected item. (Not working)

  • disappointed Profile Picture
    90 on at

    I finally figured out a solution for this. I now have the text field generated when the edit form is created. I add a dropdown to the data card and set it's default to the value of the generated form and the items from a collection created from a SP list of values. I change the update to use the selected value in the dropdown for the data card. 

     

    This does what I wanted.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 541

#2
WarrenBelz Profile Picture

WarrenBelz 434 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 289

Last 30 days Overall leaderboard