Forum Discussion
Anonymous
4 years agoNot applicable
Active Contacts Over time.
Hi there. I'm having an issue plotting a graph of number of active members over time. Its very similar to this topic, but they're getting different results: Solved: Active Clients over time - Mic...
- 4 years ago
Delete the first reference to election date on line 3, you only need to compare that to the MAX.
Anonymous
4 years agoNot applicable
Thanks, I've done that an the measure appears to be working:
But then the same number apears against all the dates in teh table:
I would expect this number to change as people are elected (start date) or lapse (end date)....
😕
johnt75
4 years agoSuper User
Delete the first reference to election date on line 3, you only need to compare that to the MAX.
- Anonymous4 years agoNot applicableAhhh yes that did it!!! So my final measure code was:CORRECT Active Members =CALCULATE(COUNTROWS('CE vwContact (2)'),'CE vwContact (2)'[Rics_ElectionDate] <= MAX('BI vwCalendar (2)'[Date]),OR('CE vwContact (2)'[Rics_LapsedDate] >= MIN('BI vwCalendar (2)'[Date]),ISBLANK('CE vwContact (2)'[Rics_LapsedDate])),REMOVEFILTERS('CE vwContact (2)'))I'm gonna need to check the numbers but that appears to have done it!! many thanks!