@gustavo_salvato
You would need the custom calculation to override the context as typically label would be linked to Issues not Test plan
Sum(
--filter set of Test plans
Filter(
DescendantsSet([Xray Test Plan].CurrentMember,[Xray Test Plan].[Plan]),
--Test Plan issue has selected Label
DefaultContext((
[Measures].[Issues created],
[Issue].[Issue].GetMemberByKey(
[Xray Test Plan].CurrentMember.KEY),
[Label].CurrentHierarchyMember
)) > 0 ),
--sum up test executed runs ignoring Label assigned to Test Plan
([Measures].[Xray Tests executed],
[Label].CurrentHierarchy.DefaultMember)
)
A similar formula is on this communication post.
Martins / eazyBI