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 / Filter Different Data ...
Power Apps
Answered

Filter Different Data Sources

(0) ShareShare
ReportReport
Posted on by 23

Hi,

 

how is it possible to filter datasource B based on values from datasource A.

 

For example:

 

1. in datasource A, I have document ID

2. in datasource B, I have document ID, description, quantity, etc.

 

Now in Screen 1 I have browsegallery 1 where I show values from datasource A and I want when I go to detail screen (which has connection to datasource B) to present data for selected ID from browse gallery 1. 

 

On that detail screen (the one with datasource B) I would like to show either browse gallery or displayform, or data table just need to have filtered data based document ID from browse screen 1 from browse gallery1. 

 

Best regards,

Renato. 

Categories:
I have the same question (0)
  • Shanescows Profile Picture
    2,218 Most Valuable Professional on at

    Hi @RenatoF I have a video on PowerApps Multiple Data Sources that may help.

     

    I don't cover this exactly but I do cover the mechanics of incorporating multiple lists and using them in dropdowns. 

     

    Here are your steps:

    1. Screen 2 add a Form
    2. Set the datasource to be DataSourceB
    3. Set the Items to be LookUp(DataSourceB,DepartmentID = BrowseGallery1.Selected.DepartmentID) 

    That should cover it. 

  • RenatoF Profile Picture
    23 on at

    Hi @Shanescows, this helps in case when I have in datasource B only 1 record connected with datasource A, but what if I hade in datasource B situation like this:

     

    ID = 1

    No = 1000

    Qty = 5

     

    ID = 1

    No = 2000

    Qty = 6

     

    how to present both no = 1000 and no =2000

     

    I tried with form and gallery but only show one of them. 

     

    Br, 

    Renato. 

  • Verified answer
    Shanescows Profile Picture
    2,218 Most Valuable Professional on at

    Since you want to show multiple records I would use a Gallery and Filter.

     

    1. Screen 2 add Gallery2
    2. Set the Items to be Filter(DataSourceB,DepartmentID = BrowseGallery1.Selected.DepartmentID)

    Just tested it and that works. 

     

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 505

#2
WarrenBelz Profile Picture

WarrenBelz 502 Most Valuable Professional

#3
Haque Profile Picture

Haque 324

Last 30 days Overall leaderboard