Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
I need to show the average temparature across multiple cities. There are so many cities and I don't want to display all of them. The plan is to select the desired cities via a slicer so those selected cities will be displayed in the matrix visual along with the average temperatures. How do I do that?
Solved! Go to Solution.
Hi,
I am not sure if I understood your question correctly, but please check the below picture and the attached pbix file.
I tried to create a sample pbix file like below.
You can achieve this by using a slicer and a measure:
Drag the column containing city names to the slicer visual.
Create a Measure for Average Temperature:
Average Temperature = AVERAGE('TemperatureData'[Temperature])Add Fields to the Matrix Visual:
Drag the City column to the Rows field.
Add the Average Temperature measure to the Values field.
💌 If this helped, a Kudos 👍 or Solution mark would be great! 🎉
Cheers,
Kedar
Connect on LinkedIn
Hi,
I am not sure if I understood your question correctly, but please check the below picture and the attached pbix file.
I tried to create a sample pbix file like below.
Hi @deepak_d03
To implement this, you can use a slicer in Power BI to filter the desired cities, and the matrix visual will dynamically update to show the selected cities along with their average temperatures.
Add a Slicer
Create a Measure
Average Temperature = AVERAGE('YourTable'[Temperature])
Set Up the Matrix Visual
Test
Did I answer your question? Mark my post as a solution, this will help others!
If my response(s) assisted you in any way, don't forget to drop me a "Kudos" 🙂
Kind Regards,
Poojara
Data Analyst | MSBI Developer | Power BI Consultant
Please Subscribe my YouTube for Beginners/Advance Concepts: https://youtube.com/@biconcepts?si=04iw9SYI2HN80HKS
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 5 | |
| 5 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 16 | |
| 9 | |
| 8 | |
| 8 |