Read our blogs, tips and tutorials
Try our exercises or test your skills
Watch our tutorial videos or shorts
Take a self-paced course
Read our recent newsletters
License our courseware
Book expert consultancy
Buy our publications
Get help in using our site
547 attributed reviews in the last 3 years
Refreshingly small course sizes
Outstandingly good courseware
Whizzy online classrooms
Wise Owl trainers only (no freelancers)
Almost no cancellations
We have genuine integrity
We invoice after training
Review 30+ years of Wise Owl
View our top 100 clients
Search our website
We also send out useful tips in a monthly email newsletter ...
Software ==> | DAX (59 exercises) |
Topic ==> | The VALUES function (7 exercises) |
Level ==> | Relatively easy |
Subject ==> | Power BI training |
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.
Open the Tallest Buildings Dynamic Labels.pbix file in the folder shown above. On Page 1 you'll find a slicer which allows you to select a single country, and a chart showing the buildings for the selected country.
Use the SELECTEDVALUE function to create a measure which shows the name of the selected country. Assign this measure to the title of the chart visual.
Make sure that you have only one country selected at this point.
Edit the measure to add the phrase Tallest buildings in before the name of the country.
Your chart title should now look like this.
Edit the measure again to include the count of buildings after the name of the country.
You can use the existing Count of Buildings measure to help with this part.
Edit the SELECTEDVALUE function so that it returns the phrase multiple countries if you select more than one country in the slicer.
You can hold CTRL and click to select multiple items in the slicer.
On Page 2 you'll find a chart showing the average height of buildings in different countries.
Create a measure using the CONCATENATEX function which lists the building names, separating each with a new line. Assign this measure to the tooltips of the chart.
You can use UNICHAR(10) to create a new line character.
Edit the measure to show the height of each building after its name.
The tooltip should now look like this.
Edit the measure once more to sort the buildings in descending order of height, then ascending order of name.
The final tooltip should look like this.
Save and close the report.
You can find other training resources for the subject of this exercise here:
Kingsmoor House
Railway Street
GLOSSOP
SK13 2AA
Landmark Offices
99 Bishopsgate
LONDON
EC2M 3XD
Holiday Inn
25 Aytoun Street
MANCHESTER
M1 3AE
© Wise Owl Business Solutions Ltd 2024. All Rights Reserved.