cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
RameshMukka
Responsive Resident
Responsive Resident

Submit Percentage Values to SharePoint List Number Column with 2 Decimal Places

Hello Power Users,

I have below form and I am calculating percentage dynamically and submitting to SharePoint list. In SharePoint list, I have column PercentageValue (number type, 2 decimals and show as percentage) and I have used below formula in Text field of Power Apps.

 

 

Value(Text(DataCardValue2.Text/DataCardValue3.Text*100,"[$-en]#.00"))

 

 

After I submit, the value I am expecting in SharePoint is like  #.##% but what it shows is ####.00%. I have taken another text column PercentageText and used below formula in Power Apps. It does show the right value  #.##. But I would like to have it number field with desired output format #.##%. Where am I doing wrong?

 

 

Text(DataCardValue2.Text/DataCardValue3.Text*100,"[$-en]#.00")

 

 Error1.JPGError2.JPG

 

 

2 REPLIES 2
mdevaney
Super User III
Super User III

@RameshMukka 
I don't think your formula is the issue here.  Instead its a problem with your column settings in the SharePoint list.  You must set the decimal places setting to '2' as opposed to 'Automatic'.

 

mdevaney_0-1604841300586.png

 

---
Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

RameshMukka
Responsive Resident
Responsive Resident

I have actually put the same as I mentioned in my question, that is 2 decimal places. It didn't help me.

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Top Kudoed Authors
Users online (61,884)