Hi I have the following data and am trying to return a distinctcount of the number of Teams irrespective of what teams are filtered to, but taking into account the filters applied to Client.
i'm using the following DAX
Total Team Count = CALCULATE(DISTINCTCOUNT(Sheet1[Team]),REMOVEFILTERS(Sheet1[Team]))
I've filtered my data to Client = aa and bb so am expecting Total Team Count = 4 (a, b, c & g)
this works fine when I filter to Team = a or b However c & d return a Total Team Count = 3 it seems filtering to c returns a count of a, b & c whilst d returns a, b, g. So it seems to be returning a distinctcount of the Teams with a common Client to the Team filtered to.
What am I doing wrong? How do I get it to return Total Team Count = 4 irrespective of the Team filter?
