I would like to show my users what filters / slicers they selected when on a report. I have used the DAX of
Selected Colour = var selectedcolour = SELECTEDVALUE('Product'[Colour]) return "Colour: " & IF(ISBLANK(selectedcolour), "All Colours", selectedcolour).
However, if more than one item is selected then it just defaults to all. Is there a way to show say up to 5 items they have selected before showing them All or more selected?
And one measure to return the concatenated list if those two measures are not equal (will be equal when either all or none of the customers are selected in the slicer):
Result =
IF(
[Count Harvested Customers] = [All Distinct Customers],
"All Customers",
[Lists]
)
You could do this as all one measure with variables, but I thought the first two calculations were potentially useful enough outside the context of this measure to warrant their own separate measures, but either approach is fine.
Here’s what it looks like all put together in all three potential cases:
Sorry - not enough info here to provide an answer. What comparison are you making relative to the date slicer above? (i.e., you’ve only provided half of the conditional clause in the IF statement necessary to make the labels/titles dynamic).