Showing results for 
Search instead for 
Did you mean: 
Advocate I
Advocate I

Can I add fields from multiple data sources into a single gallery of items?



I have recently started to build apps on my Android. I have 2 data sources.


1. Table 1{ID, Name, Date, Ticket Details}

2. Table 2 {ID, Name, Region}


I would like to be able to display items based on Region selected.  I am thinking to use Filter function on Table 1 by Region but I would need to somehow join the 2 tables by common field [Name] in order to be able to do so.


Any idea or help will be appreciated. Thank U!



Boon Yar



In my scenario,

I have 

Sharepoint list 1: Title,Product

sharepoint list 2: Title,MyProducts

  • Here Both Title columns are having different data.
  • And both Product and MyProducts Columns are lookups with different names and having same data.
  • In My Application, Dropdown1 has Title column form Sharepoint list 1
  • Dropdown 2 has Title column from Sharepoint List 2
  • Now I need to filter Dropdown2 Title values based on Dropdown1 Title values using similar data from Products and MyProducts lookup columns from two sharepoint list

Can anyone please help me with getting these values into PowerApp form.

Thanks in advance.

Not applicable

If I am understanding your question correctly I am doing something similar with a Categories and Subcategories list in SharePoint.  

Categories  have Columns {ID, Title, Category}

SubCategories have Columns {ID, Title, CategoryLookup, Subcategory} where CategoryLookup is a Lookup field to the Categories list.

On my form I have a Category dropdown which looks up the categoryCapture.PNG

I also have a second field Subcategory which looks up the subcategory (needs to be related to the category, ignore the warning it has to do with delegation)






In the Items property for my Subcategory control I have the following expression:

SortByColumns(Filter(SubCategories,CategoryLookup.Value = CategoryLookupFilter_Dropdown.Selected.Value),"SubCategory")

The key is the Filter function.  

SubCategories - Data source pointing to my Subcategories list in SharePoint

CategoryLookup - Column in the Subcategories list 

CategoryLookup.Value - I get the Value property from the lookup, I could use the ID property as well would need to adjust the other side of the equation

CategoryLookupFilter_Dropdown - the control on my PowerApps form

CategoryLookupFilter_Dropdown.Selected.Value - gets the value that was selected in the dropdown


If I used the IDs the code would be

SortByColumns(Filter(SubCategories,CategoryLookup.Id = CategoryLookupFilter_Dropdown.Selected.Id),"SubCategory")

I wrap the result in a SortByColumns command to sort the data by the SubCategory column of my filtered datasource.  


Hope this helps.




does not help at all, that link provides no content on having multple datasources.

I don't understand how this works since you are doing a add column a gallery and it's a lookup. 

@rgruian is method 1 working with CDS data source?


gallery1.Items = AddColumns(Table1, "Region", LookUp(Table2, Name = Table1[@Name], Region))



I tried the formula below but it just returns an empty column for "Assessment Section"

    'Assessment Details',
    "Assessment Section",     
    LookUp('Assessment Questions','Assessment Question' = 'Assessment Details'[@'Assessment Question'].'Assessment Question', 'Assessment Section')


This is the entity relationships for those 3 entities

Assessment ERD.png

Helpful resources

PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group


Demo Extravaganza Winner Announcement

Please join us on Wednesday, July 21st at 8a PDT. We will be announcing the Winners of the Demo Extravaganza!

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (1,955)