Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building 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

 

  • VM_wyn Profile Picture
    on at
    Re: Power Apps Currency format Issue

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

  • SunilPashikanti Profile Picture
    731 Super User 2025 Season 1 on at
    Re: Power Apps Currency format Issue

    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.

     

  • Dipak_Shaw Profile Picture
    108 on at
    Re: Power Apps Currency format Issue

    May I know Which data source you are using?

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,605 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,946 Most Valuable Professional

Leaderboard