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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

difference between Virtual fields and Computed columns in Data entity in d365fo

(0) ShareShare
ReportReport
Posted on by 56

Hi

Please let me know the difference between Virtual fields and Computed columns in Data entity.

Which one recommended to use?

  1. Please give me more shed on this 
I have the same question (0)
  • Verified answer
    André Arnaud de Calavon Profile Picture
    305,178 Super User 2026 Season 1 on at

    Hi Arpan,

    The difference is explained in the documentation: docs.microsoft.com/.../data-entity-computed-columns-virtual-fields

    One is using x++ coding and the other is SQL based.

    SQL based computed columns are in general faster. If you use e.g. the postLoad() method for virtual fields, it will be a row-by-row execution which will slow down performance tremendously. SO, if possible go for the computed columns.

  • @rp@n Profile Picture
    56 on at

    Thanks Andre

    For example- If I want to return "Item name" that i can do with both computed field or Virtual field.

    We need to set property in string field -

    In String unmapped field 》 property 》 isComputed = Yes or No

    Based on IsComputed = Yes or No ,its executed in SQL or X++

    For performance respective, computed field recommended to use because its executed in SQL server.

    Is it correct?

  • Verified answer
    André Arnaud de Calavon Profile Picture
    305,178 Super User 2026 Season 1 on at

    Hi Arpan,

    This is a correct summary of the documentation and your understanding. If you expect a lot of records to be handled with your entity, the for sure try to go for the computed column.

    If it is about a group table with e.g. expected max 25 records, then you can choose to use virtual fields when it would be easier to achieve it in this way.

  • @rp@n Profile Picture
    56 on at

    Thanks Andre

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 722

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 605 Super User 2026 Season 1

#3
Subra Profile Picture

Subra 547

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans