Ok, I see what you mean. In this case you can write a new calculated member that on sub-task issues would find the parent’s epic key
[Issue].[Issue].GetMemberByKey(
[Issue].CurrentHierarchyMember.get('Parent issue key')
).Item(0).get('Epic Link')
Lauma / support@eazybi.com