I was inspired to create a calculated measure which works with all available time hierarchies after reading this original post.
I created a calculated measure called ‘Selected Hierarchy’ as follow which returns either ‘Admit’, ‘Received’ or ‘Discharge’ as the hierarchy is selected.
NOT IsError(Extract (
Axis (0), [Admit Date].[Date Hierarchy]).Count )