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 / Handle percentage field
Power Apps
Answered

Handle percentage field

(0) ShareShare
ReportReport
Posted on by 485

Hi Community,

 

I have the next issue, in SharePoint exist a fields with the Percentage type

esjimenezp_0-1660574519016.png

 

Then in Power Apps the field is pointed to the percentage from SharePoint, I use the next formula to see it at the correct number from the source

 

Text(Value(varStatusReport.Milestone1Percentage)*100,"#%")

 

and the field looks good (at this point)

esjimenezp_1-1660574652661.png

but, when I tried to update or create a new record, the field change, look

Percentage.gif

Any ideas how this happened?

 

This is the code I used in the Patch

Milestone1Percentage: Value(txt_Milestone1Percentage.Text),

thank for all the support.

 

Kind regards 👋

 

Categories:
I have the same question (0)
  • SBax Profile Picture
    1,348 on at

    How are you creating/updating the value?

     

    Is this with a patch formula? If so, can you share the formula you are using?

  • esjimenezp Profile Picture
    485 on at

    sure, the Patch for update the fields are the next one

    Set(
     varStatusReport,
     Patch(
     'Project Inventory',
     varStatusReport,
    {
     Milestone1Percentage: Value(txt_Milestone1Percentage.Text)
    }
    )
    );
  • SBax Profile Picture
    1,348 on at

    Try using:

     

    Value(txt_Milestone1Percentage.Text) / 100 to revert back to the correct number 

  • esjimenezp Profile Picture
    485 on at

    Now, it changes to a decimal numbers in Power Apps 

    esjimenezp_0-1660575870447.png

    and SharePoint changed to this one

    esjimenezp_1-1660575914117.png

    I need that in power apps the end user can typed as a whole number instead a decimal.

     

    Kind regards 👋

     

  • SBax Profile Picture
    1,348 on at

    Have a look at this blog

     

    I'm away from my desk, but fairly confident that it's a formatting issue

  • Verified answer
    esjimenezp Profile Picture
    485 on at

    Hi @SBax 

    I use the next code into the Default property of the number field

     

    varStatusReport.Milestone1Percentage * 100

     

    then into the Patch code I use the next one

     

    Milestone1Percentage: Value(txt_Milestone1Percentage.Text / 100),

    Thanks for all the support.

     

    Kind regards 👋

     

    Percentage.gif
  • SBax Profile Picture
    1,348 on at

    Hi @esjimenezp 

     

    This was what I was suggesting earlier today

     

    Glad you got this working

  • esjimenezp Profile Picture
    485 on at

    thanks @SBax I really appreciate your help 👋

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Haque Profile Picture

Haque 85

#2
WarrenBelz Profile Picture

WarrenBelz 76 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 38 Super User 2026 Season 1

Last 30 days Overall leaderboard