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 / Combining two datavers...
Power Apps
Suggested Answer

Combining two dataverse tables (parent and child)

(1) ShareShare
ReportReport
Posted on by 581
Hi
 
I've got two dataverse tables
 
One is a parent of the other.
 
When selecting the parent, I want the child table to add all relevent content into a collection.
 
Set(myChapterTitle, ThisItem.vca_chapterid);
ClearCollect(filteredContents, Filter(Contents, vca_Chapter.vca_chapterid = myChapterTitle));
 
However the collection is blank when I do this.
 
 
I've tried adding both tables to seperate collections, however the relationship appears as a ? in the collection so I can't filter.
 
surely there is an easy way to do this?
 
Thanks
 
I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,974 Moderator on at
    Hi,
     
    You have one of 2 problems
     
    1. You actually do not have any data in that column. You didn't specify if its a lookup and what direction.
     
    2. Have you verified what is IN myChapterTitle before the clear collect
     
    3. Is this a Relationship Field??? And silly question did you bind them by Title column??? or did you bind them by Id, because your name suggests by title, but you are trying to connect them via the Unique ID (is my guess the GUID)
     
    A) Put a text label on the screen, and set the Text to myChapterTitle and verify what it is, before the clearcollect
     
    B) Please verify for us that you have
    refreshed both datasources in your code before you do this (since again I dont know if you are just adding stuff or just listing stuff)
     
    C) After you do A, go to the Child Table and make sure that in fact you see that id in the table and no spaces or weird characters.
     
     
    Share all of that Please.
  • Lee-Martin Profile Picture
    581 on at
    @FLMike Thank you for your response.
     
    I can now filter the child as required.
     
    But for some reason there is no data in my columns.
     
    I can confirm the correct number of rows are being returned.
    I can confirm the column name which the data I require in my filtered collect is there.
     
    However there is no data in the fields I require. There is one field that has data, but it doesn't give me the column I need to use as pretty much most of them are blank

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 600

#2
WarrenBelz Profile Picture

WarrenBelz 478 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 322

Last 30 days Overall leaderboard