So I have two databases i'm using (CameraInfo, and Contacts). I added a column called "Company" to the data, CameraInfo, and made the type "lookup" from my second data, Contacts.
Now I made a gallery with the data from Camera Info, as seen below, and in the the browse gallery's Items, I made this formula:
When I try to insert the column, "Company," into the formula, everything in the gallery boxes dissapears.
I realize that the data for the column, "Company" is being pulled from the second data source, "Contacts," and you can't technically use two data sources at once. Can someone redirect me to a thread that may be helpful or give me some insight on how I can try to solve this?
If not mistaken, you may opt for
- GroupBy or
to merge into one single temporary table and then search.
Please read on GroupBy and AddColumns.
You may take a look at the following thread:
Basically, if you would like to have the "Company" Displayed in the CameraInfo, then the formula used for the items property od the Gallery control should be:
AddColumns( CameraInfo, "CompanyName", Lookup(Contacts, ContactID=Company.ID, CompanyNameField) )
The field depends on your actual data, and if you could share the Table structure, then I will offer a more suitable formula.
Thanks for the update.
It seems the link you provided for the two tables needs sign-in information.
Would it be convenient for you to share a screenshot of the Column Names, and explain a bit for the relationships between those two tables?
Check out the on demand sessions that are available now!
Stay up tp date on the latest blogs and activities in the community News & Announcements.
Features releasing from October 2020 through March 2021
Check out the Power Platform Community Highlights