How to Use the Power BI Button Slicer (Layout, Colors and Sorting)

An HR director I built a report for wanted department filters that looked like buttons across the top of the page, not a list tucked into a corner. The classic slicer can do tiles, but the button slicer goes further: colors per button, a grid layout, images and even a small number under each button.

In this tutorial, I’ll show you how to add a button slicer and customize it: layout, fill colors, a different color for each button, sorting, shapes and text alignment. The button slicer has been generally available since late 2025, so you don’t need to turn on any preview feature.

Quick answer: With nothing selected on the page, choose Button slicer in the Visualizations pane and drag a field, such as Department, into it. Then open Format visual: use Multi-button layout for a horizontal row or grid, Buttons > Background > Fill color for colors (with fx for a color per value), and the visual’s … menu to sort.

Add a button slicer

If you still see an old tutorial telling you to enable the button slicer under File > Options > Preview features, skip it; that was only needed during the preview. Update Power BI Desktop if you don’t see the icon. It’s also available in the Power BI service.

My example uses an Excel file of employee details. After loading it with Get data, the columns appear in the Data pane:

Power BI Desktop Data pane with the employee details sheet loaded from Excel

Select the Button slicer icon in the Visualizations pane and drag Department into its field well:

Button slicer in the Visualizations pane with the Department field added

Each department becomes a button:

Power BI button slicer showing department buttons
Button slicer icon in the Power BI Visualizations pane

Show the buttons in one row or a grid

By default, the buttons stack in a column or a small grid:

Button slicer with department buttons stacked vertically

In Format visual, open Multi-button layout and choose an arrangement: Vertical, Horizontal or Grid. For one row across the page, choose Horizontal. Then pick how the buttons are sized:

  • Fit to space (formerly called Autogrid) grows and shrinks the buttons with the visual.
  • Fixed size sets an exact height and width in pixels; a scroll bar appears if they don’t all fit.

Older versions called this Layout > Arrangement > Single row. The result is the same:

Button slicer with department buttons in a single horizontal row

Change the button color

Out of the box, the buttons use the report theme’s colors:

Button slicer with default button colors

In Format visual > Visual, expand Buttons:

Button slicer format pane with Slicer settings, Layout, Callout values, Images, Selection icon and Buttons

In the Background group, set Fill color:

Button slicer Buttons settings with the fill color option
Button slicer with a custom fill color on all buttons

The Buttons card also has a state selector, so you can give selected, hovered and pressed buttons their own colors. That makes it much clearer which filter is active.

Give each button its own color

Select the fx button next to Fill color:

Button slicer fill settings with the fx conditional formatting button

Set Format style to Rules, choose the field to base it on (Department), and add a rule and color for each value:

Fill color conditional formatting rules based on the Department field
Button slicer with a different color for each department

Conditional formatting also works for button borders, effects and the callout text, so you can highlight one value, such as a department that’s over budget.

Sort the buttons

The buttons follow the field’s order, which for text is alphabetical:

Button slicer with departments in alphabetical order

To reverse it, select … (More options) on the visual and choose Sort descending:

More options menu on the button slicer with Sort descending and Sort ascending
Button slicer with departments sorted in descending order

Sorting is by value only; you can’t sort by the button label. For a custom order, add a sort column to your data and use Sort by column.

Change the button shape

Under Buttons, the shape setting offers a rectangle, rounded rectangle, tab shapes and more:

Button slicer Buttons settings with the shape list including Rounded rectangle
Button slicer with rounded rectangle buttons

Here’s the Snipped tab, both top shape:

Button slicer shape settings with a snipped tab shape selected
Button slicer with snipped tab shaped buttons

Center the button text

The text starts aligned to the left:

Button slicer with button text aligned left

Open Callout values in the format pane, then set Horizontal alignment to center. Font, size and color are in the same section:

Button slicer format pane with the Callout values section
Callout values settings with font and color for the button text
Button slicer with centered button text

Other useful options

  • Single select limits people to one button at a time; with Force selection also on, one button is always selected.
  • Show “Select all” option adds a button that clears the filter.
  • The Highlight label well shows a measure, such as headcount, under each button.
  • Images can add an icon or picture to each button.
  • You can paste a list of values (up to 2,000, exact matches) into a selected slicer with Ctrl+V to select them all at once.

For a simpler list with checkboxes, the classic slicer is still a good choice; see how to use checkboxes in a Power BI slicer and the Power BI dropdown slicer.

These Power BI slicer tutorials may help next:

Frequently Asked Questions

Is the Power BI button slicer still in preview?

No. It’s generally available in Power BI Desktop and the service, so you don’t need to enable a preview feature. Microsoft covers every setting in its button slicer documentation.

How do I show a button slicer horizontally?

Open Format visual > Multi-button layout and choose Horizontal, with Fit to space or Fixed size.

How do I give each button a different color?

Select fx next to Buttons > Background > Fill color, choose Rules, base them on the slicer field, and set a color per value.

Can I sort a button slicer by label?

No. Sorting is by value only. Use a sort column and Sort by column for a custom order.