This article describes how to change common settings in the Properties > Data tab across multiple outputs at once. After selecting the pages or outputs on a page, Properties > Data will show every setting applied to any selected output and show the "N" selected mixed state for settings that differ.
You can change items, such as Rows, Columns, Filter(s), Weight from the corresponding dropdowns, Rules via right-click, and Appearance > Layout in bulk. You can select multiple items on a page, multiple pages, or an entire report. Keep in mind that things configured in the Properties on tables/items on a Page are output-specific and do not change the underlying variables used (unlike creating NETs, merging, and renaming, which are done on a table and applied to all instances of the variable set).
Requirements
A Displayr document
Method
- Select what you want to change. You can select multiple individual items, including Tables, Pages, Visualizations, etc. Whatever you select will select applicable outputs within those items.
- Make the change in the Properties
to apply to relevant items.
The Properties will list fields that you are able to change in bulk on the Data and Appearance tabs. If a filter/weight appears with a - icon next to it, this means the outputs selected have different settings in those fields.
To apply the filter/weight to all of the selected items, tick the checkbox for the filter/weight. To remove the filter/weight from all selected items, click on the checkbox twice.
Any change you make in a field will apply to all outputs with that field available in the selection. Note: filters will only apply to R calculations that reference the QFilter in the code.
For Rules, right-click a rule, and you will be able to decide to apply or remove the rule from the selected items. If you select Edit, it will edit the rule, and the changes will be applied to outputs where the rule has been applied.
For example, suppose we have these two tables measuring cola preference by income and age. In addition, we have a Filter variable set up for Gender. We would like to apply the filter variable to both tables at once rather than one at a time.
To do so:
- Click on the first table and CTRL-Click the second table.
Properties> Data shows that two tables have been selected and no filters are applied:
- Now, change the Filter from None to Male.
The results are as follows: - Now change the Statistics > Cells from Column % to Row %. Be sure that both tables are selected first.
The results are as follows:
Next
How to Set a Default Table Style
UPCOMING WEBINAR: How to Hand Half Your Job to AI (the Right Half)