Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Microsoft Dataverse
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

Categories:
  • ChenYung Profile Picture
    9 on at
    Re: Entities/Tables relationship design/setup question

    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]

  • Joel CustomerEffective Profile Picture
    3,224 on at
    Re: Entities/Tables relationship design/setup question

    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.

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Microsoft Dataverse

#1
mmbr1606 Profile Picture

mmbr1606 22 Super User 2025 Season 1

#2
stampcoin Profile Picture

stampcoin 17

#3
ankit_singhal Profile Picture

ankit_singhal 11 Super User 2025 Season 1

Overall leaderboard

Featured topics