A dynamic report title that lists the selected slicer values with CONCATENATEX
Build a title that names every selected region and the year, and says “All regions” when the slicer is cleared.
You will learn to
- List several selected values in text with CONCATENATEX
- Detect whether a slicer is in use with ISFILTERED
- Combine several slicers into one readable title
How it works
`SELECTEDVALUE` only helps when exactly one value is selected. When a reader picks **North and East**, a title should say so. `CONCATENATEX(table, expression, delimiter, orderBy)` joins one piece of text per row of a table, so `CONCATENATEX(VALUES(Customer[Region]), Customer[Region], ", ", Customer[Region])` lists the visible regions alphabetically, separated by commas.
When the slicer is cleared, every region is visible, and listing all four is noise. `ISFILTERED(Customer[Region])` is TRUE only when something filters that column directly, so use it to choose between the list and "All regions".
For the year, `SELECTEDVALUE('Date'[Year], "2024–2025")` gives the single year or a fallback. Join the pieces with `&`.
Practice it hands-on with a real data model and a live report that updates as you type.
Selected Colors =
IF(ISFILTERED(Product[Color]), CONCATENATEX(VALUES(Product[Color]), Product[Color], " & ", Product[Color]), "All colors")