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

Notifications

Announcements

Community site session details

Community site session details

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

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
    68,707 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
    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard