Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi all,
I'm struggling to find a solution to calculate the average for an Employees Team and Region when their employee is selected in a slicer.
I’m using remove filters right now but it’s not giving the desired results.
Here is a sample data layout.
Table Name: Employee_Master | ||
Employee | Team | Region |
1 | Blue | West |
2 | Red | East |
3 | Green | West |
4 | Blue | East |
5 | Red | West |
6 | Green | East |
Table Name: Sales_Data | |
Employee | Sales |
1 | 10 |
2 | 23 |
3 | 42 |
4 | 12 |
5 | 34 |
6 | 24 |
Employee Master Slicer Selction = 1
Results | Value |
Employee | 10.0 |
Team Avg | 11.0 |
Region Avg | 28.7 |
Solved! Go to Solution.
Hi @TS_PowerBI ,
Please check the model:
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data
Hi @TS_PowerBI ,
Please check the model:
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data
Hi @TS_PowerBI :
Consider creating below two measure to get output you have shown in screenshot
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
94 | |
82 | |
66 | |
58 |
User | Count |
---|---|
151 | |
121 | |
104 | |
87 | |
67 |