--- title: Questions in data visualizations description: You can group or filter table data in data visualizations by questions. The table must support questions.In visualizations of data from the Task \[task\] hierarchy of tables, you can use questions defined for the table to filter or group the data. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/now-intelligence/questions-in-dv.html release: australia topic_type: concept last_updated: "2026-03-12" reading_time_minutes: 4 breadcrumb: [Configure, Data visualizations, Platform Analytics experience, Platform Analytics] --- # Questions in data visualizations You can group or filter table data in data visualizations by questions. The table must support questions. Creating data visualizations grouped by questions is helpful to: - Determine whether questions that customers ask are getting answered. - Gain more information from customers during the request process. The data source must be a non-service catalog table that has questions associated with it. You can filter or group by questions on a table extended from the Task \[task\] table, for example the Incident \[incident\] or Problem \[problem\] tables, or from the Record Producer table \[sc\_cat\_item\_producer\]. You can use questions when you create custom conditions to filter the data source. You can also use questions in any Group by or Alternative group by fields that the type of data visualization supports. **Note:** If there is a Record Producer associated with the table, variables defined in that Record Producer are available as Questions in the condition builder for filtering the data source, except for the following question types: - Label - Rich text label - Macro - Container You cannot group by Record Producer variables. For more information, see [Record Producer](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/servicenow-platform/c_RecordProducer.md). **Parent Topic:**[Configure data visualizations](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/now-intelligence/configure-data-visualizations.md) ## Use questions in data visualizations In visualizations of data from the Task \[task\] hierarchy of tables, you can use questions defined for the table to filter or group the data. ### Before you begin Role required: viz\_creator or higher, including itil. To see the data, you need a role permitted by a report\_view access control on the data source table ### About this task Use a question as a filter, a group by, or an alternative group by. **Note:** Box, and Trendbox visualizations can’t use questions as a group by or alternative group by. Single Score, Calendar Report, and Geomap visualizations don’t support grouping on any fields. Pivot Table visualizations can group by questions only as columns or rows. ### Procedure 1. Navigate to **All** > **Platform Analytics** > **Library** > **Data Visualizations** and open the visualization to add the question to. 2. Select one of the following options.
**Use the question as a filter** Add or edit a data source and select **Add custom conditions**. If any custom conditions have already been defined, select **+ Add**. Then select **Questions** at the bottom of the field list.
**Add the question as a __group by__** Under **Group by**, select **+ Add**. Then select **Questions** at the bottom of the field list.
**Add the question as an alternative group by** Under **Group by**, select **Add alternative group by**. Then select **Questions**.
**Add the question as a column or row in a pivot table** Under **Group by**, select **+Add** for Columns or Rows, then select **Questions** at the bottom of the field list.**Note:** - If you create the report with the question as the main Group By, the question behaves as an inner join. - If you create the report with a regular field for primary grouping, and a secondary grouping on the question, the question works as an outer join.
The available questions appear. Not all questions that are available as group by values are also available as alternative group by values. 3. Select the question you want. 4. If you are using the question in a custom condition, select the operator and the value. 5. Select **Apply**. ### Question as a filter Here you have opened the Edit data source page for a data visualization. No custom conditions have been defined for this data visualization, so you select **Add custom condition**. \[Omitted image "dv-data-source-custom-conditions.png"\] Alt text: The Add custom conditions link on the Add or Edit data source page. Next, you scroll down the Select field list to question, select that, and select a question. \[Omitted image "add-custom-filter-questions.png"\] Alt text: Selecting a question for the custom filter. Finally you select the operator and the value, such as Is \| A4, and select **Apply**. ### Question as a group by In this case, you have a horizontal bar visualization of data in the Incident table. In the Group by section, you edit the group by. You scroll to the bottom of the list of fields and replace the Active field with questions, and select your question. \[Omitted image "question-dv-groupby.png"\] Alt text: Selecting a Question in a Group by field. If you want to add a question as a row or column on a Pivot Table, the experience is almost identical. ### Question as an alternative group by You want a different question as an alternative group by. You select **Add alternative group by** and scroll to **Questions**. Unlike other menus, its position is alphabetical instead of at the bottom. You expand **Questions**, and the list changes to a selection of questions. Not all questions that were available as a group by are available as an alternative group by. Anyway, you select some questions and press **Apply all**. \[Omitted image "dv-alternative-group-by-questions.png"\] Alt text: Additional group by selector for questions.