Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 20 | |
| 10 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 32 | |
| 31 | |
| 18 | |
| 12 | |
| 11 |