• Labs icon Lab
  • Data
Google Cloud Platform icon
Labs

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.

Google Cloud Platform icon
Labs

Path Info

Level
Clock icon Beginner
Duration
Clock icon 1h 0m
Published
Clock icon Mar 21, 2025

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. 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!

  2. 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.

  3. 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.

  4. 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.

  5. 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.

  6. 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.

What's a lab?

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.

Provided environment for hands-on practice

We will provide the credentials and environment necessary for you to practice right within your browser.

Guided walkthrough

Follow along with the author’s guided walkthrough and build something new in your provided environment!

Did you know?

On average, you retain 75% more of your learning if you get time for practice.