Forum Discussion
abukapsoun
3 years agoPost Patron
Sum & average
Hi Guys, Need your support please, I have the following dataset for each of the day: I want to Sum people based on city, then i want to average the city based on flag. so Ger = average...
- 3 years ago
Download the PBI file.
Greg_Deckler
3 years agoCommunity Champion
abukapsoun Try:
Measure = AVERAGEX(SUMMARIZE('Table',[Date],[City],"__Sum",SUM('Table'[People]),[__Sum])abukapsoun
3 years agoPost Patron
Hi Greg,
It didn't work, it seems there is a syntax error
I am getting the following:
Too few arguments were passed to the AVERAGEX function. The minimum argument count for the function is 2.
As well I got error under:
[__Sum]
Can you maybe send me a pbix for it?