Skip to main content
Question

Dashboards unable to filter on Case Closure Dates

  • July 30, 2026
  • 2 replies
  • 14 views

Epidot

We currently export all case data via IDE script to Power BI.  Now custom fields are available in Dashboards I want to bring our reporting into Secops.  However I see a huge issue. 

1)  Dashboards doesn’t expose case closure date/time.
2) The dashboard time filter selector is creation date/time.

So it is an impossibility to do the most basic things like “show me how many cases were closed last week”. 

What am i missing please as i just don’t believe such a basic requirement isn’t possible without using a legacy report or script.

 

thanks

 

Jamie

2 replies

cmorris
Staff
Forum|alt.badge.img+16
  • Staff
  • July 30, 2026

You can use case_history to get closure time. Sample result:

 

Sample query:

$id = $h.case_history.case_response_platform_info.case_id
$id = $c.case.response_platform_info.response_platform_id
$name = $c.case.display_name
$status = $c.case.status
$status = "CLOSED"
$env = $c.case.environment
$create_date = timestamp.get_timestamp($c.case.create_time.seconds)
$name != "Moved Alert"

match:
$id, $name, $status, $env, $create_date

outcome:
$case_close_time = max(if($h.case_history.case_activity = "CLOSE_CASE", $h.case_history.event_time.seconds, 0))
$close_date = timestamp.get_timestamp($case_close_time)
$ttc_days = math.round((($case_close_time - min($h.case_history.event_time.seconds)) / 86400), 2)

order:
$id desc

unselect:
$case_close_time

 


whathehack81
Forum|alt.badge.img+7

From what I am seeing out of this, if you use a custom dashboard date filter bound to $case_close_time, instead of the standard case-creation time filter. The existing query already calculates the correct closure timestamp. So that should complete the patch/fix.