Power Apps

Padmaja Krishnaswamy 5 Reputation points
2024-12-13T18:05:20.6733333+00:00

Exercise - Introduction to formulas in canvas apps

The following formula is incorrect

User's image

The correct formula is shown below:

 Text(Value(ThisItem.'Machine Price',"en-US"),"$ #,###.00")

 Please make the necessary corrections

Community Center | Not monitored
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2024-12-13T18:25:22.2+00:00

    Hi Padmaja Krishnaswamy,

    Thank you for reaching out to us on the Microsoft Q&A forum.

    After reviewing the formula you provided, we can confirm that the correct version for formatting the Machine Price in a currency format is Text(Value(ThisItem.'Machine Price'), "$ ##.00")

    We have tested this on our end as well, and it functions as expected, accurately displaying the price with a dollar sign and two decimal places. For your reference, please see the attached screenshot confirming the results.

    User's image

    Please reach out to us if you have any other queries.

    If the information is helpful, please Accept Answer & Upvote so that it would be helpful to other community members.

    1 person found this answer helpful.

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.