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!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
I have data in the the below format. I'm trying to get the average of SpareParts by Total, If I select a Location like DEF, it needs to get all the locations in that sector which is AB and also only the locations belongs to the same category which is A here. So it needs to eliminate line I from the result set. And it should do an average of (25% + 55%+ 3% + 50%) which is 33.25%
I am using this formula which is not getting the right result.
Here is the demo file.
Hi Sidhu,
Try this. It will calculate the average correctly depending on the filterd data, as shown in the table you have.
AVERAGE has the bad habit of not calculating correctly when applying filters.
See this forum post for more detail.
User | Count |
---|---|
11 | |
9 | |
6 | |
5 | |
4 |