Google Data Studio serves as a powerful tool for data visualization and reporting with an extensive array of functions to refine data. One such user-friendly yet dynamic function is LOWER. LOWER is primarily valuable when you want to perform operations that require uniform case text. By transforming the text into lowercase, this function allows data consistency, which in turn aids in accurate and efficient data analysis.
The LOWER function carries a simple and straightforward syntax:
LOWER(X)
In this expression, the 'X' serves as a parameter that can be literal text, any field, or an expression integrating at least one field. When you apply the LOWER function to this parameter, it alters all the uppercase characters into lowercase.
The LOWER function works by scanning through each character of the provided text string (X). Whenever it encounters an uppercase character, it alters it to the corresponding lowercase character. It's important to note that this function leaves all non-alphabet characters (such as digits or special characters) untouched.
Let's create our own custom use-cases where the LOWER function could play a crucial role. For instance, assume you have a sales dataset with an 'Items Sold' field depicting the names of items sold in various capitalizations.
Example 1: Consider a sales record containing the item "Laptop". If you apply the LOWER function to this, the output will be "laptop".
Input: LOWER(Items Sold)
Output: laptop
Example 2: In a situation where you have the item name as "SmartPHONE", applying the LOWER function will give "smartphone".
Input: LOWER(Items Sold)
Output: smartphone
As evident, the LOWER function has converted all uppercase characters to lowercase, fostering homogeneity in the dataset.
The primary limit of the LOWER function rests in its lack of power over non-alphabet characters. It can only convert letters, and all numbers, spaces or special characters remain unchanged. This function also doesn't impact text strings that already exist entirely in lowercase.
It's advisable to employ the LOWER function when querying a case-sensitive database or when attempting to join tables based on a specific field which may not be uniformly formatted.
Moreover, despite its limitation, the LOWER function can prove quite powerful when combined with other Google Data Studio functions. For example, coupling LOWER with other functions like TRIM (to remove extra spaces before and after the text) or even REGEXP_MATCH (to check for a pattern match when lowercase letters are involved) adds an extra layer of flexibility and depth to your data analysis.
-
Using this quintessential function, LOWER, can greatly enhance your data consistency, and thereby, your data analysis accuracy in Google Data Studio.
Remember, a great data visualisation begins with effective manipulation and understanding of the raw data!
Become a Looker Studio expert
for free
Learn all the secrets of data analysis and create beautiful and effective dashboards thanks to our 30-second video courses! Join Catchr's community on YouTube.
Get more video lessonsAll your data on Looker Studio
Build Looker Studio dashboard easily with your marketing data from all platforms and track your essential KPIs! No-code integration.
Start free trial now!Optimize your data analysis
Get free Looker Studio dashboard template among a large collection of +50 stunning template! Elevate your data visualization.
Get free templates!