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,
I have to calculate the total # of cases created per day. Of those cases, how many were closed, who closed them and also how many of the original cases were still open at the end of the day. I want a daily look, weekly look, and monthly look.
Thank you,
Audra
In this scenario, you need to have a full calendar table (connecting your Case table on date column) with all different date parts columns (Year, Quarter, Month, Day and Week) so that data can aggregate on corresponding level. You also need a column for tagging a case is closed or not. Then you just need to create a measure to calculate daily created cases.
Daily Created Cases Volume = CALCULATE ( COUNTA ( Case[Case] ), ALLEXCEPT ( Case, Case[CaseCreatedDate] ) )
To calculate daily closed cases, just filter the table context with the [IsClosed] column.
Daily Closed Cases Volume = CALCULATE ( COUNTA ( Case[Case] ), ALLEXCEPT ( Case, Case[CaseCreatedDate] ), FILTER ( Case, Case[IsClosed] = 1 ) )
Regards,
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 |
---|---|
116 | |
102 | |
78 | |
76 | |
49 |
User | Count |
---|---|
145 | |
108 | |
107 | |
89 | |
61 |