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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Disable Percentage Aut...
Power Apps
Answered

Disable Percentage Autocorrection or Conditional Statement to Multiple Percentage

(0) ShareShare
ReportReport
Posted on by 72

Hello,

Need some advice. Currently have a SharePoint text field and collecting percentages. 
Some users are most user are entering numbers (with percentage sign) and when someone puts a % sign after the number the PowerApp is autocorrecting it. 

Example: 80 = 80%; If someone types 80% within the app autocorrects to 0.80.

 

Is there a way to disable that feature? 

or allow someone to enter a number or if they enter % sign afterwards it gets multiply by 100. 

Is there a way to build a conditional statement to encourage uniform data entry?

If Number then Number or if Percentage then multiply by 100.

Trying to minimize data entry errors. Since users may be entering data differently I want to make sure all get saved in similar format.

Thanks.

Categories:
I have the same question (0)
  • logixcrm Profile Picture
    71 on at

    HI radiosonicfan

     

    How are the users entering data, are they using a canvas app or a SP form?

  • Pstork1 Profile Picture
    69,623 Most Valuable Professional on at

    I don't think there is a way to disable the feature, but you could use an isMatch() regular expression to detect when the % sign is added and multiply the result by 100.

  • Verified answer
    v-xiaochen-msft Profile Picture
    Microsoft Employee on at

    Hi @radiosonicfan ,

     

    In addition, you could try the onchange property of textinput control to set a variable .

    Set onchange property of textinput control to:

    If("%" in TextInput1.Text,Set(Var,Trim(Left(TextInput1.Text,Find("%",TextInput1.Text)-1))),TextInput1.Text)

     

    vxiaochenmsft_0-1632966004905.png

    vxiaochenmsft_1-1632966016455.png

     

    Best Regards,

    Wearsky

     

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 396 Most Valuable Professional

#2
11manish Profile Picture

11manish 134 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 101 Super User 2026 Season 2

Last 30 days Overall leaderboard