Power BI | Quick measures exercise | Quick measure filter columns

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.

The answer to the exercise will be included and explained if you attend the course listed below!

Software ==> Power BI  (88 exercises)
Version ==> Latest update
Topic ==> Quick measures  (3 exercises)
Level ==> Average difficulty
Course ==> Advanced Power BI
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 table listing appointments by eye colour:

Power BI Quick Measures Table

Since blue-eyed people contribute the most to my sales, I want to calculate what percentage each eye colour contributes compared to blue.

 

This can't be achieved with slicers (since a slicer would filter the entire table, not just one column). Instead create a quick measure filtering the data to show only figures for blue eyes:

Power BI Filter Quick Measure

Sadly only one filter can be applied to the column ... or can it?

This gives the No of Appointments for only blue eyes. To work out the % the other colours make up of blue, create a second measure:

Power BI Measures

Remember to change the measure type to % on the Modeling tab.

 

At this point we can see what the first and second measures created are producing within the table:

Power BI Measures

The best thing is being able to use a slicer (try using a hair colour slicer and looking at the results).

For fun try and create a measure which shows only blond and blue eyes.

Optionally save this as Redheads actually have more fun and close it down.

This page has 0 threads Add post