One Value or Many
Part of the DAX with CALCULATE section of Coddy's Power BI journey. Lesson 21 of 24.
SELECTEDVALUE(Column, alternate): the one value in the filter context, or the alternate.
Title = "Sales in " & SELECTEDVALUE(Stores[Country], "every country")One country picked: its name. Several: "every country".
Challenge
Write Title: the text "Sales in " joined to the country, or "every country" when there is more than one. It is checked for each country and the total.