Reporting : variables are not visible while creating report

pramn
Kilo Sage

Hi Team , 

what could be the reason variables are not visible while creating report?

pramn_0-1783590563050.png

Thanks for your help 

3 REPLIES 3

Dr Atul G- LNG
Tera Patron

https://www.servicenow.com/docs/r/now-intelligence/reporting/rep-service-catalog-variables.html

https://www.servicenow.com/docs/r/now-intelligence/reporting/use-service-catalog-variables-in-report...

 

DrAtulGLNG_0-1783590723122.png

List, Box, Trendbox, and Pivot reports cannot use service catalog variables as a primary or secondary Group by. Single Score, Calendar, Control, and Map reports do not support Group by on any fields. List reports can use service catalog variables as columns.

Use a variable as an extra Group by, as a column in a list report, or as a column or row in a multilevel pivot table.

*************************************************************************************************************
Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/dratulgrover [ Connect for 1-1 Session]

****************************************************************************************************************

Tanushree Maiti
Tera Patron

Hi @pramn 

 

Users may lack the necessary permissions to view the underlying variable tables like  sc_item_option and sc_item_option_mtom.  It kind of limitation of Data Model/Data structure.

 

So to create report with RITM variables, you can follow -

 

Option A:

You can create a report that with variable columns and then export that report to CSV or Excel.

  1. Navigate to Reports > Create New.
  2. Data Source: Select sc_req_item (Requested Items) table.
  3. Filter Conditions: Set Cat Item | is | [Name of Catalog Item A].
  4. Configure -> Choose Columns:
    • In the slushbucket, scroll down until you see Variables (marked with +).
    • Click Variables. A popup will appear asking for the Catalog Item. Select Catalog Item A.
    • Select the variables you want and move them to the right.
  5. Save and Run the report.
  6. Click the share/export icon and select Export > CSV or Excel

Option B:

If you need to do this frequently, creating a Database View is the most robust approach to join RITM data with Variable data

Refer: Reporting on Catalog item variables

Please Accept the solution if it assisted you with your question & Mark this response as Helpful.
Regards
Tanushree Maiti
ServiceNow Technical Architect
LinkedIn: https://www.linkedin.com/in/tanushreemaiti

Ankur Bawiskar
Tera Patron

@pramn 

what type of report you are creating?

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader