Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
45 | |
25 | |
19 | |
16 | |
8 |
User | Count |
---|---|
70 | |
49 | |
45 | |
20 | |
16 |