The idea to use aggregate is correct. But in this case, to get the count of issues with specified labels you should aggregate issues instead of labels and for each issue validate assigned labels. For aggregation, you may use function Count() and iterate through issues using function Descendants()
NonZero(
Count(
Filter(
--iterate through issues
Descendants([Issue].CurrentHierarchyMember,[Issue].[Issue]),
--which have label FWQA_TestDev
([Measures].[Issues created],
[Label].[FWQA_TestDev]) > 0
--and don't have lable FWQA_Triage
AND IsEmpty(
([Measures].[Issues created],
[Label].[FWQA_Triage]) )
)
))
Thank you for helping. I tried to create a new calculated member and copied your suggestion for the contents but keeps getting error message "“Query execution timeout of 150 seconds reached. Please try to make query simpler”.
Do you have other suggestion how to get around this?