Story points completed per Epic divided by Total Completed per Sprint

Hi,

The solution depends on which dimension you are using to show the list of epic.
In case you are using the Epic Link, the formula is the following:

CASE WHEN
([Measures].[Sprint Story Points completed],
 [Epic Link].DefaultMember)>0
THEN
[Measures].[Sprint Story Points completed]/
([Measures].[Sprint Story Points completed],
 [Epic Link].DefaultMember)
END

You can also use the Epic level of the Issue dimension in your report; then the formula is the following:

  CASE WHEN
    ([Measures].[Sprint Story Points completed],
     [Issue.Epic].CurrentHierarchy.DefaultMember)>0
    THEN
    [Measures].[Sprint Story Points completed]/
    ([Measures].[Sprint Story Points completed],
     [Issue.Epic].CurrentHierarchy.DefaultMember)
    END

Kindly,
Janis, eazyBI support