Forum Discussion
Anonymous
3 years agoNot applicable
Average Sales DAX code
Dear Experts I have the below report being used by the business. I was asked to populate the average of total sales of all stores of group A for a particular week. I do not have date in...
- 3 years ago
Anonymous
Give this a try.
Avg = CALCULATE ( AVERAGE ( YourTable[Sales] ), ALLEXCEPT ( YourTable, YourTable[Week], YourTable[Group] ) )
jdbuchanan71
3 years agoSuper User
Anonymous
Give this a try.
Avg =
CALCULATE (
AVERAGE ( YourTable[Sales] ),
ALLEXCEPT ( YourTable, YourTable[Week], YourTable[Group] )
)