I want to leverage the date filter parameter dynamically in beast mode. For example: I have 2 date fields that are populated when an account is opened (Date Opened) and when an account is closed (Date Closed). I would like to have a count of active accounts based on the date range that is dynamically selected on the card. Using the data below - I would expect the following results based on the date ranges selected: Active means the account was open on or before the end of the date range and not closed on or before the end of the date range
Date range: 12/31/2018 - 2/5/2019 = 3 active accounts (accounts 1, 2, 3)
Date range: 12/31/2018 - 4/1/2019 = 4 active accounts (accounts 1,3,4,5)
Sample Data:
Account Date Opened Date Closed
1 1/1/2019
2 1/5/2019 3/5/2019
3 2/2/2019 4/5/2019
4 2/14/2019
5 2/21/2019
6 4/8/2019