Skip to main content
Announcements
July 15, NEW Customer Portal: Initial launch will improve how you submit Support Cases. IMPORTANT DETAILS
cancel
Showing results for 
Search instead for 
Did you mean: 
glenn2460
Contributor II
Contributor II

Count of locations with more than three incidents last week

I'm attempting to obtain the number of locations having more than three incidents last week. 

Here's my latest attempt --  which is giving me the number of locations with more than three incidents -- regardless of date.

Count({$<Location={"=Count(distinct [Incident Number])>3"}, [Incident Date.autoCalendar.WeeksAgo]={1}>} distinct Location )

Any assistance much appreciated.

Thanks.

Glenn

 

1 Solution

Accepted Solutions
Kushal_Chawda

try to nest the set analysis

=Count({<Location={"=count(distinct {<[Incident Date.autoCalendar.WeeksAgo]={1}>} [Incident Number])>3"}>} distinct Location)

View solution in original post

4 Replies
Kushal_Chawda

try to nest the set analysis

=Count({<Location={"=count(distinct {<[Incident Date.autoCalendar.WeeksAgo]={1}>} [Incident Number])>3"}>} distinct Location)
dwforest
Specialist II
Specialist II

Maybe combine the test:

Count({$<Location={"=Count(distinct [Incident Number])>3 and [Incident Date.autoCalendar.WeeksAgo]=1"}>} distinct Location )

glenn2460
Contributor II
Contributor II
Author

Thank you for your reply!

glenn2460
Contributor II
Contributor II
Author

Thank you for your reply!