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 / 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 Pashikanti Profile Picture
    736 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

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 333 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard