Measures. If you add more than one measure to a section, the Columns section will contain the Measure Names dimension that defines the location of the measure headers. You can move Measure Names to Rows.
Colors
Measure. Affects the fill of all cells containing measures. It may only contain one measure.
Sorting
Dimensions and measures under Columns and Rows. Multiple dimensions and measures can be used.
The sorting direction is marked with an icon next to the field: for ascending or for descending. To change the sorting direction, click the icon.
DataLens first groups columns or rows in the order they are listed in their respective sections, and only then sorts the groups according to the Sorting section. The order of fields in the section affects the sorting order of the table fields.
Sorting by measure affects only the query to the source, not the pivot table.
Open the workbook, click Create in the top-right corner, and select the object you need.
Follow the guide from step 4.
Go to the DataLens home page.
In the left-hand panel, select Charts.
Click Create chart → Chart.
At the top left, click Select dataset and specify the dataset to visualize. If you do not have a dataset, create one.
Select Pivot table as the chart type.
Drag a dimension from the dataset to the Columns section.
Drag a dimension from the dataset to the Rows section.
Note
In the Columns and Rows sections, you can change the order of dimensions by dragging them.
Drag a measure from the dataset to the Measures section. The values are displayed in the table cells.
Drag a measure from the dataset to the Color section. Cells with the measure are filled in with a color from the color gradient, depending on the measure value.
Under Rows, click the icon to the left of the dimension or measure name.
In the window that opens, enable the Tooltip option, enter the text in the field below, and click Apply. By default, with this option enabled, the tooltip text is taken from the field description in the dataset.
When the option is enabled, the icon appears next to the table column header. Hover over the icon to bring up the tooltip.
Under Columns, Rows, or Measures, click the icon to the left of the field name.
In the window that opens, enable Column fill color.
In the By field list, select the field whose values the fill will be based on.
Set the Fill type:
Note
You can use the Palette type for dimensions and the Gradient type for measures.
Fill is not supported for the Total columns and rows.
For a dimension
For a measure
Click the color scheme selection field and set a color for each dimension value.
Click Apply.
Click the gradient selection field and set the following properties:
Gradient type: Select two or three colors.
* Gradient color: Select a color palette for the gradient from the list.
* Gradient direction: Change the gradient direction using the icon.
Set threshold values: Set numeric thresholds for each color.
Click Apply.
For the Gradient fill type, specify the coloring option for null values: Do not color or Color as 0.
You can only freeze columns generated from dimensions in the Rows section.
In the top-right corner of the Columns or Rows section, click (this icon appears when you hover over the section).
In the window that opens, click next to the name of the far right column to pin the columns. This column and all columns to the left of it will stay in place as you scroll horizontally.
Use the Pagination and Limitsettings to manage the number of rows displayed on the screen and exported from the chart. To change the number of rows:
At the top of the screen, click next to the chart type.
Enable pagination and set the number of rows per page or disable pagination.
Click Apply.
By default, tables come with pagination on and a limit of 100 rows per page. With pagination off, the whole table will be displayed within the display limits. Pagination is not available if only one page is displayed or there is no data.
With pagination on, only table data from the current page will be exported. To save the whole table within the chart export size limit, disable pagination.
Under Measures, click the icon to the left of the measure name.
In the window that opens, enable Linear indicator.
Specify the indicator settings:
Fill type: Type of fill color for the indicator.
Positive values: Indicator color for positive values.
Negative values: Indicator color for negative values.
Show labels: This option enables displaying measure values in a cell.
Show in totals: This option enables displaying the indicator in cells with totals.
Align: Left or right alignment of the indicator position in a column. Only applies if all numbers in a column are either positive or negative.
Scale: Sets the indicator scale. If you set a scale manually, specify the min and max values. Make sure the min value is less than or equal to 0 and the max value is larger than or equal to 0.