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 :
Microsoft Dynamics CRM (Archived)

Best way to store and display percentage field in CRM dynamics?

(0) ShareShare
ReportReport
Posted on by 855

Hi,

This may seem like a trivial question, but I was wondering what was the best field type to store and display a percentage in CRM Dynamics entites / forms?

Also, in all the formats supported for the field types, am I correct that "Percentage" is not there? This is quite surprising to me. Also, is the only way to show a "%" field on the forms through a javascript hack?

Many thanks,

Quite. Dynamic. 

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Aileen Gusni Profile Picture
    44,524 on at

    Hi Quite,

    Yes, there is no Percentage field type, since in the programming the data type percentage is we can't find, just based on decimal/float/integer/double only.

    It depends.

    You can use a Decimal: so that 1% will be 0.01, 10% --> 0.10, and so on.

    Or you can use Decimal/Whole Number as well, but stores as:

    Total (%) : 10

    Total Tax (%) : 15

    But, in the label, I suggest you to use (%) including this (%) in the label will help the users.

    Both are possible and will affect your calculation.

    For example:

    If you use 0.01 to type, then to get the total Discount for example, you have to use formula:

    fielddisc * totalprice

    = 0.10 * 8000

    = 800

    But, if you use the second one, you need to calculate and divide by 100.

    Formula:

    fielddisc * totalprice / 100

    = 10 * 8000/100

    = 800

    Hope this helps!

    Thanks.

  • Daniel Westlake Profile Picture
    on at

    I added a suggestion on the Microsoft Connect site to add percent formatting capabilities, if you agree please vote for the feature here: connect.microsoft.com/.../please-add-percent-formatting-capabilities-for-numeric-field-types-in-crm

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 > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans