How to display GlideAggregate or group reports to users so that they can be exported?

bobswisshelm
Kilo Contributor

I want to be able to generate group totals and display them to users so that they can extract the aggregates as values.  

Example:

Group CMDB_CI by Class, reporting the COUNT of rows in each class.

If I do this with a Line report, SN displays the Group/Count before each set of rows for each class, but those totals cannot be exported.  

If I use a Bar Chart, the information generates quickly, but can only be exported as a picture, so the user can't extract the data.

I can create a custom table and use GlideAggregate to populate rows in that table, then display the custom table to the user.  That seems like a lot of work, will generally require a separate custom table for each type of report that I want to generate.

Is there an easier way to do this?

Thanks in advance!

4 REPLIES 4

Anurag Tripathi
Mega Patron
Mega Patron

Hi Robert,



I think you can achieve this by using List Calculations on the lists report.


-Anurag

Shiva Thomas
Kilo Sage

Hi Robert,



You can have the best of both world by creating a Bar chart (or pie chart) and with the "Display Data Table" option checked.


Under the image, you'll have a table with the aggregates numbers ready to by cut and paste.



2017-06-19 13_53_35-Create a report _ ServiceNow.png



Here is the result of a simple cut and paste from my demo instance. The layout is kept sweet and nice.


ClassBase Configuration Item CountPercentage of Count
Software1,76763.58%
Computer81129.18%
Business Service401.44%
Printer281.01%
Server190.68%
Windows Cluster Node140.5%
Database130.47%
Web Server90.32%
Windows Server80.29%
UNIX Server70.25%
UPS60.22%
Email Server50.18%
Other521.87%
Total2,779100%

shivanipatel
ServiceNow Employee
ServiceNow Employee

Robert,



We are glad you took advantage of the ServiceNow Community to learn more and to get your questions answered. The Customer Experience Team is working hard to ensure that the Community experience is most optimal for our customers.



If you feel that your question was answered, we would greatly appreciate if you could mark the appropriate thread as "Correct Answer". This allows other customers to learn from your thread and improves the ServiceNow Community experience.



If you are viewing this from the Community inbox you will not see the correct answer button.   If so, please review How to Mark Answers Correct From Inbox View.



Thanks,


Shivani Patel


Unknown-1.png