Forum Discussion
Anonymous
3 years agoNot applicable
Average is not working
Hi, I have the numbers of customers of two months and want to show the average. This visual is the sum of customers with code: customer[count_no] = IF(ISBLANK(customer[name]),BLANK(),...
- 3 years ago
hi Anonymous
try like:
count_AVG =
VAR _AverageTable =
ADDCOLUMNS (
VALUES ( 'Date'[Date].[Month] ),
"count",CALCULATE(COUNT ( customer[count_no] ))
RETURN
AVERAGEX( _AverageTable, [count] )
FreemanZ
Super User
3 years agohi Anonymous
try like:
count_AVG =
VAR _AverageTable =
ADDCOLUMNS (
VALUES ( 'Date'[Date].[Month] ),
"count",
CALCULATE(COUNT ( customer[count_no] ))
RETURN
AVERAGEX( _AverageTable, [count] )
- Anonymous3 years agoNot applicable
Awesome! It works. Thank you so much 🙂