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 with wrong va...
Power Apps
Unanswered

ComboBox with wrong value or null value in Gallery

(0) ShareShare
ReportReport
Posted on by 2

I have two tables.

First Table. Customers with two columns Name, IDCountry ie. Kim,001

Second Table Country.   ID, Description. ie 001,'USA'

 

I create a vertical gallery, set Customers as datasource and inserted two input text and 1 ComboBox.

I set

1st input box = name , fine, I can see Kim

2. input box = LookUp(Country,ID=ThisItem.IDCountry,Description) , Fine, I can See USA

3 combox1 =   value = Country, and I was not able to understand how to set  the Defaultselecteditems.

Indeed, the combo is always blank.

 

GiuseppeFina_0-1611580617555.png

I tried inserting a second records in country 002, Canada and in Customers Pialla,001 and changed the defaultselecteditems in

Filter(Country,ID=ThisItem.IDCOUNTRY,Description) and the results was

GiuseppeFina_1-1611580933848.png

The Input ltext is right and the combo box are wrong.

 

Someone can Help me, I will do appreciate. It seems that for the combo box ThisItem is not working as the input text.

Giuseppe

 

 

Categories:
I have the same question (0)
  • flugaoveltem Profile Picture
    217 on at

    Hi @GiuseppeFina 

    The value of combo1 is going to depend what is the data source in your table. 

    If for instance this column is a lookup field your defaultselect property must be a id, value like this: 

     

    {
     Id: LookUp(Country,ID=ThisItem.IDCountry,ID)
     Value: LookUp(Country,ID=ThisItem.IDCountry,Value)
    }

     

    What value combox1 is going to have ? 

  • GiuseppeFina Profile Picture
    2 on at

    @flugaoveltem,

    thanks for your quick reply.

    As I wrote for the combox1  value = Country, so when I click on the combo box I can see all Values

    GiuseppeFina_0-1611583240932.png

     

    I implemented your suggestion, (apparently It misses a comma),  but I still cannot see any displayed value in the combo.

     

    my aim is to have the same value in the input box and in the combo. Now the input is correct the combo is blank.

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 392

#2
WarrenBelz Profile Picture

WarrenBelz 364 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 271 Super User 2026 Season 1

Last 30 days Overall leaderboard