What's new ⬇ Download Reportworq
⬇ Guide PDF

View visibility#

Early release. This feature is in early release, so its screens and behavior may change. Tell us what you think with Send feedback. See Early release features and Send feedback.

Every view in a data model has a visibility: Public, Hidden or Disabled. It decides two things: whether report authors are offered the view when they pick data, and whether the view is allowed to run. It is not a permission. Who may open the data model at all is decided by the folder permissions on the model.

When to use it. Keep a view Hidden while you build it, or when it only exists to feed a joined view. Make it Public when report authors should find it. Set it Disabled to stop it everywhere because it is wrong. At Timberline Harvest Co., the Sales Journals model has Sales Details, which report authors pick, set to Public, and Sales Channels, a small list of channels that only supports other views, left Hidden.

The three states#

Public Hidden Disabled
Listed in the Excel add-in and the web report studio, for everyone, authors included Yes No No
Joined views of the model can read it Yes Yes No. The joined view fails, naming it
Runs (reports, jobs, previews in the add-in) Yes Yes No. It fails, naming it
Editable in the data model editor, and Preview works Yes Yes Yes
A new view starts as Hidden

The tooltips on the three buttons say the same in a sentence:

Who sees what#

Who Where Public Hidden Disabled
Model author The data model editor Sees and edits it Sees and edits it Sees and edits it, and Preview runs it
Report author The Excel add-in, when picking data for a new report Listed Not listed Not listed
Report author The web report studio and Explore, when picking data Listed Not listed Not listed
Anyone, with a report already built on the view An existing Excel report, web report or distribution job Runs Runs Fails, naming the view
Reader (a person who only reads what is shared with them) A web report shared with them Runs Runs, if they can see the data model's folder Fails, naming the view
Reader The Excel add-in Sees no views, whatever their visibility Sees no views Sees no views

Points that table cannot carry:

Set a view's visibility#

  1. Open the data model with Edit from its row in the workspace, and select the view in the rail.
  2. In the view's header, choose Public, Hidden or Disabled. The three buttons sit beside Delete view. Hover a button to read what it does.
  3. If you choose Disabled and something in the model uses the view, Reportworq opens Disable view and lists what uses it: joined views, relationships between views, level hierarchies, and views whose variable choices are listed from it. Choose to go ahead or cancel. Reports and jobs already bound to the view are not listed, because the model does not record them.
  4. Select Save Changes. The new visibility takes effect for everyone when the model is saved.
The header of the Sales Details view in the data model editor, with the Public, Hidden and Disabled buttons, Public selected, and the Delete view button at the right.
The header of the Sales Details view in the data model editor, with the Public, Hidden and Disabled buttons, Public selected, and the Delete view button at the right.Tap or click the image to view it full screen

In the rail, a view that is Hidden or Disabled says so on the right of its row. A Public view shows its field count instead.

The rail of the Sales Journals data model. Sales Details shows its field count, and Sales Channels shows Hidden at the right of its row.
The rail of the Sales Journals data model. Sales Details shows its field count, and Sales Channels shows Hidden at the right of its row.Tap or click the image to view it full screen

What a Disabled view does#

A Disabled view never runs outside the data model editor's Preview. Every other way of running it is refused with a message that names the view:

“Sales Channels” is disabled. Set it to Public or Hidden in its data model to run it.

The refusal applies to Excel reports, web reports, distribution jobs, a variable's choice list read from the view, and a joined view that has the view as an input, even in Preview. A joined view over a Disabled input fails before it reads any source. In the editor, the view's status as you have it unsaved counts, so an input you just set to Disabled is refused before you save.

To bring the view back, set it to Public or Hidden and save.

What a Hidden view does#

A Hidden view is left out of the lists, and nothing else changes:

Hidden is not a permission#

Hidden only leaves a view out of the lists in the Excel add-in and the web report studio. Anyone who can see the data model through its folder permissions can run a Hidden view, readers included. A web report that is shared with readers shows them the rows of the Hidden view it is built on.

To keep data private:

Save warnings follow visibility#

If a view's query cannot run when you save, the warning depends on its visibility. A Public view gets a modal that says it will not run and suggests setting it to Hidden or Disabled, because report authors can pick it. A Hidden or Disabled view whose fields could not be read gets only a light notice, because nobody is offered it.

Notes and limits#

Going deeper. The full tour of the model editor is in Data models. For how joined views read their inputs, see Join views across sources.

Feedback on this page

Comments, questions, requests, or something missing or unclear? Email us - the page you are on is filled in for you.

Email feedback on this page

Or write to support@reportworq.com directly.