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 / how to write combobox'...
Power Apps
Unanswered

how to write combobox's defaultselectitem

(0) ShareShare
ReportReport
Posted on by 321

 

table name maintablesubtable
column nameproduct_name  (choice type)asset_name (product_name's search type)
column nameIDID
column nameserial_no 

 

I have two tables in sp, product_name and asset_name connected. And I need to find serial_no of mainable.
The common column of the two tables is product_name, but there are many data with the same record. So, I use the combo box to add to the item attribute
'Filter(maintable, product_name = Gallery.Selected.asset_name.Value )'

Bingqiling_0-1705994863963.png

Bingqiling_0-1705995051680.png

I put in. The result was 9 records with the same product_name in the mainable. And among these, I have to return the record with the same id again. That item attribute value contains all the columns and data in the mainable, so I think I can find serial_no. I don't know how. Help me

 

Categories:
  • Bingqiling Profile Picture
    321 on at

    Bingqiling_0-1705996081193.png

    Writing this code returns the first record... I need an id value or serial_no linked to that asset_name.
    And I don't use form.

    LookUp(
     maintable,
     ID = LookUp(maintable, product_name = Gallery.Selected.asset_name.Value).ID
    )

     

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 409 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 252 Most Valuable Professional

Last 30 days Overall leaderboard