Forum Discussion

abcd's avatar
abcd
Frequent Visitor
6 years ago
Solved

Filter visual based on an inactive relationship

I have a number of measures that take inactive relationships into account when it comes to dates. I have one "Calendar" table that is linked to many date columns, inactively, and the measures just ca...
  • vanessafvg's avatar
    6 years ago
    are you able to share your model or some dummy data.

    you are doing a count therefore you are using a measure, you need to calculate that count with the userelationship() function which will force the inactive relationship to be counted with the correct date.

    this is a good article that goes through a few scenarios

    https://www.sqlbi.com/articles/userelationship-in-calculated-columns/