Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested answer

Probability(closeprobability) show whole number instead with %

(0) ShareShare
ReportReport
Posted on by 45

Hi,

On Opportunity form i have add Probability(closeprobability) fileds, this field is whole number and accept 0 to 100 values. i want to show Probability in percentage like 10% 20% 30% so on.

pls guide how to show Probability(closeprobability) in percentage %.

Thx

  • cloflyMao Profile Picture
    cloflyMao 25,202 on at
    RE: Probability(closeprobability) show whole number instead with %

    Hi imughal,

    Could it work for you?

    Regards,

    Clofly

  • Suggested answer
    cloflyMao Profile Picture
    cloflyMao 25,202 on at
    RE: Probability(closeprobability) show whole number instead with %

    Hi imughal,

    We can achieve your requirement by importing a custom control(a solution file): Zorro Masked Input into system.

    Prerequisite: I assume that you have set minimum(0) and maximum value(100) to your whole number field.

    1. Download solution file from the project GitHub page, import it to system.

    https://github.com/crmkonsulterna/zorro-masked-input/releases/tag/v1.0.0.0

    2. Change the control of your whole number to "MaskedInput".(Remember to hide the default control.)

    pastedimage1594025897281v1.png

    3. Set "Mask" property of control to "9{*} %"

    9{*} means that it allow input numeric characters.

    % is suffix.

    pastedimage1594025926649v2.png

    4. Save & publish the modified form.

    5. Result:

    The whole number field will be masked.

    pastedimage1594026124479v3.png

    It will show error if the value exceed the maximum value.

    pastedimage1594026179582v4.png

    Please read the project official page for more details about usage:

    https://github.com/crmkonsulterna/zorro-masked-input

    Regards,

    Clofly

  • Suggested answer
    Bipin D365 Profile Picture
    Bipin D365 28,961 Moderator on at
    RE: Probability(closeprobability) show whole number instead with %

    Hi,

    You can change the display name to show the % sign in field display name Probability(closeprobability) %.

    It is not possible to add % in whole number field value. Other alternate is to add new single line of text field and add javascript validation code to accept only whole number between 0-100. Whenever user add the value on change of this field add javascript to append % in it.

    If found helpful, Please mark my answer verified.

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,494 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans