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 / CDS Data Flow Relation...
Power Apps
Unanswered

CDS Data Flow Relationships

(0) ShareShare
ReportReport
Posted on by

Hi All,

 

I am using an ERP  that has a SQL database.  I have created 2 flows (one for orders, and one for the bill of materials for those orders) into CDS from SQL views.  Each dataflow has the same JOBID field.  I setup a relationship (one to many)  between the 2 entities, but it doesn't seem to connect the entities  in the app.  I want to eliminate a lookup formulas in my app. 

My end goal is to pull information into CDS from SQL, add reference data that wasn't supported in the ERP, and add app user data to the records. If there is a better way, please let me know.  Thanks, Chene

I have the same question (0)
  • Hamish Sheild Profile Picture
    3,005 Most Valuable Professional on at

    Hi @remarcc 

     

    You need to create an alternate key on your entity that is on the one side of the one to many relationship.  You then can use that key in the data mapping of the entity that is on the many side of the relationship.

     

    For example, I have a Building entity and a Building Visit entity in a one to many relationship.  The Building entity has a alternate key field defined called Building Number.  I then use this to map the Building Visits' relationship to the Building in the data flow.

     

    Annotation 2020-04-10 070519.png

     

    -----
     
    If this post has answered your question please consider it for "Accept as Solution" or if it has been helpful give it a "Thumbs Up".

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!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 103

#2
WarrenBelz Profile Picture

WarrenBelz 82 Most Valuable Professional

#3
wolenberg_ Profile Picture

wolenberg_ 67 Super User 2026 Season 1

Last 30 days Overall leaderboard