Daily DAX : DAy 410 LOWER

Power BI DAX – LOWER Function

Syntax

LOWER()

Parameter:
– A text string or a column containing text.

What It Does

The LOWER function converts all letters in a text string to lowercase. Non-letter characters (numbers, spaces, symbols) remain unchanged.

Return Value

A text string with all alphabetic characters converted to lowercase.</

Common Use Cases

Use Case Why Use LOWER? Example
Case-insensitive filtering or lookup Users may type "USA", "usa", or "UsA". Converting to lowercase ensures consistent matching. SearchValue = LOWER(SELECTEDVALUE(SearchTable[Input]))
Cleaning inconsistent data Standardize product names, categories, or customer names stored in mixed case. Clean Category = LOWER('Product'[Category])
Creating keys for relationships or merging Combine with other columns to create case-insensitive composite keys. Email Key = LOWER('Customers'[Email])
Search functionality in reports Allow users to search without worrying about case sensitivity. FILTER(Customers, CONTAINSSTRING(LOWER(Customers[Name]), LOWER(SearchText)))

Practical Examples

  • Simple conversion:
    LOWER("Power BI Is Awesome") → "power bi is awesome"

  • Calculated column to standardize country names:
    Standard Country = LOWER('Sales'[Country])

  • Case-insensitive search measure:
    Total Sales (Search) = 
    CALCULATE(
        SUM('Sales'[Amount]),
        FILTER(
            'Products',
            CONTAINSSTRING(
                LOWER('Products'[ProductName]),
                LOWER(SELECTEDVALUE(SearchTable[SearchText]))
            )
        )
    )

Related Functions

  • UPPER() – Converts to uppercase
  • EXACT(text1, text2) – Case-sensitive comparison
  • FIND / SEARCH – SEARCH is case-insensitive, FIND is case-sensitive

LOWER is a simple but powerful function for ensuring consistent, case-insensitive text handling in Power BI.

Comments

Popular posts from this blog

Daily DAX : Day 131 SELECTEDMEASURE

Daily DAX : Day 446 INFO.CSDLMETADATA

Daily DAX : Day 453 ENDOFWEEK