Power BI | Quick measures exercise | Dynamic header cards

This exercise is provided to allow potential course delegates to choose the correct Wise Owl Microsoft training course, and may not be reproduced in whole or in part in any format without the prior written consent of Wise Owl.

Software ==> Power BI  (111 exercises)
Version ==> Latest update
Topic ==> Quick measures  (3 exercises)
Level ==> Average difficulty
Subject ==> Power BI training
Before you can do this exercise, you'll need to download and unzip this file (if you have any problems doing this, click here for help).

You need a minimum screen resolution of about 700 pixels width to see our exercises. This is because they contain diagrams and tables which would not be viewable easily on a mobile phone or small laptop. Please use a larger tablet, notebook or desktop computer, or change your screen resolution settings.

Using the Excel file in the above folder create a chart, a slicer and apply a page filter. The results should look something like this:

Filtered chart

Wouldn't it be nice to have a message box saying which filters had been applied?

From the Home tab choose Quick Measure, then from the bottom of the list choose Concatenated list of values:

Power BI Dynamic header

All the values in the Field column will be concatenated.  The Number of values before truncation box indicates how many are listed before returning etc.

Repeat this for all the columns you have used for filtering, and then insert the newly created measures into cards:

Power BI Dynamic Headers

What would be slightly nicer is having them in one card together, but there isn't a quick measure to do this.

From the Home tab choose New measure and concatenate the two previously created measures together:

Power BI Measure

The UNICHAR(10) returns a line break, so the filters will be listed on two lines.

Put this in a card to create a new dynamic title:

Final dynamic title

The final title shows all of the filtering and slicing choices that you have made.

Optionally save your report as Helpful headlines then close it down.

You can unzip this file to see the answers to this exercise, although please remember this is for your personal use only.
This page has 0 threads Add post