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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / How can I use columns ...
Power Apps
Answered

How can I use columns from a parent customer in a calculation if the relationship field is type 'customer'?

(0) ShareShare
ReportReport
Posted on by 6

I need to add a calculated column to my 'Quote' table, that will use columns from the Customer table. However, the column that links to the parent customer is set as 'Customer' data type, and the system won't let me reference it in the calculation.

 

A basic overview:

A Quote has the fields Customer (customer data type, references the Customer table) and Amount (currency).

A Customer has the field CustAmount (Currency).

 

I want to add a calculated column CustTotal to Quote, that will be calculated as: Amount + Customer.CustAmount.

I have the same question (0)
  • cchannon Profile Picture
    4,702 Moderator on at

    I don't think this is currently possible, but a Preview version of rollup and calculated columns with Power Fx is coming out in the next couple months. I would expect that to be able to cleanly navigate a polymorphic lookup like Customer.

  • jorkington Profile Picture
    6 on at

    Hmm. Would it be possible to automatically set a lookup column (related to 'account' table) to the account indicated by the customer column and then use that?

  • Verified answer
    cchannon Profile Picture
    4,702 Moderator on at

    Yes, that would work, but if you're going to write a Flow to do that anyway, you might as well just skip the extra lookup and just use Flow to map your Amount + Customer.CustAmount instead of Calculated Columns.

  • EricRegnier Profile Picture
    8,720 Most Valuable Professional on at

    Hi @jorkington, if I understand correctly, yes with Formula (Power FX) column you can access deeper than one level so you can set that. Hope this helps

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 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard