I have created a 3 weeks custom hierarchy and would like to limit it to 2020. So I tried to use the following caculated member formula
Aggregate(Filter( [Time.3 Weeks].[3 Weeks].Members, DateBetween([Time.3 Weeks].CurrentHierarchyMember.StartDate, '2020-01-01', '2021-01-01') ))
However, the result is empty. What is wrong with the input?