Indicator vs Table data source selection
After you submit a query to AI Data Explorer, the system checks the query for information whether to use table or indicator data. If there is no such information, it falls back on a default set in a system property.
Tables on the ServiceNow AI Platform® contain current data. To view trends in this data over time, you need an indicator (KPI). Indicators are calculated from table values that are collected over time.
- Keywords
- Context, if present
- Fallback value in system property
- To use an indicator as the data source:
- indicator
- indicators
- KPI
- key performance indicator
- To use a table as the data source:
- table
- list
- live data
- live query
- right now
- at this time
- this moment
- as of today
If your query is a follow-up question or launched from a data visualization, you already start with a context. If the system returns a successful result from the same source as the context, it keeps that source type. If the context has both an indicator and a table, the system goes with the more recent source type.
If the query does not show whether table or indicator data is preferred, the system uses the fallback source type defined in the system property sn_query_gen.default_source_type. The default value is
table.
For indicator data sources, both automated and scripted breakdowns are supported, but only to two levels. If a query cannot be answered with fewer than three breakdowns, the system falls back to table data sources.