- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Data

Work with Text DAX Functions in Power BI
In this lab, you’ll practice using DAX text functions in Power BI. When you’re finished, you’ll have an understanding of how to manipulate text in DAX to search, extract, format, and combine text.

Lab Info
Table of Contents
-
Challenge
Get Started in the Lab Environment
Here are the initial instructions and explanation of the lab environment. Read this while your environment is busy creating itself from nothing. Yes, this violates physics; we know. How fun!
-
Challenge
Use the SEARCH and Related Functions
In this first challenge of a series, you’ll set up a Power BI data model for learning and learn about different ways to find text within other text. We’ll be using DAX queries, for which we need to have at least one table in the model.
-
Challenge
Use the LEFT, RIGHT, and MID Functions
Sometimes you may need to extract a substring from some text string, be it from the beginning, end, or middle. DAX has several functions that can help with it.
-
Challenge
Use the FORMAT Function
Non-text values sometimes may need to be included as part of a text string, and often there are several ways to format such values. In DAX, you can use the FORMAT function to do so.
-
Challenge
Use the CONCATENATE Function
It’s common to combine various text strings together to arrive at a result you want to show. For example, you may want to display a sentence somewhere that shows the best-selling product and its sales amount.
-
Challenge
The Last Challenge
Welcome to the final challenge! This is your last chance to experiment in the environment. Clicking Finish Lab will end this little world that flittered into existence just for you.
About the author
Real skill practice before real-world application
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.