A dynamic title with SELECTEDVALUE
Build a report title that names the selected region — and see which filters reach the Customer table and which don’t.
You will learn to
- Read the current filter with SELECTEDVALUE
- Provide a fallback for when several values are visible
- Predict which slicers change a dimension’s visible values
How it works
A measure can return text, and that text can describe the current filter. Power BI lets you use such a measure as a visual’s title, so the title changes when someone clicks a slicer.
`SELECTEDVALUE(Customer[Region], "All Regions")` returns the region when exactly **one** is visible, and the fallback text when there are several (or none). Join text together with `&`.
Which filters change the visible regions? Only filters that reach the **Customer** table: a Region or Customer slicer. A Category slicer filters Product and Sales, but it never travels back up to Customer — so with only a Category selected, all four regions are still visible and you get the fallback.
Practice it hands-on with a real data model and a live report that updates as you type.
Category Title = "Category: " & SELECTEDVALUE(Product[Category], "All")