Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Sales forum / Maximum number of fiel...
Sales forum

Maximum number of fields on an entity

Posted on by 76

Hi

How many fields can I add in a Dynamics 365 form? For example, Account, Lead, Opportunity...

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Maximum number of fields on an entity

    For Refresh Forms, Main forms on Mobile devices have a limitation of 5 tabs or 75 fields and 10 subgrids. This is to optimize performance.

    Unified Interface allows a common form but has other limitations as of now.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Maximum number of fields on an entity

    250

  • Verified answer
    RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: Maximum number of fields on an entity

    Hi Carmen,

    You can add as many fields as available (though there is a limit as mentioned above)for the entity to add it to the form.

    However this is not recommended due to performance issues.

    Hope this helps.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Maximum number of fields on an entity

    Hi,

    It depends on the Maximum Capacity Specifications for SQL Server.

    The SQL server tables limit is 1024 columns. This is the limit to the SQL Server views also.

    When you create a new filed in a CRM entity the CRM add this field in the respective table and in the respective Filtered View. Depending on the field type the number of columns added in the Filtered view is different.

    Example:

    • If you add a text field in the Entity, the CRM will add 1 column in the Filtered View.

    • If you add an Option Set field in the Entity, the CRM will add 2 columns in the Filtered View; 1 for the Value and 1 for the Label.

    • If you add a Lookup field in the Entity, the CRM will add 3 columns in the Filtered View; 1 for the ID, 1 for the referenced Entity Logical Name, 1 for the Record Name.

    So depending on the types of fields you have in the entity you can reach the 1024 limit at a different moment as the limit of the fields you can create in an Entity should be calculated as follows:

    X *3 + Y*2 + Z*1 <= 1024

    Where:

    • X is the number of Lookup Fields

    • Y is the number of Option Set / Boolean / Money fields

    • Z is the number of fields from other type

    Theoretically you can reach the limit at around 340 fields if you have a lot of Lookup fields in your entity: 340 *3 = 1020.

    Hope it helps.

    BR,

    Judy

  • Verified answer
    Mihir@CRM Profile Picture
    Mihir@CRM 4,036 on at
    RE: Maximum number of fields on an entity

    At some point of time there was a hard limit of 400 fields total on an entity. That number may have changed.

    My recommendation would be to not have too many fields on any entity as this may cause performance issues if there are too many fields on the entity form.

    In addition one has to be cognizant of the # of fields that can be shown on mobile devices if mobile is going to be part of the user experience.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans