Forum Discussion

j_ocean's avatar
j_ocean
Helper V
1 year ago
Solved

SELECTEDVALUE, HASONEVALUE not Recognizing Small Multiples

I have a DAX measure that works perfectly to obtain a filtered value in a matrix visual. Converting the matrix to a stacked bar chart with one of the variables used for small multiples, the expres...
  • johnt75's avatar
    1 year ago

    I don't think that there will be any way to get this working with small multiples. If you look at the DAX queries generated for the visual, when the measure for the constant line is evaluated it is done in an evaluation context which does not include the column you use to separate the small multiples, so because it is not being filtered at all there is no way to determine which multiple you are currently in.

    My guess is that this is by design for performance reasons. As it is a constant line then the categories should have no impact on its value, and it is only calculated once for the entire visual, rather than having to be calculated multiple times when it should produce the same value.