Visualizations → Solid Gauge
About a Solid Gauge visualization
A solid gauge visualization is a half ring chart that displays an aggregated measure as a fill color within a scale range. As a calculated value, the fill “colors” the half ring in proportion to the scale range of the solid gauge. Typically, the scale begins at 0. Depending on the aggregation type and calculated value, the end of the scale will differ. The solid gauge visualization supports adding additional gauge ranges that represent a fill color for a specific percentage, from 0 to 100.
A solid gauge is a great way to illustrate a Key Performance Indicator (KPI) as a calculated value in relation to a goal or target, such as the Total Revenue for a fiscal quarter.
As a dashboard developer, you can use a solid gauge visualization to create an insight that shows the aggregated or calculated values of one or more business measures, such as revenue or profit. The result is a solid gauge chart on a dashboard tab that shows each measure as a half ring filled with the appropriate aggregated or calculated value, the value plotted in the middle of the ring, and the column label at the top of the gauge.
The distinction between a visualization and an insight is that an insight is an instance of the visualization. As an instance, a solid gauge insight has unique configurations that a dashboard developer determines for displaying a solid gauge chart on a dashboard tab. Insight configurations affect the available user interactions for a dashboard consumer such as the ability to drill down into another dashboard.
Configurations for a solid gauge insight
A dashboard developer first selects a solid gauge visualization for an insight in the Analyzer. Using the Analyzer, a dashboard developer configures pill properties, filter properties, and insight settings. Insight settings and pill properties determine not only how the solid gauge chart appears as an insight in a dashboard tab, but also how a dashboard consumer can interact with the solid gauge chart.
The visualization selection in the Insight panel of the Analyzer determines the available trays. From the Data panel, a dashboard developer adds a column or a formula to a tray. A column or a formula in a tray is a Pill.
Each pill has configurable properties. The parent tray determines the available properties of a pill.
The available trays for a solid gauge insight are:
- Measure
- Individual Filter
A solid gauge insight requires at least one measure pill.
Measure
To create an aggregation or calculation, you can add a column or a formula from the Data panel to the Measure tray.
A solid gauge insight shows the aggregated or calculated value of each measure pill as a number with the pill column label. A solid gauge insight can have multiple measure pills that are independent of each other.
You can select the measure pill to open the Properties panel. In the Properties panel, you can configure various properties such as the Aggregation and Format properties.
Individual Filter
To filter individual rows for the solid gauge insight, define an individual filter for the insight. You can add a column or a formula to the Individual Filter tray from the Data panel.
You can select the individual filter pill to open the Filter panel. Using the Filter panel, you can specify the filter operator, one or more filter values, or the filter expression itself with the Formula Builder. You can also disable the individual filter.
To learn more about filter expressions for an individual filter, review Concepts → Individual Filter.
Pill properties
The parent tray determines the available properties of a pill. There are various possible configurations for each pill type:
- Measure pill properties
- Individual filter properties for a filter expression
You can edit the properties of a measure pill with the Properties panel for a solid gauge insight.
To create a filter expression, you can edit the properties of an individual filter pill with the Filter panel.
For the Filter property of a measure pill, you can open the Filter panel from the Properties panel to create the filter expression.
To open the Properties panel or Filter panel, select the pill arrow.
Measure pill properties
The parent tray determines the available properties of a pill. Select the arrow to the right of the pill name to open the Properties panel and configure the related properties.
Here are the properties of a pill in the Measure tray in a solid gauge insight:
Property | Control | Description |
---|---|---|
Column fully qualified name | label | The fully qualified name of the selected column. This property is available only when you edit the properties of a column. Select the information icon (i) to preview the column function (dimension, key, or measure) and samples of the column data. You can also use the Copy Column Name option to copy the column’s fully qualified name. |
Formula | text box | Select to invoke the Formula Builder and create the formula expression. This property is available only when you edit the properties of a formula added to the tray. |
Data → Column Label | text box | Enter the label for the measure pill. This will be the label of the measure aggregated value on the chart. |
Data → Date Part | drop down list | When the selected column is a date or timestamp, select the part of the date used. The options are: ● Full (default) ● Year ● Quarter ● Month ● Day |
Data → Aggregation | drop down list | Select the aggregation function to apply to the measure values. The available options vary according to the column or formula data type. The options are: ● Average ● Count ● Distinct ● Median ● Min ● Max ● Sum ● Formula ● None |
Data → Scale | drop down list | Select the chart scale. The options are: ● None ● Percent (%) ● Thousands (K) ● Millions (M) The default is None. |
Data → Filter | drag and drop | Drag and drop a column or formula to filter the measure values before applying the aggregation function. Use the Filter panel to specify the filter properties |
Format → Number Format | select | Select the format of the measure aggregated value (e.g. Dollar Rounded) |
Format → Decimal Places | text box | This property appears when you select Decimal, Dollar, Euro, Yen, or Percent as the Format Number. Enter the number of decimal places to use with the measure aggregated value. |
Format → Thousands Separator | toggle | This property appears for all Format options, except No Format. Enable this property to include a comma separator for values of 1000 or greater |
Format → Percentage | toggle | Enable this property to display the measure aggregated value as a percentage |
Format → Prefix | text box | Enter a custom string, for example a currency symbol, to add at the beginning of the measure aggregated value. The string must not contain single quotes. |
Format → Suffix | text box | Enter a custom string, for example a currency symbol, to add at the end of the measure aggregated value. The string must not contain single quotes. |
Format → Date Format | text box | Select a date format. This property is available when you edit the properties of a date column or formula. |
Format → Date Mask | text box | Enter a customized date format |
Format → Minimum | text box | Enter a number as the minimum solid gauge range value |
Format → Maximum | text box | Enter a number as the maximum solid gauge range value. When the value of the measure exceeds the maximum, Incorta ignores the Maximum value you specified. |
Format → Gauge Range | link | Select + Add Gauge Range to add a custom range with a background specific color within a solid gauge. |
Gauge Range → Stop (%) | text box | Enter the range percentage value you want to color |
Gauge Range → Color | select | Select the background color of the solid gauge range you entered in Stop (%) field |
Drill Down → Dashboards Drill Down | link | Select + Add Dashboard to select a dashboard tab to drill down to when the user selects the aggregated value for this measure in the insight |
Add Dashboard → Include Runtime Filters | toggle | Enable this property to pass the applied filter, if any, from one dashboard to another |
Add Dashboard → Search Dashboard | text box | Enter a search string to filter the dashboard tree. From the results, select a dashboard tab to drill down to. |
Advanced → Base Field | drag and drop | Drag and drop a column to join two physical schema objects that are not directly joined. To learn more, review Concepts → Base Table. |
Advanced → Query Plan | button | Select to access the Query Plan Viewer to check the Direct Data Map path that Incorta Analytics Service uses to retrieve or calculate the measure |
The solid gauge range coloring changes gradually and the colors blend according to the specified Gauge Range values you entered. If you do not specify a Gauge Range, the default color will be blue.
Individual filter properties for a filter expression
To filter individual rows for the solid gauge insight, define an individual filter for the insight. You can add a column or a formula to the Individual Filter tray from the Data panel.
Individual filter properties for a filter expression with a column as a pill
Here are the properties of a filter expression for a column as a pill in the Individual Filter tray for a solid gauge insight:
Property | Control | Description |
---|---|---|
Column fully qualified name | label | The fully qualified name of the selected column. This property is available only when you edit the properties of a column. Select the information icon (i) to preview the column function (dimension, key, or measure) and samples of the column data. You can also use the Copy Column Name option to copy the column’s fully qualified name. |
Data → Column Label | text box | Enter the label for the individual filter pill |
Date Part | drop down list | When the filter column is a date or timestamp, select the part of the date used. The options are: ● Full (default) ● Year ● Quarter ● Month ● Day |
Operator | drop down list | Select the operator to use in the filter expression |
Values | multi-select | Select the value(s) to evaluate the column value against. Some operators do not require a value to evaluate against, such as Null and True, and some require more than one value, such as Between. If applicable, enter a string in the search bar to filter the list of values. To add a value to the list, enter it in the text box below the list and select +. |
Advanced → Disable Filter | toggle | Enable this property to disable the filter. Disabled filters are deleted when you save the insight. |
Individual filter properties for a filter expression with a formula as a pill
Here are the properties of a filter expression for a formula as a pill in the Individual Filter tray for a solid gauge insight:
Property | Control | Description |
---|---|---|
Formula label | label | The formula pill label |
Data → Column Label | text box | Enter the label for the individual filter formula pill |
Formula → Dynamic | toggle | Enable this property to select a filter expression session variable as a value |
Formula | text box | Disable Dynamic to configure this property. Enter the formula in the Formula Builder to create the filter expression. |
Operator | drop down list | Select the operator to use in the filter expression |
Values | multi-select | Select the value(s) to evaluate the column value against, if required. Some operators do not require a value to evaluate against, such as Null and True, and some require more than one value, such as Between. In the case that you enable Dynamic, select a filter expression session variable. If applicable, enter a string in the search bar to filter the list of values. To add a value to the list, enter it in the text box below the list and select +. |
Advanced → Disable Filter | toggle | Enable this property to disable the filter. Disabled filters are deleted when you save the insight. |
Settings panel
With the Settings panel, you can configure additional properties for the solid gauge insight. To open the Setting panel, in the Analyzer, in the Action bar, select Settings (gear icon).
Property | Control | Description |
---|---|---|
General → Auto Refresh | toggle | Enable this property to automatically refresh the insight preview while editing it in the Analyzer. A tenant configuration in the CMC Clusters Manager can globally enable or disable this feature at the tenant level. |
General → Data Sampling | toggle | Enabled by default. Enable this property to use only a sample of the insight query data set, rather than the whole query set, when creating the insight. |
Advanced → Max Groups | text box | Set the maximum number of groups that cannot be exceeded in the insight |
User interactions for a solid gauge insight
As a dashboard consumer, you can interact with a solid gauge insight on a dashboard tab. Some interactions will affect only the solid gauge insight. Other interactions will affect both the solid gauge insight and the dashboard. The creation of one or more dashboard runtime filters is an example of a user interaction that affects all applicable insights on all tabs of a dashboard.
Some user interactions require specific configurations by a dashboard developer and therefore may not be available.
The following is one of the possible user interactions for a solid gauge insight:
- Select a number on the chart to open the Go to menu and select a dashboard tab to navigate to (requires a dashboard drill down configuration for the measure pill)
A dashboard runtime filter appears as a filter bar pill and displays the filter expression.
More Options menu for a solid gauge insight
Role-Based Access Control (RBAC) enforces access to certain features and functionality. With Discretionary Access Control (DAC), a user who owns the dashboard can control the access to the dashboard. Access rights include the ability to view, share, and edit the dashboard. Together, RBAC and DAC affect the available selections in both the Action bar and the More Options menu for an insight.
For more information about RBAC and DAC, review Tools → Security Manager.
Download as
- For the solid gauge insight, select More Options (⋮ vertical ellipsis).
- Select Download as.
- Select the download file format:
- PNG
- JPEG
- SVG
View as Table
The View as Table is an Incorta Labs feature and a tenant configuration. A CMC Administrator must enable the feature.
In order to view a solid gauge insight as a Listing Table, follow these steps:
- For the solid gauge insight, select More Options (⋮ vertical ellipsis).
- Select View as Regular Table
For a Listing Table, you can:
- Download as CSV, XSLX, or PDF
- Send to Data Destination
Set Alert
You can set an alert that identifies specific changes to a solid gauge insight by defining a filter expression for a measure filter, individual filter, and/or aggregate filter in an aggregated table or a listing table.
- For the solid gauge insight, select More Options (⋮ vertical ellipsis).
- Select Set Alert. The Analyzer opens with an aggregated table insight that has the Grouping dimension pill and the measure pill from the solid gauge insight. Refer to the Scheduler document for additional information on Data Alerts.
Steps to create a solid gauge insight
For an existing dashboard, to create a Solid Gauge insight for a given dashboard tab, follow these steps:
- If not already open, open a dashboard.
- To add a new insight to the dashboard, in the Action bar, select +.
- If needed, in the Analyzer, in the Data panel, select Manage Dataset.
- In the Manage Data Sets panel, select one or more business schema views and/or one or more physical schema tables.
- To close the Manage Data Sets panel, select X or any other area of the Analyzer.
- In the Insight panel, first, select V.
- In Others, select the Solid Gauge visualization.
- From the Data panel, drag and drop one or more columns to various trays in the Insight panel:
- Measure
- Individual Filter
- Configure the pill properties using the Properties panel or Filter panel.
- Configure various insight properties using the Settings panel.
Example of a solid gauge insight
In this example, you will create a solid gauge insight that shows sales the total revenue, total cost, and gross profit. The example uses the SALES schema that comes with the Sample Data.
In the CMC, you can create a tenant that includes Sample Data. The Sample Data includes the SALES schema.
Add an insight
In the Action bar, select +.
In the Data panel, select Manage Dataset.
In the Manage Data Sets panel, in Tables, under the SALES schema, select the Sales table.
Close the Manage Data Sets panel.
In the Insight panel, under Others, select Solid Gauge.
From the Data panel, drag and drop the Cost and Revenue columns to the Measure tray.
For the Cost column pill, in the Properties panel, do the following:
Specify Number Format to be Dollar Rounded.
Enter Maximum value to be 200000000.
Add 4 Gauge Ranges, as follows:
- Stop (%) : 25, Background: Green (Hex: #70B94E)
- Stop (%) : 50, Background: Yellow (Hex: #FFEB3B)
- Stop (%) : 75, Background: Orange (Hex: #FFA500)
- Stop (%) : 100, Background: Red (Hex: #E12717)
NoteTo add a custom background color, select the + icon in the Custom section, add the Hex code, then select Add.
Enable the Show Percentage Value toggle.
For the Revenue column pill, in the Properties panel, do the following:
- Specify Number Format to be Dollar Rounded.
- Add 5 Gauge Ranges as follows:
- Stop (%) : 20, Background: Red (Hex: #E12717)
- Stop (%) : 40, Background: Orange (Hex: #FFA500)
- Stop (%) : 60, Background: Yellow (Hex: #FFEB3B)
- Stop (%) : 80, Background: Light Green (Hex: #70B94E)
- Stop (%) : 100, Background: Dark Green (Hex: #26792B)
- Enable the Show Percentage Value toggle.
Drag and drop a formula to the Measure tray.
In the Formula Builder, create the following formula to calculate the gross profit:
sum(SALES.SALES.AMOUNT_SOLD) - sum(SALES.SALES.COST_OF_GOODS)
In the Properties panel, for Column Label, enter Gross Profit.
For Number Format, select Dollar Rounded.
Enable the Show Percentage Value toggle.
For all of the pills, enable the Show Percentage Value toggle.
Name the insight Sales.
Select Save.