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 / Combobox not able to p...
Power Apps
Answered

Combobox not able to pass on selected values from the dropdown list

(0) ShareShare
ReportReport
Posted on by 15

Hello,

 

I previously used DropDown but I found out that it does not have an inline search. So I have to use a Combobox for this function. The snapshot is from the list populated by Combobox1. Multiple selection is off. And the items property is a SQL table called 'Details'. The list that is shown is from a Column/Field named Customer_Name in the 'Details' table.

Appyenthusiast_0-1626249563677.png

Now the lookup query is not working to retrieve the Customer_Id from the same table 'Details'

 

 

LookUp(Details, Customer_Name = Combobox1.SelectedItems).Customer_Id

 

 

But if I use the code below, it successfully returns the Customer_Id

 

LookUp(Details, Customer_Name = "Understated advantage").Customer_Id

 

 What am I doing wrong here? Any help is appreciated.

Categories:
  • WarrenBelz Profile Picture
    156,566 Most Valuable Professional on at

    Hi @Appyenthusiast ,

    Try

    LookUp(
     Details, 
     Customer_Name = Combobox1.Selected.Customer_Name
    ).Customer_Id

     

    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.

  • Appyenthusiast Profile Picture
    15 on at

    Unfortunately that did not work. 

  • WarrenBelz Profile Picture
    156,566 Most Valuable Professional on at

    @Appyenthusiast ,

    What are the Items of ComboBox1?

  • Verified answer
    Appyenthusiast Profile Picture
    15 on at

    As mentioned in my original question :

    "And the items property is a SQL table called 'Details'."

     

    However after some more trial and error, this edit using the CONCAT command seems to work. I am not sure why though.

    LookUp(Details, Customer_Name = Concat(ComboBox1.SelectedItems, Customer_Name,", ")).Customer_Id
  • WarrenBelz Profile Picture
    156,566 Most Valuable Professional on at

    @Appyenthusiast ,

    That does not make a lot of sense to me that your customer name would consist of the list of items selected in a combo box separated by commas.

    As for your Items, I wanted to check if it was filtered on this list - I always ask for the exact code as many people post fairly vague references.

     

    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.

  • Appyenthusiast Profile Picture
    15 on at

    There is no 'code' it just populates the name of the Data table in SQL

    Appyenthusiast_0-1626350108298.png

     

  • WarrenBelz Profile Picture
    156,566 Most Valuable Professional on at

    @Appyenthusiast ,

    I know - I was just explaining why I ask questions rather than assuming the person posting understands what the content of their post could mean.

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 397 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 354

#3
WarrenBelz Profile Picture

WarrenBelz 232 Most Valuable Professional

Last 30 days Overall leaderboard