OpenBI Docs Buy

UPPER

A text in upper case.

Group: Text. Compatible with DAX.

Syntax

UPPER ( <text> )
ParameterTypeDescription
textTextThe text to write in capitals; a number becomes text first.

Returns

Text. The text with every small letter made a capital.

Remarks

  • Only letters change; digits and signs stay as they are. ø becomes Ø; ß has no capital of its own here and stays ß.
  • A blank gives BLANK.
  • Comparing texts with = already ignores case; UPPER is for showing text, or for EXACT and FIND, where case counts.

Examples

Capitals

EVALUATE
ROW ( "lettøl", UPPER ( "lettøl" ), "straße", UPPER ( "straße" ), "12", UPPER ( 12 ) )
lettølstraße12
LETTØLSTRAßE12

The products in capitals

EVALUATE
SELECTCOLUMNS (
    Products,
    "Product", Products[Product],
    "Upper", UPPER ( Products[Product] )
)
ORDER BY [Product]
ProductUpper
CiderCIDER
IPAIPA
LettølLETTØL
PilsPILS

LOWER, EXACT, TRIM.

Last updated · OpenBI Studio 0.3.74