Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hi all -
Attempting to find an average of CountDistinct values over a period of time (including 0 where no record was recorded).
Here is my calculation for Distinct activity by employee, by week:
I've tried to leverage the following DAX to find the Average over X period of time [including 0 based on this article] :
Unfortunately, my martix view is not recognizing the AverageX command and summed totals are showing, instead of Averages for each employee etc. (0s are popualating as intended):
As the title suggests, how can I get the AverageX to reflect each row of employee over time. My final expecation for this matrix is to ultimately remove the WeekEnd Column and have my KPIs aggregate accordingly.
@aplask105 , Try like
Averagex(summarycolumn, calculate([@cntD])
If this does not help
Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
User | Count |
---|---|
41 | |
27 | |
23 | |
19 | |
16 |
User | Count |
---|---|
55 | |
35 | |
21 | |
18 | |
15 |