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 / Default Field UK/GB Cu...
Power Apps
Unanswered

Default Field UK/GB Currency Formatting - Help?

(0) ShareShare
ReportReport
Posted on by 87

Hello, I'm after some assistance with the formatting of the 'Default' field. 

 

The data pulled into the form is from a SharePoint which has various currency columns. Any of the formulated currency columns I've managed to get the currency within Power Apps to show a UK currency. However, the columns which are manually filled in are shown within Power Apps as just digits.

 

From reading through other posts, I've used the following formula;

 

Text(Parent.Default,"[$-en-US]$#,###.00")

 

How do I make the formula work with a UK currency? I've tried the following amendments, but none seem to show the currency symbol of £ or if I do change the $ symbol to a £ symbol. All text within field is removed.

 

Text(Parent.Default,"[£-en-GB]£#,###.00")

Text(Parent.Default,"[$-en-US]£#,###.00")

 

Many thanks in advance!

Categories:
I have the same question (0)
  • iAm_ManCat Profile Picture
    18,228 Most Valuable Professional on at
    Text(Parent.Default,"[$-en-GB]£#,###.00")
  • CorgiMad Profile Picture
    87 on at

    Thanks for the response. That's one of the examples I've tried but failed.

  • timl Profile Picture
    36,393 Super User 2025 Season 2 on at

    Hi @CorgiMad 

    If you specify pass the 3rd language argument to Text like so, does that make a difference?

    Text(Parent.Default,
     "£#,###.00",
     "en-GB"
    )

     

  • iAm_ManCat Profile Picture
    18,228 Most Valuable Professional on at

    Sorry I've just realised you meant manually typing it in, then you shouldn't be referencing parent but instead the object itself.

     

    Change the OnChange value of your textInput to the following to have it set the text as a variable (gets around the issue of a circular reference):

    Set(gblTextValue, Value(Self.Text))

     

    Then, make the Default of your textInput the following (to reference that variable):

    Text(gblTextValue,"£#,###.00", "en-GB")

     

  • CorgiMad Profile Picture
    87 on at

    Neither @iAm_ManCat  and @timl of these suggestions seem to work. When I input either of these, it removes the text from within that field completely. 

    CorgiMad_1-1674224063290.png

     

     

  • iAm_ManCat Profile Picture
    18,228 Most Valuable Professional on at

    Yes, because you've just created the formula and the variable hasn't been set - press the play button and type a value into the field, then click anywhere else to have the OnChange trigger:

    iAm_ManCat_0-1674224324737.png

     

    currencyfield1.gif

  • CorgiMad Profile Picture
    87 on at

    I've re inputted the formulas within 'OnChange' and 'Default' fields. Pressed play, typed a value and it keeps in the same text to what I've just typed. It hasn't done what you've shown in your recording 🤔

  • iAm_ManCat Profile Picture
    18,228 Most Valuable Professional on at

    did you click outside of the text to another control like I did in the recording?

    OnChange for a textbox only changes once you leave the text container

  • CorgiMad Profile Picture
    87 on at

    I did. It recognises any changes made to the field but doesn't change it to the format required.

  • iAm_ManCat Profile Picture
    18,228 Most Valuable Professional on at

    I had also assumed you were only typing numbers into the text input, but if you type other characters it won't effectively work as it can't convert them to a value, so I've updated that OnChange formula

     

    Could you replace the OnChange with the following which will strip out any characters that aren't value-based:

    Set(
     gblTextValue,
     Value(
     Concat(
     ForAll(
     Split(
     Self.Text,
     ""
     ),
     If(
     IsMatch(
     Result,
     "[0-9.]"
     ),
     Result
     )
     ),
     Value
     )
     )
    )

     

    I've attached the POC app showing that the text input that works, please check that your text input doesn't have any conflicting properties or settings.

     

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 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard