How to combine several status into one reporting value
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-09-2017 04:03 PM
I am trying to take a list of records with multiple status values and create a report with just two values ... open and closed so...
select from table where status in (open, pending, working, etc). open
select from table where status in (closed, cancelled, etc) closed
so on a report I get a group by x, stack by status and end up with two stack values.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-09-2017 04:09 PM
You can use "Active" field = true/false.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-09-2017 09:08 PM
I think it can be done by using 'Report ranges'
Let me run some tests and confirm it. But I am pretty sure it can be done.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-12-2017 08:49 PM
Hi Irvin, I wrote a blog to solve this with report ranges. Hopefully it is published now.
ServiceNow reporting - use report ranges for advanced grouping