The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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
User | Count |
---|---|
81 | |
81 | |
37 | |
34 | |
31 |
User | Count |
---|---|
94 | |
80 | |
60 | |
50 | |
49 |