web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Dataflow | Odata Query...
Power Apps
Unanswered

Dataflow | Odata Query of Dataverse Table - find out related records

(0) ShareShare
ReportReport
Posted on by 119

Hi lovely community,

 

I've 2 Dataverse tables:

 

Table A:

ID      LookUp Table B

A1      B1

A2

A3      B3

 

Table B:

ID      Value

B1      1

B2      2

B3      3

 

I wanna query Table B for all IDs related to Table A.

So my desired result would be:

 

Odata Query:

ID      Value

B1       1

B3       2

 

Already tried it per Joins between Table A and B, but this is not possible with over 100 K records.

Is there a nice Odata filter for many to one column in Table B ?

 

Hopefully someone has the golden idea 🙂

 

BR,

Sven

I have the same question (0)
  • Ram Prakash Profile Picture
    5,576 Super User 2025 Season 2 on at
    Re: Dataflow | Odata Query of Dataverse Table - find out related records

    Hello @P3Sven,

     

    Xrm.Page.context.getClientUrl() + "/api/data/v9.1/cr608_opportunities?$expand=cr608_Account($select=accountid)

     

    cr608_opportunities --> Table B Plural Name

    cr608_Account --> Table B (Table A Lookup Value)

    accountid --> Select Value from Table A

     

    Either you can easily achieve my using Fetch XML

     

    rampprakash_0-1632992762478.png

     

    Opportunity --> table B

    Account --> Related Opportunity(Table A from Table B)

     

    Please mark as Answer if it is helpful and provide Kudos


    Subscribe : https://www.youtube.com/channel/UCnGNN3hdlKBOr6PXotskNLA
    Blog : https://microsoftcrmtechie.blogspot.com

  • P3Sven Profile Picture
    119 on at
    Re: Dataflow | Odata Query of Dataverse Table - find out related records

    Hi @rampprakash ,

     

    thanks for your reply.

    I've already created Query per Expand for my related Table, but is there a way do filter it directly with request?

    So my target is to get exactly filtered list of records with relation between Table A and B.

    Cause my table to query has over 500 K Records (target records maybe 1 K) and its not possible to create a Power Query Dataflow with such a high number to join.

     

    BR,

    Sven

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 836 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 231 Super User 2025 Season 2

Last 30 days Overall leaderboard