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 / Power Apps Currency fo...
Power Apps
Unanswered

Power Apps Currency format Issue

(1) ShareShare
ReportReport
Posted on by

I have a text field on my power app which gets auto populated based on a subtraction happening on two fields above it. I wish to display the value with the South Africa ZAR currency symbol, ex R1234.00 . I am able to display the value fine but the update property of the datacard gives an error saying "Cannot convert R 1234.00 to a number" . My field format is also set to Text and my datasource column is also a string column. Weirdly this works perfectly fine if I change the currency to USD i.e. $ 1234.00. I have a feeling it is not identifying the currency symbol correctly. Is there anyway to fix this? I would like to display the currency symbol and not just a number

 

Field Format

VM_wyn_2-1720816584334.png

 

 

Formula I use to populate my text input field

 

If((!IsBlank(DataCardValue13.Text) && !IsBlank(DataCardValue14.Text)),Text(Value(DataCardValue13.Text) - Value(DataCardValue14.Text),"[$-en-US]R#,##.00"),"")
 
The output looks fine
VM_wyn_0-1720816476589.png

But the Update property gives this error

 
VM_wyn_3-1720816673222.png

 

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

    May I know Which data source you are using?

  • Sunil Kumar Pashikanti Profile Picture
    2,338 Moderator on at

    Hope you are using the exact below one in the default property of the textbox

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

    Alternative Approach (View Mode):
    If you’re displaying the value in View mode (not Edit mode), you can use a label control to achieve the desired formatting.
    Add a label control on top of the existing text input control.
    Set the Visible property of both controls based on the form mode:

    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]R#,##0.00")

    Adjust the control names (e.g., DataCardValueX and NewLabelInCard) according to your app’s structure.

     

  • VM_wyn Profile Picture
    on at

    It's a Sharepoint list and the column is a single line text column

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 335 Most Valuable Professional

#2
11manish Profile Picture

11manish 165

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 96 Super User 2026 Season 1

Last 30 days Overall leaderboard