DAX code
Dynamic Chart Title =
VAR SelectedRegion = SELECTEDVALUE('Sales'[Region], "All Regions")
RETURN
"Sales – " & SelectedRegion
Builds a chart or card title that updates to reflect whatever single value a slicer currently has selected.
Type your table and column names once. Every measure below updates.
Dynamic Chart Title =
VAR SelectedRegion = SELECTEDVALUE('Sales'[Region], "All Regions")
RETURN
"Sales – " & SelectedRegion
SELECTEDVALUE's second argument is the fallback text shown when zero or multiple regions are selected at once.
Browse all 175 measures in the Power BI DAX Measures Library, or search the library for something similar to Dynamic Chart Title.