Forum Discussion
taurius2022
4 years agoFrequent Visitor
Summarize average for unique vaalue for every month
Hello community, I have encountered a following problem. Neitheer reading an extensive Power BI forum, nor YouTubing helps. I have the following data set: First, I would like to ...
- 4 years ago
Hi taurius2022 ,
average count of Unique-ID for the month:
=
var _s = SUMMARIZE('Table',[Month],[Unique-ID],"sum of events",SUM('Table'[SUM]))returnAVERAGEX(_s,[sum of events])average sum for a month based on the number of unique-id:= AVERAGE('Table'[SUM])Pbix in the end you can refer.
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-chenwuz-msft
Community Support
4 years agoHi taurius2022 ,
average count of Unique-ID for the month:
=
var _s = SUMMARIZE('Table',[Month],[Unique-ID],"sum of events",SUM('Table'[SUM]))
return
AVERAGEX(_s,[sum of events])
average sum for a month based on the number of unique-id:
= AVERAGE('Table'[SUM])
Pbix in the end you can refer.
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.