Codex Slicer Bar
FilterReplace multiple slicer visuals with one compact, horizontal filter bar.
Styles
4 stylings shipped — every one is a real render, in your theme.
Overview
One filter bar. Every slicer. Zero visual clutter. Codex Slicer Bar consolidates multiple filter controls into a single horizontal bar at the top of the page. Each filter group is configured via a data table — defining the labels, filter targets, display mode, and selection mode.
Ideal For
- Multi-page reports where the same filter set appears on every page
- Executive dashboards that need a clean, branded filter experience
- Pages with period, region, and status filters that currently use three separate slicers
- Any report where the native slicer visuals are taking too much canvas space
Key Features
- Single visual replaces multiple slicer instances across the page
- Dropdown mode for period selection with short label as a subtitle
- Chips mode for multi-select filters like region or product category
- Default value configuration — which option is selected on first load
- Filter target via 'Table.Column' format — drives actual Power BI filtering
- Sort order measure for controlling item sequence within each group
- Fully config-table driven — update filter options by changing data, not visual settings
- Sync across all pages using Power BI's sync slicers feature
Sync this visual across all pages using Power BI's sync slicers feature (View > Sync slicers). Because all filter configuration lives in a single SlicerBarConfig table, you only need to update one place when filter options change.
Help guide
What goes in each field
| Field well | Put in | Required | What it does |
|---|---|---|---|
| Category | Column | Category or Label | Splits the bar into sections, one per value. With only Category bound, its values become the items of a single section. |
| Label | Column | Category or Label | The items in each section. A selected item filters the target column to its Label value. |
| Value | Column | No | The column the section filters, written as Table.Column, such as Store.Region. |
| Sort order | Measure | No | Orders items within each section, lowest first. Sections are ordered by their lowest number. |
| Display mode | Column | No | Chips or Dropdown for each section. |
| Selection mode | Column | No | Single or Multi for each section. |
| Short label | Column | No | Extra text for an item. A dropdown shows it beside its button when the item is selected, and chips show it in the tooltip. |
| Default value | Column | No | The Label of the item to select when the report opens. |
Every field except Sort order is a column. The usual setup is one small configuration table with a row per item.
Build the fields
The examples assume a Store table with a Region column and a Product table with a Category column. Swap in your own names.
The configuration table: one row per item
Add this as a calculated table (Modeling → New table).
Slicer Config =
DATATABLE (
"Section", STRING,
"Item", STRING,
"Target", STRING,
"Sort", INTEGER,
"Mode", STRING,
"Select", STRING,
"Detail", STRING,
"Default", STRING,
{
{ "Region", "North", "Store.Region", 1, "Chips", "Multi", "NT, QLD", "" },
{ "Region", "South", "Store.Region", 2, "Chips", "Multi", "VIC, TAS, SA", "" },
{ "Region", "East", "Store.Region", 3, "Chips", "Multi", "NSW, ACT", "" },
{ "Region", "West", "Store.Region", 4, "Chips", "Multi", "WA", "" },
{ "Product", "Bikes", "Product.Category", 5, "Dropdown", "Single", "", "Bikes" },
{ "Product", "Helmets", "Product.Category", 6, "Dropdown", "Single", "", "Bikes" },
{ "Product", "Clothing", "Product.Category", 7, "Dropdown", "Single", "", "Bikes" }
}
)
Each Item must be spelt exactly as the value in the target column, because that text is the filter value. The visual reads Target, Mode and Select from the first row of each section, so keep them the same on every row of a section.
The filter goes straight to the column named in Target, so this table needs no relationships.
Sort order: the Sort column as a measure
Slicer Sort =
MIN ( 'Slicer Config'[Sort] )
Put it together
- Add the visual. Drag
'Slicer Config'[Section]into Category and'Slicer Config'[Item]into Label. - Drag
'Slicer Config'[Target]into Value and Slicer Sort into Sort order. - Drag
[Mode]into Display mode,[Select]into Selection mode,[Detail]into Short label and[Default]into Default value. - In the Format pane, open Slicer Bar. Set Default display mode and Default selection mode for any section whose rows leave those columns empty.
- Set Max visible chips. When Default display mode is Auto, a section with more items than this becomes a dropdown.
Tips
- Display mode and Selection mode accept only
Chips,Dropdown,SingleandMulti, in any case. Any other text is ignored and the Format pane default applies. - Default value matches against Label without regard to case. If no item matches, nothing is preselected.
- Selecting every item in a section applies no filter for it, the same as selecting none.
- Leave Value empty and the section filters its own Label column instead. When the configuration table has no relationships, that filter reaches no other visual.
- For a plain slicer, skip the configuration table. Drag one column, such as
Store[Region], into Category on its own. The bar shows one section of its values and filters that column directly.
Billed through Microsoft AppSource