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 and filter to t...
Power Apps
Answered

LookUp and filter to two database

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hey, I have a problem because I want to look up data from two tables in a database. For now, I search for data in one using the item number, here is an example:

LookUp(Filter(TABLE,DATAAREAID="abb"),ITEMID = DataCardValue3.Text ,NAME)

Now I would like to get data from another table called VTABLE and after the id in that table, find in TABLE the id referring to the ID in the VTABLE table and extract the data from the PERSON column

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

    I solved my problem in such a way that first I download some data to the label, and then in another window I look for data based on this label.

    Now i have problem with label.text , when i try to reference inside label i get an error:

    Piter_D_0-1640247573965.png

    Or another question, can I combine these two formulas into one?

     

    LookUp(Filter(TABLE,DATAAREAID="aab"),ITEM = DataCardValue3.Text ,VID) // this is in Label2 , DataCardValue3 = item number
    and
    LookUp(Filter(VTABLE,DATAAREAID="aab"),ACCOUNTN = Label2.Text ,NAME)

     

    Solution:

    LookUp(Filter(VTABLE, DATAAREAID="aab"), NUM = LookUp(Filter(TABLE,DATAAREAID="aab"),ID = DataCardValue3.Text ,VID), NAME)

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 1,055

#2
Valantis Profile Picture

Valantis 666

#2
11manish Profile Picture

11manish 666

Last 30 days Overall leaderboard