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 / LookUp formula assistance
Power Apps
Answered

LookUp formula assistance

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello everyone, 

 

I need a little bit of help here please. 

 

So, I've got a collection that is being created by the selected items of a combo box.

The items of a combo box are records of a database table's column. 

I want to add another column on the collection which would include and retrieve the idents of the selected items from the database table. 

 

Collection should look like this:

Column A - Selected items of a combobox (Item 1, Item 2, Item 3) 

Column B - The idents of Item 1, Item 2 and Item 3 on the sql database table. (example 10, 20, 30) 

 

Column A |  Column B

Item 1       |  10 

Item 2       |  20 

Item 3       |  30 

-----------------------------------------

 

What I currently get is: 

Column A |  Column B 

Item 1       |  10 

Item 2       |  10 

Item 3       |  10 

-----------------------------------------

 

It is not picking up the right idents for those items from the sql database table. 

If I test it by hardcoding it, it works fine but I need smth dynamic cause its for a lot of records. 

 

Im unsure on the condition I should use at the formula here

LookUp( sql_table_name,  ?? , name_of_ident_column)

 

Any help would be very much appreciated 🙂 

 

 

Categories:
I have the same question (0)
  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Solved it, by creating another collection populated with sql database table data and left joined these two collections.

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 490

#2
WarrenBelz Profile Picture

WarrenBelz 427 Most Valuable Professional

#3
Vish WR Profile Picture

Vish WR 381

Last 30 days Overall leaderboard