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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Computed columns in data entity

(0) ShareShare
ReportReport
Posted on by 30

Hi all,

What is Computed columns in data entity? What is the use of computed columns? When we exactly used computed columns?

Please give me more shed on this 

Thsnks!

I have the same question (0)
  • Suggested answer
    Satish Panwar Profile Picture
    14,671 Moderator on at

    Hi..all the information you are looking for is in standard documentation. Take a look at below in this case:

    docs.microsoft.com/.../data-entity-computed-columns-virtual-fields

  • @rp@n Profile Picture
    30 on at

    Thanks Satish,

    I have read the docs. I have one doubt.

    Could you please let me know  why we need computed columns?

    Is there any specific data type which can use for computed column only.

    Please give me more shed on this

    Thanks!

  • Suggested answer
    Satish Panwar Profile Picture
    14,671 Moderator on at

    It's an unbounded data field. Mostly used for reads. You read combined data or send /write combined data and then handle that.

  • @rp@n Profile Picture
    30 on at

    Thanks Satish

    Here  unbounded data fields means is it picture or static text fields?

    Please give me more shed on this

    Thanks!

  • Suggested answer
    Sukrut Parab Profile Picture
    71,710 Moderator on at

    Unbound fields means not connected to any underlying data source . The data type can be anything out of the available options for example string , integer etc.

  • @rp@n Profile Picture
    30 on at

    Thanks Sukrut

    Based on the above , could please give me  one example

  • Suggested answer
    Satish Panwar Profile Picture
    14,671 Moderator on at

    The standard documentation has one example...

    We want the output to be in specifoc format...that's achieved by computed column. Check method formatNameAndAddress().  Then see how it's used in last section.

    docs.microsoft.com/.../data-entity-computed-columns-virtual-fields

  • André Arnaud de Calavon Profile Picture
    301,119 Super User 2025 Season 2 on at

    Hi @rp@n,

    Another example would be handling some reference fields. E.g.  I have had a scenario where a table has two reference fields to a table ID and a field ID. As these can be different per environment, the computed column was able to export the table and field name. During the import, it looked up the table and field ID for that environment.

  • @rp@n Profile Picture
    30 on at

    Thanks Andre,

    Could you please give me example based on above.  I understand but still doubt

  • Blue Wang Profile Picture
    on at

    Hi @rp@n,

    It is mainly used for unmapped fields.

    For example, you can query or calculate the value of some fields through SQL, such as sum or avg. At this time, you can add calculated fields to the entity to calculate and display it.
    Assuming your table has an annual salary column, you can return through the view, and you can get your monthly salary through salary / 12.

    You can add the computed column to the select list of columns only.


    Regarding examples, it is used in many entities, such as PSAActualEntity.

    07306.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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 451 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 428 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans