How to create various dimension filters

mdx
#1

Hi. I want Filter by some Label OR some Priority.

So i wrote down.
Is it right to fill it out with the following?

calculated Dimension is “Label” in Pages.

Aggregate(
Filter(
[Label].Members,
[Label].CurrentHierarchyMember.Name MATCHES “1st” OR
[Label].CurrentHierarchyMember.Name MATCHES “EUM/CAR/need” OR
[Label].CurrentHierarchyMember.Name MATCHES “EUM/CAR” OR
[Label].CurrentHierarchyMember.Name MATCHES “EUM/CAR5/13” OR
[Label].CurrentHierarchyMember.Name MATCHES “EUM/CAR5/14” OR
[Label].CurrentHierarchyMember.Name MATCHES “EUM/CAR5/15” OR
[Label].CurrentHierarchyMember.Name MATCHES “EUM/CAR5/17” OR
[Label].CurrentHierarchyMember.Name MATCHES “EUM/CAR5/18” OR
[Priority].CurrentHierarchyMember.Name MATCHES “Top” OR
[Priority].CurrentHierarchyMember.Name MATCHES “A”
)
)

Thanks.