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 / Entities/Tables relati...
Power Apps
Unanswered

Entities/Tables relationship design/setup question

(0) ShareShare
ReportReport
Posted on by 9

Hi,
The CDS entities designed as below:

TableCustom fieldRelationshipE.g.
Users (Default)GroupPolicy as Text  
GroupPolicy  A, B, C, D, E, F
Request RequestType as LookupN-1(RequestType) 
RequestTypeWorkflow as Lookup1-N (Workflow) 
WorkflowReviewer as Lookup
Approver as Lookup
N-N (GroupPolicy)
N-N (GroupPolicy)
B,C,D
E,F

Questions
1. Is it possible to store 'Record' for the field/column of Lookup type?
2. If (1) is do-able, please advise how to set a collection (in Canvas) for 'Request' that will join the related entities, RequestType > Workflow to get the both Reviewer and Approver (as GroupPolicy)?

Regards,

CY

I have the same question (0)
  • Joel CustomerEffective Profile Picture
    3,224 on at

    So if I understand, you want to store both the lookup value as well as the text value of the selected record in a lookup. Is there a reason you need to do this?

    If I have a lookup to another entity table, I can use dot notation to get the text value of the lookup record. For example

    ThisItem.Customer.Name

     will get the name field from a customer lookup on order table.

     

    For working with N:N related records, you could use Power Automate flow to get the records, or see @nickdoelman  blog post https://readyxrm.blog/2020/09/04/how-to-implement-a-common-data-service-many-to-many-field-on-canvas-power-apps/

     

    If you need to do this for some other reason, you could patch the value to a text field when a record is created from a canvas app, or what I like to do is use a real time workflow that runs on update of the lookup field and updates a text field.

  • ChenYung Profile Picture
    9 on at

    Hi, Good day.
    I understand you said about the dot notation to get the text value. My question about the Reviewer field (same with Approver field) which is a lookup field to "GroupPolicy" Table. Is it possible to store a record of Lookup (multiple looup values)?  Example Reviewer consists of GroupPolicy B, GroupPolicy C, GroupPolicy D and Approver has [GroupPolicy E, GroupPolicy F]

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 483

#2
WarrenBelz Profile Picture

WarrenBelz 399 Most Valuable Professional

#3
11manish Profile Picture

11manish 327

Last 30 days Overall leaderboard