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 Team,
It will be much appreciated if anyone can help me in deriving a logic to calculate the overall Average against each customer by excluding the current line supplier.
Example:
The Dax should automatically eliminate the current line's Supplier and should calculate the average for the rest of the Suppliers.
| Supplier | Sales | Comparative Average |
| A | 3 | Average(b&C) |
| B | 5 | Average(A&C) |
| C | 4 | Average(B&C) |
Any suggestion will help in my analysis to calculate the benchmarking against each other.
Thanks so much for your time,
Kind Regards
Sha
Solved! Go to Solution.
Hi,
I think you need that one:
Comparative Average =
CALCULATE(
AVERAGE('Sample'[Sales]);
FILTER(
ALLSELECTED('Sample');
NOT('Sample'[Supplier] in VALUES('Sample'[Supplier])))
)Basic measures:
Proud to be a Super User!
Hi,
I think you need that one:
Comparative Average =
CALCULATE(
AVERAGE('Sample'[Sales]);
FILTER(
ALLSELECTED('Sample');
NOT('Sample'[Supplier] in VALUES('Sample'[Supplier])))
)Basic measures:
Proud to be a Super User!
Hi Bolfri,
Thanks for the Idea, It worked Exactly the way I wanted. Much appreciated.
kind Regards
Sha
Step 1
Thanks, Ritesh, for your suggestion.
Much appreciated.
Kind Regards
Sha
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.