Use of filter condition in countrows when condition can be blank
I have a user slicer and a matrix table of values populated by a series of countrow conditions. I would like the table to be affected by the user selection but the user selection can also be blank, meaning "all".
I have tried including the selected user in the filter condition but as this appears blank when no user is selected, the filter does not bring back the correct number of rows.
Question. How can I handle a blank filter condition?
VAR CurrentStatus = SELECTEDVALUE('opportunities'[StepNameNumber])
VAR CurrentUser = SELECTEDVALUE('opportunities'[_owninguser_value])
VAR ThisStep =
Filters seem to work well when the conditions always return a value but it seems like I need the user condition in the filter to be ignored completely