Sub topic 1
Controlling what is visible: the Selection pane
The Selection pane lists every object on a report page and lets you control whether each one is visible, what it is called, and which object sits in front of which. Bookmarks, buttons, and show/hide patterns in later chapters all depend on it. This chapter explains how the pane works, how to prepare a page for those patterns, and which mistakes cause trouble later.
Prerequisites
This chapter assumes you can do the following in Power BI Desktop:
- Move between report pages and select a visual on the canvas.
- Add visuals and slicers from the Fields pane.
- Use the Format pane to change a visual's size, position, and background.
- Recognize cross-filtering, where selecting a value in one visual filters the others on the page.
You do not need DAX or bookmarks yet. Bookmarks appear in the next chapter.
What the Selection pane shows
Open the pane from the View tab by selecting Selection. A panel appears beside the canvas. It lists every object on the current page:
- Visuals, including slicers, charts, tables, and cards.
- Shapes, text boxes, buttons, and images.
- Groups, which you create yourself.
The pane shows only the page you are viewing. Each page has its own list, and objects on one page never appear in another page's list.
Each row has three parts:
- A name. New objects get a default name based on their type, such as "Clustered column chart".
- An eye icon. An open eye means the object is visible. A crossed-out eye means it is hidden.
- A position in the list. Objects higher in the list sit in front of objects lower in the list.
Selecting a row selects that object on the canvas, including objects that are hidden or buried behind others. Selecting an object on the canvas also highlights its row.
Hiding and showing visuals
Select the eye icon on a row to hide that object. The object disappears from the canvas, but it is not deleted. Its data, formatting, and filters are unchanged.
A hidden visual behaves differently from a deleted one in several ways:
- It still exists in the report, so you can show it again at any time.
- It still holds its slicer selections. A hidden slicer can keep filtering the page.
- It does not appear when readers view the report in their browser, until something makes it visible again.
- Most of the time it does not run its queries while it is hidden, so hiding a heavy visual can reduce load.
The last point is a rule of thumb, not a guarantee. Do not use hiding as a security feature. Anyone who can edit the report can open the Selection pane and reveal the object.
This is the main reason the pane matters for interactivity. A bookmark can store which objects are hidden and which are shown. When a reader selects a button linked to that bookmark, the page switches to the stored visibility. The next chapters build on this.
Layering with the order of objects
When two objects overlap, the one higher in the Selection pane is drawn on top. You can change the order by dragging a row up or down. You can also use the Bring forward and Send backward commands on the Format tab.
Layering matters for a typical filter panel:
- A rectangle forms the panel background.
- Slicers sit on top of the rectangle.
- A close button sits on top of everything else.
If the rectangle is above the slicers in the list, the slicers are covered. They look missing, and clicks land on the rectangle instead. In the Selection pane, move the rectangle below the slicers.
A related problem affects buttons. A transparent shape that sits above a button can intercept clicks, so the button appears not to work. When a button does nothing, check the layer order before you check its settings.
Naming objects clearly
Default names such as "Slicer" or "Rectangle" become hard to tell apart as the page grows. Double-click a row, type a new name, and press Enter.
Choose names that describe the role of the object. These examples follow a simple pattern of type, then purpose:
| Default name | Better name |
|---|---|
| Slicer | Slicer - Category |
| Rectangle | Panel background |
| Button | Button - Open filters |
| Clustered column chart | Chart - Sales by month |
| Table | Table - Sales detail |
Clear names help in three places:
- You find the right row quickly when ten objects overlap.
- Screen readers and other assistive tools can use the names, as long as you also set alt text on the visual.
- A colleague opening the report later understands what each object does.
Naming matters more once bookmarks exist. A bookmark applied to selected visuals stores a list of those objects, and you will check that list in the Selection pane.
Grouping objects
Select several rows, right-click, and choose Group. The objects become one row that you can expand and collapse. A group has its own name and its own eye icon.
Groups help in these ways:
- Hiding the group hides every object inside it with one click.
- You move and resize the contents together.
- The list stays short, because you can collapse the group.
For a filter panel, put the background rectangle, the slicers, and the close button in a group named "Filter panel". Hiding that group hides the whole panel.
Groups also have limits to keep in mind:
- You can still hide or show an object inside a group on its own. If you hide one slicer inside a visible group, that slicer stays hidden when the group is shown.
- If a bookmark records a group as hidden, showing the group later does not automatically restore the hidden items inside it. Check the state of the inner items.
- Groups can be nested, but deep nesting makes the list harder to read. Keep it to one level when you can.
Locking objects
The Selection pane does not lock objects, but the View tab has a Lock objects option. It stops you from moving or resizing objects by accident while you work. Use it after you finish arranging a page. It does not change visibility or layering.
Hiding objects for a design reason
Not every hidden object is part of an interaction. Some are hidden on purpose:
- A slicer that applies a standing filter, such as a fixed year, which readers should not change.
- Helper visuals, such as a card used to check a measure while you build the report.
- Alternate versions of a chart, shown only when a reader chooses them.
Mark these with a clear name, for example "Chart - Table view (hidden)". A hidden object is easy to forget, and it can still affect what readers see through its filters.
Common errors
| Symptom | Likely cause | Fix |
|---|---|---|
| A slicer is missing from the page | A shape sits above it in the Selection pane | Drag the slicer above the shape |
| A button does not respond to clicks | A transparent object covers it | Move the button to the top of the list |
| A group shows only some of its objects | An inner object has its own hidden eye icon | Expand the group and show the inner object |
| Totals look wrong and no filters are visible | A hidden slicer holds a selection | Show the slicer, clear it, and hide it again if needed |
| Object names look the same in the list | Default names were never changed | Rename each object by role |
A short workflow to follow
Use this order of work before you add any bookmark:
- Open the Selection pane from the View tab.
- Arrange the page so that every object appears in the right position.
- Rename each object by its role.
- Group objects that belong together, such as a panel and its slicers.
- Check the layer order by selecting each row and looking at the canvas.
- Hide and show the groups you plan to toggle, and confirm that the page looks right in each state.
Step 6 is the one people skip. A page that looks wrong in the Selection pane will produce a bookmark that looks wrong too.
Exercise
A report page has a rectangle that forms a filter panel background, and three slicers on top of it. After you move the rectangle with the mouse, the slicers vanish from the canvas, though they still appear in the Selection pane with open eyes. What is the cause, and how do you fix it?
Show answer
Moving the rectangle changed its layer order, or you brought it to the front, so it now sits above the slicers and covers them. Open the Selection pane and drag the rectangle below the three slicers in the list, or select the rectangle and use Send backward. The open eyes show that the slicers are still visible, only covered.
Exercise
A colleague hides a slicer with the eye icon and says the filter it holds is "gone" because the slicer no longer appears. Is that correct? What would you check?
Show answer
No. Hiding a slicer only removes it from view. It keeps its selection and continues to filter the page. Open the Selection pane, show the slicer, and check or clear its selection. Hidden slicers are a common cause of unexplained totals.