Unable to expand columns to search for variable fields in Edit List
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
Good day all,
I'm working on creating a visualization for a dashboard in Platform Analytics. In this visualization, I'm looking at requesed items opened in the last 60 days for hardware and software purchases. As part of the filtering, I need to include the Item "Not Listed Request" (NLR), since some purchases a requested for items not in our catalog. Our NLR form has a single variable field for the requestor to enter what they are requesting.
In the data visualization edit screen, when I try to add addtional fields to the list, I can see the "Variables" field in the Available columns list, but I am not getting the right arrow option on this field (or other fields) to drill into related fields. My profile is configured with ITIL, Viz_Creator and report_user (amongst many others). What else could I be missing, either with permissions or configurations, that will allow me to expand the columns to locate the fields I'm looking for?
I'm also not sure why, but this posting won't allow me to upload a screenshot.
Thank you in advance!
Jonathan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 weeks ago
This could be a limitation of how plateforms analytics handles variable fields rather than a permisions issues.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
Hi @JMZOOK,
This is out of box. In a Platform Analytics list, you can expand the arrow next to Variables in Columns and rows, but only when the data source is Requested Item [sc_req_item] or Catalog Task [sc_task] and it has a predefined condition. If either of those is missing, the arrow does not appear. That is the usual cause here, rather than a missing role on the expand itself. You already have viz_creator, itil and report_user, which is the documented starting point.
To add the NLR variable as a list column:
1. Open the visualization (Platform Analytics > Library > Data Visualizations).
2. Edit the data source, confirm the table is sc_req_item or sc_task, and in Filters set a Predefined condition (for example Item is Not Listed Request, and opened in the last 60 days).
3. In Presentation, expand Columns and rows and select +Add. Keep the columns you want, then at the end of the field list expand the arrow next to Variables, tick the NLR variable, and Apply.
To use that same variable as a filter, edit the data source, choose Add custom conditions (or + Add if a condition already exists), scroll to the bottom of the field list, select Variables, pick the NLR text variable, set the operator and value, and Apply.
The screenshot is this data source step: Requested Item [sc_req_item], a predefined condition (Requested items.Open on this demo), and a catalog variable used as a filter. Use the same route for the NLR variable. The Variables expand arrow for list columns is in Presentation > Columns and rows > +Add once the predefined condition is in place; that picker is not in this screenshot.
By doing this, you can show and filter the last 60 days of hardware/software requested items on the NLR variable, usually without extra roles and without a custom table.
If Variables is still missing after the predefined condition is in place, ask an admin to add your role to the ACLs on Options [sc_item_option], Variable Ownership [sc_item_option_mtom] and Variables [item_option_new]. That is the documented ACL step for roles other than viz_admin. Keep the catalog item condition on "Not Listed Request" as well, so you only evaluate that item's variable.
Service catalog variables in data visualizations: https://www.servicenow.com/docs/r/now-intelligence/dv-rep-sc-variables.html
Add variable or question columns to a Platform Analytics list: https://www.servicenow.com/docs/r/now-intelligence/create-list-dv-with-var-col.html
If this helped, kindly mark it Helpful so others facing the same issue can refer to it.