Editing your query
This section shows you how to access configuration options in the Query Builder. Query Builder is the main place where you build, and customize queries.
Editing queries on a dashboard
On a dashboard you can either edit some query configuration options from the chart configuration menu (see Customizing your chart) or open the query in the Query Builder where you can access all of the options.
- Click the dashboards library icon ().
- Open the dashboard containing the query you want to edit.
- Click the query.
- Click the down arrow in the upper right corner of the query.
- Select from the following editing options:
- Edit query: Access all editing options, including adding new data and changing the chart type. You will be redirected to Query Builder.
- Edit configuration: Customize only the report appearance using the chart configuration menu (). For information on customization tools , see Customizing your chart.
Editing queries in Query Builder
If you do not have your query added to a dashboard or are not working on a dashboard, you can edit your query in Query Builder.
- Click the Queries library icon () on the left toolbar.
- Click the Settings icon () for the query you want to edit.
- Select Edit from the Settings drop-down list.
Query Builder opens, and loads the query you selected.
Changing your chart type
You can select from over 25 chart types in Explore (see Visualization types reference). Explore will automatically select a chart type, based on the metrics and attribute you add. You can select a new chart type in the Visualization type menu () in Query Builder.
- Select your query from the queries library to open Query Builder.
- Click the visualization type icon ().
- Select a new chart type.
- Click the visualization type icon again to close the menu.
Your query will now be displayed in the selected chart type.
Customizing your chart
In Explore you can edit the color, text, and interactions of your query. All of these options are available in the Chart configuration menu (). The Chart configuration menu contains customization options unique for each chart type (see Visualization types reference). While some customization options apply to all charts, others are only visible for specific chart types. This section will discuss both types of options.
Customization options available for all charts:
- Chart: Edit options specific for individual chart types. The chart type contains options to edit the formatting of your chart. If your chart does not have axes, you can edit text size here.
- Colors: Edit your chart text and result colors. If you are the account owner, you can set the default color in the Admin menu.
- Display format: Change the formatting of your results to percentages, currency, timestamps, or custom formats. See Changing your result format for more information.
- Row selector: If your chart has rows, this lets you edit how the row selector on the left hand side of the chart is displayed.
- Legend: Edit the location, visibility, and colors of your legend.
- Datatips: Display information about your results when a user hovers over a data point (see Adding datatips to queries).
- Displayed values: Controls the display and format of metric values on your chart.
- Trend line: Add and format a trend line on your charts.
- Applied filters: Show or hide filters from viewers.
- Visualization Selector: Add the Visualization Selector to your chart. This enables users to toggle between different chart types on a dashboard.
- Interactions: Enable or disable interactions (see Turning off dashboard and query interactivity).
- Decompose type: Enables you to slice only selected data points by additional attributes (see Interacting with queries).
- Drillthrough: Let's you select the elements and their order that you will see when you drill into data on your chart (see Interacting with queries).
- Explosion: Controls the display and style of exploded charts.
Customization options restricted to specific chart types:
- X axis, Y axis, Secondary axes: Edit axes settings, such as color, visibility, and label size. You can edit a secondary axes if you add a metric on a dual axis (see Adding metrics to a dual axis).
- Columns: Edit the width, visibility, and alignment for table columns. For information on customizing tables, see Customizing tables.
Editing your metrics and attributes
You can rename elements, organize information, and create folders in the Data structure menu (). The data structure menu is useful for editing your metrics and attributes after importing data.
You can perform the following actions in the data structure menu, by clicking the drop-down arrow next to an element name:
- Reset display name: Set an element's edited name back to the original imported name.
- Create a group: Divide the attribute values into segments. This will create a new, calculated attribute with the groups as the attribute values (see Creating groups).
- Create a set: Create a new, calculated attribute containing selected values from the original attribute (see Creating a set).
- Create a renamed set: Enter new names for the attribute values. This will create a new, calculated attribute (see Creating a renamed set).
- Create an ordered set: Change the order of your attribute values. This will create a new, calculated attribute (see Creating an ordered set).
In addition to the actions above you can rename elements (see Editing metric and attribute names) and create, organize, and delete element folders (see Adding and organizing metric and attribute folders).