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 / How do I format a fiel...
Power Apps
Answered

How do I format a field to look like currency

(5) ShareShare
ReportReport
Posted on by 25

I have a form that is connected to a SharePoint list.  One of the fields is a Currency field.  However, the form will not allow me to display the field as currency.  The only choices I seem to have are text or number.  When in display mode, I would like it to be formated like $500.00.

 

Thanks in advance

Categories:
I have the same question (0)
  • CarlosFigueira Profile Picture
    on at

    You can update the Text property of the label that is used to display the value, and use a custom expression that displays the format as you want. Below is one way how you can do that.

    CustomizeCurrencyField.gif

  • JohnRavas Profile Picture
    25 on at

    Thanks for the reply @CarlosFigueira  What you show makes sense.  However, when I go into the advanced properties for my field , I don't have a Text property like you do - see my screenshot.  Under the Properties tab, my Format is set to number as I don't want people entering text in the field.  Hopefully I am missing something simple.

  • CarlosFigueira Profile Picture
    on at

    Ah, you're using an Edit form, in View mode. For that case (which uses a text input control) there's no way to directly set the format of the data that is going to be displayed.

     

    One thing you can do is to have two controls, the text input that comes with the card, and add another label on top of it. Depending on the mode of the form, you can toggle the Visible property of the controls, like in the set of properties below:

    DataCardValueX.Visible: EditForm1.Mode <> FormMode.View
    NewLabelInCard.Visible: EditForm1.Mode = FormMode.View
    NewLabelInCard.X: DataCardValueX.X
    NewLabelInCard.Y: DataCardValueX.Y
    NewLabelInCard.Height: DataCardValueX.Height
    NewLabelInCard.Width: DataCardValueX.Width
    NewLabelInCard.Text: Text(Parent.Default, "[$-en-US]$0.00")
  • v-xida-msft Profile Picture
    on at

    Hi @JohnRavas,

     

    Could you please share a bit more about your app's configuration?

    Do you want the field within your Display form or Edit Form to be formatted like currency?

     

    I have made a test on my side, please take a try with the following steps:

    • Unlock the DataCard where you want to format the field to currency.
    • Within the DataCard, select the TextInput control.
    • Within right panel, set Default property to following formula:
    Text(Parent.Default,"[$-en-US]$#,###.00")

    or 

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

    Image reference:1.JPG

     

    More details about the Text function in PowerApps, please check the following article:

    Text function

     

     

    Best regards,

    Kris

  • Verified answer
    Office365Master Profile Picture
    338 on at

    I enriched this solution such that it displays the currency field numeric value format as a Number in Edit mode for the Form, and then using the same Input Box control it displays the field as a currency value when the form is in View mode. This seemingly negates the need to have multiple controls on the form (hidden or visible) which naturally then makes the form easier to edit and manage as addional fields are added and/or the form functionality in enhanced!

     

    Displaying numeric fields as Currency in PowerApps

  • Community Power Platform Member Profile Picture
    on at

    How can I use the same format for euro?

    I tried "€ " & Text(Parent.Default,"€#,###.00") but it turns like this "€ " & Text(Parent.Default,"[$-en-US]€#,###.00"), and the result is

    € 30000 not â‚¬ 30 000 as I want.

     

  • Kaminski_Henr Profile Picture
    4 on at

    Hello,

     

    Try this, was the only way that worked for me:

     

    Text(Value(Parent.Default;"pt-BR");"#,###")

  • RobStand Profile Picture
    Microsoft Employee on at

    You need to use a semicolon instead of a comma in the formula. Try this:

     

    Text(Parent.Default; "€#,###.00")

  • CG-25072327-0 Profile Picture
    9 on at

    I used the suggested solution:

    "$" & Text(Parent.Default, "0.00")

    But larger numbers would display as $100000.00 -- I wanted the comma separator for thousands, so I am using: 

    "$" & Text(Parent.Default, "#,##0.00")

    This adds a thousands separator AND null values will appear as $0.00 rather than $.00.  I wouldn't have figured this out without your original post.  Thanks.

  • Community Power Platform Member Profile Picture
    on at
    If the number is '123456', how to display it '1,23,456'?

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