The Upper function in PowerApps converts all the characters in a text string to uppercase. This function is useful for standardizing text input, making text comparisons case-insensitive, or simply formatting text for display.
PowerApps – Upper() function Syntax
- Text: The text string that you want to convert to uppercase.
Notes:
- Empty Strings: If the text string is empty, Upper returns an empty string.
- Non-String Values: Ensure that the input to the Upper function is a text string to avoid errors.
PowerApps – Upper() function Basic Example
To convert the text "Hello World" to uppercase:
This returns "HELLO WORLD".
PowerApps – convert text input text to upper case
If you have a text input control named TextInput1 and you want to convert the input text to uppercase:
PowerApps Case-Insensitive Comparisons of text
To perform case-insensitive comparisons, you can convert both strings to uppercase before comparing them:
If(Upper(TextInput1.Text) = Upper(TextInput2.Text), "Match", "No Match")