Power BI filters and slicers affecting this visual

When changing the slicer from "All" to a specific selection, it changes both tables that are on the same page. I would like it to only filter through the top Data Description table.

Here are some screenshots to better describe what I'm referring to: the first picture has the slicer on "All"

Power BI filters and slicers affecting this visual

When choosing a selection, both tables are being filtered instead of just the top table.

Power BI filters and slicers affecting this visual

Thanks for your help

When I drop a new visual to page where I already have slicers they all are applied to that visual. Now I don't want that to be the case because I will use a different data source but I find it very difficult to remove these filters:

https://imgur.com/MzYK7Ht

I realized that you have the edit interaction tool under the format tab but even though I uncheck all other slicers and visuals but the filter just don't go away.

Is there a way to add a "clean" visual to a page?

Thanks

I have three tooltips quite close together explaining some features to the user. But when hovering over them the filters icon appears showing users what filters and slicers are affecting the visual. This just gets in the way though when trying to hover over the tooltips. Is there a way to disable this feature? Thanks!

APPLIES TO: ✔️ Power BI Desktop ✔️ Power BI service

Suppose you want your report readers to be able to look at overall sales metrics, but also highlight performance for individual district managers and different time frames. You could create separate reports or comparative charts. You could add filters in the Filters pane. Or you could use slicers. Slicers are another way of filtering. They narrow the portion of the dataset that is shown in the other report visualizations.

Power BI filters and slicers affecting this visual

This article walks through creating and formatting a basic slicer, using the free Retail Analysis Sample. It also covers controlling which visuals are affected by a slicer, syncing with slicers on other pages, and filtering and formatting slicers.

These other articles explain how to make specific types of slicers:

When to use a slicer

Slicers are a great choice when you want to:

  • Display commonly used or important filters on the report canvas for easier access.
  • Make it easier to see the current filtered state without having to open a drop-down list.
  • Filter by columns that are unneeded and hidden in the data tables.
  • Create more focused reports by putting slicers next to important visuals.

Power BI slicers don't support:

  • Input fields
  • Drill-down options

Create a slicer

  • Power BI Desktop
  • Power BI service

This slicer filters data by district manager. If you want to follow along with this procedure, download the Retail Analysis Sample PBIX file.

  1. Open Power BI Desktop, and from the menu bar, select File > Open report.

  2. Browse to the Retail Analysis Sample PBIX.pbix file, then select Open.

  3. On the left pane, select the Report icon

    Power BI filters and slicers affecting this visual
    to open the file in report view.

  4. On the Overview page, with nothing selected on the report canvas, select the Slicer icon

    Power BI filters and slicers affecting this visual
    in the Visualizations pane to create a new slicer.

This slicer filters data by district manager. If you want to follow along with this procedure, use the built-in Retail Analysis Sample.

  1. Open the Power BI service, then click on Get data in the bottom left corner.

  2. On the Get Data page that appears, select Samples.

    Power BI filters and slicers affecting this visual

  3. Select the Retail Analysis Sample, and choose Connect.

  4. Click Edit on the menu bar to display the Visualizations pane, then select the Slicer icon

    Power BI filters and slicers affecting this visual
    to create a new slicer.

  1. With the new slicer selected, from the Fields pane, expand the District table and select DM to populate the slicer.

    The new slicer is now populated with a list of district manager names and their selection boxes.

    Power BI filters and slicers affecting this visual

  2. Resize and drag the elements on the canvas to make room for the slicer. If you resize the slicer too small, its items are cut off.

  3. Select names on the slicer and notice the effects on the other visualizations on the page. Select names again to deselect them, or hold down the Ctrl key to select more than one name. Selecting all names has the same effect as selecting none.

  4. Alternately, select the Format icon

    Power BI filters and slicers affecting this visual
    in the Visualizations pane to format your slicer.

    There are too many options to describe them all here; experiment and create a slicer that works for you. In the following image, the first slicer has a horizontal orientation and colored backgrounds for the items. The second slicer has a vertical orientation and colored text for a more standard look.

    Power BI filters and slicers affecting this visual

    Tip

    Slicer list items are sorted in ascending order, by default. To reverse the sort order to descending, select the ellipsis (...) in the top right corner of the slicer and choose Sort descending.

By default, slicers on report pages affect all the other visualizations on that page, including each other. As you choose values in the list and date slicers that you just created, notice the effects on the other visualizations. The filtered data is an intersection of the values selected in both slicers.

Use visual interactions to exclude some page visualizations from being affected by others. On the Overview page, the Total Sales Variance by FiscalMonth and District Manager chart shows overall comparative data for district managers by month, which is information that you want to keep visible. Use visual interactions to keep slicer selections from filtering this chart.

  • Power BI Desktop
  • Power BI service
  1. Go to the Overview page of the report, and then select the DM slicer you previously created.

  2. Select Format from the menu, and then select Edit interactions.

    Power BI filters and slicers affecting this visual

    Filter controls,

    Power BI filters and slicers affecting this visual
    each with a Filter and a None option, appear above all the visuals on the page. Initially, the Filter option is preselected on all the controls.

  1. Go to the Overview page of the report, and then select the District Manager slicer you previously created.

  2. Select Visual interactions from the menu, and then switch on Edit interactions.

    Power BI filters and slicers affecting this visual

    Filter controls,

    Power BI filters and slicers affecting this visual
    each with a Filter and a None option, appear above all the visuals on the page. Initially, the Filter option is preselected on all the controls.

  1. Select the None option in the filter control above the Total Sales Variance by FiscalMonth and District Manager chart to stop the DM slicer from filtering it.

For more information about editing interactions, see Change how visuals interact in a Power BI report.

Sync and use slicers on other pages

You can sync a slicer and use it on any or all pages in a report.

In the current report, the District Monthly Sales page has a District Manager (or DM) slicer, but what if we also wanted that slicer on the New Stores page? The New Stores page has a slicer, but it provides only Store Name information. With the Sync slicers pane, you can sync the District Manager slicer to these pages, so that slicer selections on any page affect visualizations on all three pages.

  • Power BI Desktop
  • Power BI service
  1. In Power BI Desktop on the View ribbon, select Sync slicers.

    Power BI filters and slicers affecting this visual

    The Sync slicers pane appears between the Filters and Visualizations panes.

    Power BI filters and slicers affecting this visual

  1. In the Power BI service, on the View menu, set the Sync slicers pane to On.

    Power BI filters and slicers affecting this visual

    The Sync slicers pane appears between the Filters and Visualizations panes.

    Power BI filters and slicers affecting this visual

  1. On the District Monthly Sales page of the report, select the District Manager slicer.

    Because you've already created a District Manager slicer on the Overview page, the Sync slicers pane appears as follows:

    Power BI filters and slicers affecting this visual

  2. In the Sync column of the Sync slicers pane, select the Overview, District Monthly Sales, and New Stores pages.

    This selection causes the District Monthly Sales slicer to sync across these three pages.

  3. In the Visible column of the Sync slicers pane, select the New Stores page.

    This selection causes the District Monthly Sales slicer to be visible in these three pages. The Sync slicers pane now appears as follows:

    Power BI filters and slicers affecting this visual

  4. Observe the effects of syncing the slicer and making it visible on the other pages. On the District Monthly Sales page, notice that the District Manager slicer now shows the same selections as on the Overview page. On the New Stores page, the District Manager slicer is now visible and it selections affect the selections that are visible in the Store Name slicer.

    Tip

    Although the slicer initially appears on the synced pages at the same size and position as on the original page, you can move, resize, and format synced slicers on the various pages independently.

    Note

    If you sync a slicer to a page but don't make it visible on that page, slicer selections made on the other pages still filter the data on the page.

You can also sync two or more separate slicers. Syncing slicers is useful when working with composite models, as you might want to make the same selection across sources without relying on cross-source group relationships. To sync two or more separate slicers, you mark them as being part of a group.

  1. Make sure the Sync slicers pane is visible by selecting it from the View menu.

    Power BI filters and slicers affecting this visual

  2. Select one of the slicers that you want in the group. In the Sync slicers pane, expand Advanced options, and enter a name for the group. You can name it anything you want.

    Power BI filters and slicers affecting this visual

  3. Then select another slicer you want to sync with the first, and enter the same name in the group name box. Be sure to enter it exactly the same.

  4. Make sure to select either Sync field changes to other slicers, Sync filter changes to other slicers or both depending on your scenario.

    • If you just want to keep the slicers in sync so filters set by the slicers are kept in sync, select Sync filter changes to other slicers.
    • If you also want to make sure that any changes you make to the field on which the slicers are based get synced across the group, select Sync field changes to other slicers.
  5. Test that the sync works the way you want by changing the selection in one of the slicers. Observe that it gets updated in the other slicer in the group.

Filtering slicers

You can apply visual-level filters to slicers to reduce the list of values that are displayed in the slicer. For example you might filter out blank values from a list slicer, or filter out certain dates from a range slicer. When you filter the slicer, it only affects the values that are shown in the slicer, not the filter that the slicer applies to other visuals when you make a selection. For example, let's say you apply a filter to a range slicer to only show certain dates. The selection on the slicer will only show the first and last dates from that range, but you would still see other dates in your other visuals. Once you change the selected range in the slicer, you'll see the other visuals update. Clearing the slicer would show all the dates again.

For more information on visual-level filters, see Filter types.

Format slicers

Different formatting options are available, depending on the slicer type. By using Horizontal orientation, Responsive layout, and Effects coloring, you can produce buttons or tiles rather than standard list items, and make slicer items resize to fit different screen sizes and layouts.

  1. With the District Manager slicer selected on any page, in the Visualizations pane, select the Format icon

    Power BI filters and slicers affecting this visual
    to display the formatting controls.

    Power BI filters and slicers affecting this visual

  2. Select the drop-down arrows next to each category to display and edit the options.

Visual options

  • For Orientation, Vertical is selected by default. Select Horizontal to produce a slicer with horizontally arranged tiles or buttons, and scroll arrows to access items that don't fit in the slicer.

    Power BI filters and slicers affecting this visual

General options

  • Turn On the Responsive layout to change the size and arrangement of slicer items according to the view screen and slicer size.

    For list slicers, responsive layout prevents items from being cut off on small screens. It's available only in horizontal orientations. For range slider slicers, responsive formatting changes the style of the slider and provides more flexible resizing. Both types of slicers become filter icons at small sizes.

    Power BI filters and slicers affecting this visual

    Note

    Responsive layout changes can override specific heading and item formatting that you set.

  • Under Position and Size, set the slicer position and size with numeric precision, or move and resize the slicer directly on the canvas.

    Experiment with different item sizes and arrangements, and note how the responsive formatting changes accordingly. These options are available only when you select horizontal orientations.

    Power BI filters and slicers affecting this visual

For more information about horizontal orientations and responsive layouts, see Create a responsive slicer you can resize in Power BI.

Selection controls options (list slicers only)

  • Under Selection, turn Show "Select all" option to On to add a Select all item to the slicer.

    Show "Select all" option is Off by default. When enabled, this option, when toggled, selects or deselects all items. If you select all items, selecting an item deselects it, allowing an is-not type of filter.

    Power BI filters and slicers affecting this visual

  • Turn Single select to Off to allow you to select multiple items without needing to hold down the Ctrl key.

    Single select is On by default. Selecting an item selects it, and holding down the Ctrl key selects multiple items. Selecting an item again deselects it.

Title options

Title is On by default. This selection shows the data field name at the top of the slicer. You can edit the title, too, which is especially useful for hierarchy slicers. See Change the title in the article "Add multiple fields to a hierarchy slicer" for details.

  • For this article, format the title text as follows:
    • Font color: red
    • Text size: 14 pt
    • Alignment: Center
    • Font family: Arial Black

Effects options

  • Select an orange color under Background, and then change the Visual border to red.

    Power BI filters and slicers affecting this visual

    Tip

    • With General > Orientation > Horizontal selected, deselected items show the chosen text and background colors. Selected items use the system default, usually a black background with white text.
    • With General > Orientation > Vertical selected, items always show the selected colors, and check boxes are always black when selected.

Other formatting options

The other formatting options are Off by default. Turn On these options to control them:

  • Background: Add a background color to the slicer and set its transparency.
  • Lock aspect: Keep the relative height and width of the slicer if it's resized.
  • Border: Add a border around the slicer and set its color. This slicer border is separate from and unaffected by the General settings.
  • Shadow: Add a drop shadow to the slider.

Next steps

For more about slicers, see the following articles: