You may want to hide variables in your Data Set to prevent confusion when editing your document or to remove them from the list of available filters in View mode or Explore mode. The latter is handy if you have filters in your data that you do not want your document viewers to have access to.
Method 1 - specifying where to hide the variable(s) from
In Displayr, you can alter these settings by taking the following steps:
1. Under Data Sets select the variable(s) you want to hide.
2. Under Properties > GENERAL, check the relevant boxes of where to hide the variable(s) from. The options are:
- Hidden except in the data tree - this will hide the variable(s) from all drop-downs in Edit mode and throughout View mode. You will not be able to select it in any outputs. You can still reference this variable in R or JavaScript code if needed. When using this option, the variable will become greyed out in the Data Sets window, and the variable's icon will get a diagonal line through it.
- Hidden in View Mode Filter menu - this will hide the variable(s) from the global filter drop-down in View mode.
- Hidden in Explore Mode - this will hide the variable(s) from the filter selection in Explore mode and will prevent users of your dashboard from applying it to tables or objects from there.
Method 2 - from the data sets tree
To hide a variable set, right-click on the variable set and select Hide.
To unhide a variable set, right-click on the variable set and select Unhide.
Hiding a variable set using this function is the same as selecting Hidden except in the data tree in Method 1 above.
Method 3 - from the toolbar
To hide a variable set, select the variable set, and from the toolbar, click Hide.
To unhide a variable set, select the hidden variable set, and from the toolbar, click Unhide.
Hiding a variable set using this function is the same as selecting Hidden except in the data tree in Method 1 above.
Method 3 - from the Anything menu
To hide a variable or variable set, select the variable or variable set and go to Anything > Hide/Unhide > Hide. To unhide a variable or variable set, select the hidden variable or variable set and go to Anything > Hide/Unhide > Hide. Hiding a variable set using this function is the same as selecting Hidden except in the data tree in Method 1 above. The Anything > Hide/Unhide > Hide Variable Sets also functions this way.
Next