Hi all, newbie here.
I have created a Sharepoint Custom Form using PowerApps and I'm running into an issue with number formatting. I would like some amounts to be shown with comma separator, both when viewing an existing form, and when creating a new entry using the custom form.
I did some research online and found some possible solutions, but they created some new issues, so I'm open to any alternative suggestions.
Here what I've done so far, taking as example DataCardValue19, which I'd like to be shown as "#,##0.00" both in view and edit mode.
- Changed the OnChange to
UpdateContext({VarTempTextInput:Text(Value(DataCardValue19.Text),"#,##0.00")});Reset(DataCardValue19)
- Changed Default to
VarTempTextInput
What happens now is that if I create a new record, this is shown in the desired format in the Custom Form (eg. 1,000). However, if I click on an already existing record, the amount corresponding to the datacard in question is shown as equal to the new record just created, not the actual value that the record has in the Sharepoint list. Additionally, if I refresh the list, all the entries show the desired amount as blank in the form, which is not correct.
Any idea how I can fix this? Thanks in advance.

Report
All responses (
Answers (