Forum Discussion
MarionC
2 years agoRegular Visitor
Counting Active in non calendar date range
I've read through a number of similar posts, but none quite fits my scenario, and having poked and prodded, I can't make them fit. I have a USER table with Username, Creation date, Expiry date. W...
- Anonymous2 years ago
Hi MarionC ,
Your solution is great, audreygerred . Here I have another idea that I want to share for reference.
You can create a measure to count users.Active Accounts = CALCULATE( COUNTROWS('USER'), FILTER( 'USER', 'USER'[Creation Date] <= MAX('BILLING'[End Date]) && (ISBLANK('USER'[Expiry Date]) || 'USER'[Expiry Date] >= MIN('BILLING'[Start Date])) ) )If your Current Period does not refer to this, please clarify in a follow-up reply.
Best Regards,
Clara Gong
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
MarionC
2 years agoRegular Visitor
Thank you both for your help! I was so close with my own explorations, but you nailed it, and gave me more information to help me learn.