Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Create EazyBI Report to show last 5 closed sprints

I have developed a "Closed Sprints Trend Line Graph" using EazyBI. As time goes on and more sprints are closed it would be ideal to only have it show the last 5 completed sprints without having to manually update the graph. 

How can I identify and display the last 5 closed sprints in Jira? I assume it will be use what is called a calculated member in EazyBI. Does anybody have experience in building a calculated member for this purpose?

2 answers

1 accepted

1 vote
Answer accepted

Hi Erick,

Yes, you could achieve that by creating new calculated member for "Sprint" dimension using this code example. It would create member "Last 5 closed sprints" that you could use in your reports.

      [Measures].[Sprint Closed?] = 'Yes' AND
      NOT isEmpty([Measures].[Sprint End Date])),
    [Sprint].CurrentMember.get('End date'), BASC
  ), 5)

Please contact if you have further questions regarding this!


Kind regards,

Martins Vanags

Thank you very much, this did exactly what I needed.

@Mārtiņš Vanags But what if you wanted to show Sprints in the rows and show as a bar chart? bar chart.png

Hi Josh,


I believe you could turn off the "Vertical" button in toolbars to show your bar chart horizontally.


Martins / eazyBI support

Hi @Mārtiņš Vanags

I tried your way to display the last 5 sprints and it was successful. 

But, what if I want to view last 5 sprints for specific squad in a project that consists of multiple squads?

I tried to filter the squad name using pages, but it still showing the last 5 sprints from all squads




Please find this community post about filtering last 5 sprints for the report context


Martins / eazyBI team

My report is not restricting to the previous 8 sprints when using this code

Screen Shot 2021-03-27 at 4.45.02 PM.png

Hi @Cindy 

we don't see the full definition of your calculated member, perhaps you could reach out to and provide more details about your use-case.


Martins / eazyBI team

Suggest an answer

Log in or Sign up to answer

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you