Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Get field from related entity not working in Calculated Fields

(0) ShareShare
ReportReport
Posted on by 262

Hello,

We're using D365 online and I'm trying to add a calculated field on a Contact to pull a value from the parent Account. Here's the field I created to test this on Contact in our Sandbox environment:

pastedimage1673277886365v1.png

And searching for parentaccountid the lookup never shows up:

pastedimage1673277919516v2.png

If I put any other field, I know to be on the account it just errors saying invalid reference.  I've read article upon article saying this is how this is done, but it's just not working for me. Any insight would be appreciated.  


  • Suggested answer
    Leah Ju Profile Picture
    Leah Ju Microsoft Employee on at
    RE: Get field from related entity not working in Calculated Fields

    Hi samalex1701,

    You should use correct logic name of the lookup field you need:

    pastedimage1673328552413v1.png

    In calculated field, insert parentcustomerid.

    After inserting dot notation behind correct lookup name, you can select fields from account:

    pastedimage1673328924141v2.png

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,409 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans