The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
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
User | Count |
---|---|
14 | |
11 | |
6 | |
6 | |
5 |
User | Count |
---|---|
28 | |
17 | |
11 | |
7 | |
5 |