This article describes how to go from a standard table...
...to a table that only displays a specified number of rows from the top, plus any other specified rows:
Requirements
- A table or visualization in Displayr.
Note: You must apply the rule directly to the input table if you see a table icon in the Data > Data Source > Data field in the object inspector of a visualization.
You will also see a warning in the Rules section of the object inspector if you have applied a rule directly to a non-compatible visualization, and you will need to apply it to the input table instead. For example:
Method
- Select your table or visualization.
- Go to Data > Rules in the Object Inspector
.
- Select + > Rows/Columns > Show Only Top K and Specified Rows.
- Specify the Number of rows from the top to include.
- Enter the label of any Rows to always retain, e.g., Pepsi Max. It is important to match the spelling as it is displayed in the table.
- OPTIONAL: Select the Color for the required rows specified in step 5.
- Press OK.