Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
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 |
---|---|
54 | |
22 | |
18 | |
16 | |
11 |
User | Count |
---|---|
81 | |
55 | |
39 | |
20 | |
13 |