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! Learn more
Hi guys,
I'm trying to create a benchmarking tool where a user will choose a certain store and see its KPIs, which will then be compared to the KPIs showing the averages of all the stores in that region. Moreover, there are also other filters that should change these KPIs when applied, such as location strength, location type, brand, etc.
For example, this is how the table look approximately (with many other columns like Sales that I need to do a similar calculation with).
| Store | Location Strength | Location Type | Region | Sales | 
| A | 3 | 4 | Asia | 3000 | 
| B | 4 | 5 | Asia | 3500 | 
| C | 5 | 4 | Asia | 4000 | 
| D | 4 | 3 | Americas | 5000 | 
| E | 3 | 5 | Amercias | 4000 | 
| F | 5 | 3 | EU | 5500 | 
| G | 4 | 4 | EU | 4500 | 
| H | 3 | 4 | EU | 3000 | 
So for example, here I would like to choose store A and the benchmark should then show 3500 ((3000 + 3500 + 4000)/3).
I've tried a bunch of different options, but the problem is that when using the other filters the KPIs become blank. And I have thousands of rows, so shouldn't be a problem that there are no examples.
My calculation looks like this currently (which works fine when not using any other filters):
Solved! Go to Solution.
Hi, @MrMano ;
You could create a measure as follow:
Measure = CALCULATE(AVERAGE('Table'[Sales]),FILTER(ALLSELECTED('Table'),[Region]=MAX('Table'[Region])))
Or
measure=CALCULATE(AVERAGE('Table'[Sales]),ALLEXCEPT('Table','Table'[Region]))
The final show:
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi, @MrMano ;
You could create a measure as follow:
Measure = CALCULATE(AVERAGE('Table'[Sales]),FILTER(ALLSELECTED('Table'),[Region]=MAX('Table'[Region])))
Or
measure=CALCULATE(AVERAGE('Table'[Sales]),ALLEXCEPT('Table','Table'[Region]))
The final show:
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@MrMano, Try like
AverageX(filter(allselected(Financials), Financials[Region] =max(Financials[Region])),Financials[Sales])
or
AverageX(filter(all(Financials), Financials[Region] =max(Financials[Region])),Financials[Sales])
 
					
				
				
			
		
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 | 
|---|---|
| 80 | |
| 49 | |
| 35 | |
| 31 | |
| 30 |