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.
Hello!
I have a dataset with complaint numbers and the dates for when they were filed. I made a line chart for Complaints by Month and my managers want to see a 90 day rolling average by month for the complaints. I googled how to do it but it seems like all the examples have continuous date data whereas I only have the dates on which complaints were filed. Would appreciate help in figuring this out.
Solved! Go to Solution.
@fayanan Try something like this:
Measure =
VAR __Date = MAX('Table'[Date])
VAR __Date90Days = __Date - 90
RETURN
COUNTROWS(FILTER('Table',[Date]>=__Date90Days && [Date]<=__Date))
@fayanan Try something like this:
Measure =
VAR __Date = MAX('Table'[Date])
VAR __Date90Days = __Date - 90
RETURN
COUNTROWS(FILTER('Table',[Date]>=__Date90Days && [Date]<=__Date))
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 |
---|---|
113 | |
99 | |
75 | |
73 | |
49 |
User | Count |
---|---|
145 | |
109 | |
109 | |
90 | |
64 |