Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Measure filter ignoring established relationships?

I'm experiencing different results between a measure and a visual with what seems to be identical filters, but are yielding different results. I've narrowed it down to what seems to be a difference i...
  • v-xuding-msft's avatar
    v-xuding-msft
    6 years ago

    Hi Anonymous ,

    For the sceanario, I think you need to understand about context of DAX. Regarding measures, it might be affected by the row context. So the result may not be the same when you put it into the charts that contains different columns. And if you use Calculate and Filter, the filter context will be changed to the content that you writed in filter().

    Perhaps you might consider taking some time learning about context. There is a blog  that you can reference firstly.

    https://www.sqlbi.com/articles/row-context-and-filter-context-in-dax/

     

    Best Regards,

    Xue Ding

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.