Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Count values at a specific date

I would like to create a measure that counts the number of account numbers at the earliest date in the table.

 

The earliest date would be 31/01/2019 and I would like to distinctly count the number of account numbers at that time. I cannot hard code the date as it updates every month. 

 

I have this so far:

Count of Accounts at MIN Date =

CALCULATE(DISTINCTCOUNT(Clients[AccountNumber]), FILTER(Clients, FIRSTDATE(Clients[HoldingDate].[Date])))
 
But it isn't working.

1 Reply