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 / Dropdown items are not...
Power Apps
Unanswered

Dropdown items are not recognized in formula bar.

(0) ShareShare
ReportReport
Posted on by 39

Hi

i have a SP list name "Power List" and ther is a choice column name "AffectedBuildings" inside that list and showing in power app as a dropdown list "dataCard1" in a form, the dropdown list contains 3 choices "Building 1" "Building 2" and "Building 3", i want when i select Building 1 from the dropdown and submit the form, only the residents of building 1 can see that item in the gallery list in browse screen.

 

I tried to use items property: if(datacard1.selected.value = "Building1",true) but can't recognize 'Building1".

 

Your support is appriciated. 

Categories:
  • SebS Profile Picture
    4,867 Super User 2026 Season 2 on at

    Hi @haider1 

     

    The Bulding1 in Your choice is a Record and You compareing it with String try

     

    if(datacard1.SelectedText.Value = "Building1","true") insted and that should match

     

    Regards

  • haider1 Profile Picture
    39 on at

    same error and there is no selectedText in the  suggestions only (selected and selecteditems and both are not working).

  • SebS Profile Picture
    4,867 Super User 2026 Season 2 on at

    Hi @haider1 

     

    Sorry, my Network Die 🙂

     

    I forgot to add .Value at the end, below screens from working solution

     

    firefox_mzqOQOnqzy.png

    firefox_0w5RnVaJCN.png

  • SebS Profile Picture
    4,867 Super User 2026 Season 2 on at

    Hi @haider1 

     

    If You see Selected and SelectedItems, you don't use the DropDown box. That's ComboBox, and this is the reason my Solution does not work.

     

    Switch ComboBox to DropDown box, and in items use Choices to populate its syntax will be Choices(SPlist.Column) where SPList it's the list where the column with building nr is stored and Column it's the name of the Choice Column.

     

    If you need to use ComboBox I think you will need to Concat result to get it in the text but I don't see a reason to use ComboBox till You want a user to be able to pick more than one building

     

    Regards

  • SebS Profile Picture
    4,867 Super User 2026 Season 2 on at

    Hi @haider1 

     

    Here is a working solution with Combobox. You using the reson Your code is not working actually is the result of Control = Bulding1 already give You boolean Value and You adding  true after "," after "," You should add what will happen if the Logic is true and after next "," you adding what will happen if the Logic is false

     

    firefox_SPjhJNkII3.png

     

    firefox_FbQYGLi3A5.png

    So you can add a Lable that will have logic like this :

     

    If(ComboBox2.Selected.Value = "Bulding1","Send B1","Send B2") and then You can have a flow If that label showing Send B1 emails are sent to Tenants of Building 1 if it's Send B2 Emails are sent to Bulding2

     

    Regards

     

    Regards

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 382 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 329

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard