Sum Issues resolved based on Difficult Filter

I need to filter the Issues resolved based on Difficult Filter = “Eazy”, and i need to sum them, im looking for the total of issues resolved filtered by the difficult “Eazy”

Sum(
Filter(
[Difficult].[Difficult].Members,
[Difficult].[Difficult].CurrentDateMember.Name = “Easy”
),
[Measures].[Issues resolved]
)

Hello @Enzo_Fiorelli

Welcome to eazyBI community!

​Your code was almost correct, just a minor correction is needed in the syntax. Please also double-check if the member name is Easy or Eazy, as you mentioned both spellings in your post.

​Sum(
Filter(
[Difficult].[Difficult].Members,
[Difficult].CurrentHierarchyMember.Name = "Easy"
),
[Measures].[Issues resolved]
)

​However, I would recommend using the Tuple option, which will work faster.

​(
  [Measures].[Issues resolved],
  [Difficult].[Easy]
)

Best wishes,

Elita from support@eazybi.com