To convert a number to text in Power Apps, use the Text function (for display formatting) or the Text function combined with Value when you need a true text string for concatenation or storage. The simplest working formula is Text(YourNumber, "0") for a plain integer string, or Text(YourNumber, "[$-en-US]#,##0.00") for formatted output. If you need the raw digits without formatting, use Text(YourNumber, "0") and avoid locale-specific separators. This guide walks through the exact steps, common pitfalls, and how to handle decimals, currency, and concatenation safely.

What You'll Need

  • A Power Apps account (any license that includes Power Apps).
  • An app open in edit mode (canvas app or model-driven form where formulas are supported).
  • A number input or a variable/field that holds a numeric value (for example, a Text input control, a Slider, or a column from a data source).
  • Basic familiarity with the formula bar and the Text function.

Step-by-Step

  1. Identify the numeric source. Decide which control or variable contains the number you want to convert. For example, a Text input named txtAmount holds text that looks like a number, or a variable varTotal holds a real number. If the source is a Text input, its .Text property is already text; you may need Value() first to treat it as a number.
  2. Choose your output control. Add a Label (for display) or a Text input (for editable text). For example, insert a Label and name it lblResult.
  3. Write the conversion formula. In the Label's Text property, enter a formula using the Text function. For a plain integer string: Text(Value(txtAmount.Text), "0"). For two decimal places: Text(Value(txtAmount.Text), "0.00"). For thousands separators: Text(Value(txtAmount.Text), "#,##0.00"). The Text function's second argument is a format string; the first argument must be a number, so wrap text inputs in Value().
  4. Handle locale differences. Format strings use placeholders like 0 (required digit), # (optional digit), and . (decimal separator). To force a specific locale, prefix the format with a locale tag, for example Text(Value(txtAmount.Text), "[$-en-US]#,##0.00"). Without a locale tag, Power Apps uses the app's language settings, which can change the decimal and thousands separators. Labels in menus can differ slightly by version, device, or region.
  5. Test with edge cases. Enter values like 0, 1234.5, -42, and 0.005. Check that the Label shows the expected string. If the input is empty, Value() returns blank and Text() may show an error; wrap with If(IsBlank(txtAmount.Text), "", Text(Value(txtAmount.Text), "0.00")).
  6. Use the result in concatenation. Once you have a text string, you can join it with other text: "Total: " & Text(Value(txtAmount.Text), "#,##0.00"). Avoid concatenating a number directly with & without conversion, because Power Apps may coerce it using the current locale and produce unexpected separators.
  7. Store or submit the text. If you need to save the converted text to a data source, set a variable or use Patch with the text value. For example, Patch(MyTable, Defaults(MyTable), {AmountText: Text(Value(txtAmount.Text), "0.00")}). Confirm the target column is a Text type, not Number, or the conversion is unnecessary.
  8. Review and publish. Save the app, preview it, and verify the conversion on a phone or tablet if the app is responsive. Format strings behave the same across devices, but the app's language setting can affect default separators.

Common Mistakes

  • Passing text directly to Text(). The Text function expects a number as its first argument. If you pass txtAmount.Text without Value(), you may get an error or unexpected result. Always convert text inputs with Value() first.
  • Assuming the format string is a mask. In Power Apps, the second argument to Text is a .NET-style format string, not a simple mask. For example, "000" pads with leading zeros, while "0" does not. Test your format with sample values.
  • Ignoring locale. A format like "#,##0.00" may render as 1.234,56 in some locales. If you need a fixed format, include a locale tag or use Text with a specific language argument where supported.
  • Forgetting blank handling. Empty inputs cause Value() to return blank, and Text(Blank(), "0") may show an error. Use If(IsBlank(...), ...) to guard.
  • Using the wrong property. For a Text input control, the value is in .Text, not .Value. For a Slider, use .Value. Mixing these up leads to errors.

Tips

  • Use Text(Value(txtAmount.Text), "0") for a plain integer string with no separators, which is safest for IDs or codes.
  • For currency display, use Text(Value(txtAmount.Text), "[$-en-US]$#,##0.00"); adjust the locale tag for your region.
  • To round to a fixed number of decimals, the format string controls rounding. For example, "0.00" rounds to two decimals.
  • Keep format strings in a variable or named formula if you reuse them across screens, so you can change them in one place.
  • When concatenating, always convert numbers to text explicitly to avoid locale-dependent coercion.

Troubleshooting

If the Label shows an error or blank, check the following in order:

  1. Verify the source type. Ensure the control or variable actually contains a number or numeric text. For a Text input, confirm the user entered digits only; letters cause Value() to return blank.
  2. Check for blank input. Add an IsBlank guard as shown above.
  3. Test the formula in isolation. Temporarily set the Label's Text to Text(1234.5, "0.00") to confirm the function works, then swap in your source.
  4. Review locale settings. If separators look wrong, add a locale tag to the format string or check the app's language under Settings.
  5. Restart the app. Close and reopen the app in the editor; occasionally the formula bar caches old values.
  6. Check for delegation warnings. If you are converting a column from a large data source, Value() may not be delegable. Consider converting on the server or using a smaller dataset.

If that did not work, simplify: create a new Label on a blank screen, set its Text to Text(42, "0"), and confirm it shows 42. Then rebuild your formula step by step.

Frequently Asked Questions

Can I convert a number to text without formatting?

Yes. Use Text(YourNumber, "0"). This returns the digits with no thousands separators or decimal places. For a decimal number, use "0.################" to avoid trailing zeros, though this is rarely needed.

Why does my Text() formula show an error when the input is empty?

Value("") returns blank, and Text(Blank(), ...) can produce an error. Wrap the formula in If(IsBlank(txtAmount.Text), "", Text(Value(txtAmount.Text), "0.00")).

How do I keep leading zeros when converting to text?

Use a format string with enough 0 placeholders, for example Text(Value(txtAmount.Text), "00000") for a five-digit code. Note that Value() strips leading zeros from the input, so if the input is text like "00123", you may need to handle it as text directly rather than converting to number first.

Does Text() work the same on mobile and in the browser?

Yes, the function behaves the same, but the default locale separators can differ based on the device's region settings. Use a locale tag in the format string for consistent output.

Can I convert a number to words (e.g., 1 to "one")?

Power Apps has no built-in number-to-words function. You would need to build a custom formula or use a connector or Power Automate flow. The Text function only formats digits, not words.

What is the difference between Text() and Value()?

Text() converts a number to a text string using a format. Value() converts a text string to a number. They are opposites; use both together when your source is text but you need formatted output.