Hello eazyBI community, cool to be here! 
I have a question defining a new calculated measure.
This is the current MDX-Expression:
Aggregate(
Filter(
[Issue].[Issue].Members,
DateDiffDays(
[Issue].CurrentHierarchyMember.get(âCreated atâ),
[Issue.Epic].CurrentHierarchyMember.get(âTarget dateâ)
) < 0 AND DateDiffDays(
[Issue].CurrentHierarchyMember.get(âCreated atâ),
[Issue.Epic].CurrentHierarchyMember.get(âTarget dateâ)
) <= -20*5
)
)
My goal is to show the number of tickets (of a specific issue type XY), which are created 20 weeks before the âTarget dateâ of the parent epic.
My solution:
Pages:
- Projects â to limit the results concerning a specific project
Rows:
- Time (All times) â time should be limited by the MDX-Expression above
- CustomField â not relevant, only to be more specific
- Issue (Epic) â to show all epics
Measures:
- Issue Type (XY) â becaue I only want to show the number of issue of the issue type XY
- MY CUSTOM MDX EXPRESSION (see above) "Number of tickets (of issue type XY), which are created 20 weeks before the âTarget dateâ of the partent epic.
The problem is get this error message:
Can someone help me?
Thank you in advance!
Best regards, Robin 
Hi,
The recommended solution to your report is to use the Epic level of the issue dimension in the report rows and create the count of issue like this:
NonZero(Count(
Filter(
[Issue.Epic].CurrentHierarchyMember.Children,
[Measures].[Issue type]="Story"
AND
DateDiffDays(
[Issue.Epic].CurrentHierarchyMember.get('Created at'),
[Issue.Epic].CurrentHierarchyMember.Parent.get('Target date')
)>100
)
))
This formula counts the Stories under the Epic created more than 100 days before the Epic Target date.
Kindly,
Janis, eazyBI support
Kindly,
Hi Janis Plume,
thank you for your reply!
Your idea helped me to find a suitable solution. 
Now I get the results I was searching for⊠if there wasnât another but.
If I activate my new calculated measure, I canât use any other filters.
Or rather, additional filters have no effect on the results as long as my calculated measure is activated.
For example:
My new calculated measure and another filter called âYear Indicatorâ are active.
Every epic has a customfield, which indicates a year.
Now I add the customfield âYear Indicatorâ as a filter for my table.
Like you can see in the picture. There is written â2023â.
After I activate this filter there is no change in the table.
Is it possible that my new calculated measure restricts something or am I completely missing something here?
Thanks in advance!