How can I optimise this EazyBI calculated member? (Timeout after 60 seconds)

I have defined the following calculated member within my EazyBI cube generated from my live JIRA software Cloud instance.  The problem is that this MDX times out (takes longer than 60 seconds).

I am trying to find out how many issues have an estimate entered.

Is the problem that I am filtering against all issues?  I thought that the filter would only work in the context of the dimension which the calculated member is called?  

 

Count(
Filter(
Descendants(
[Issue].CurrentMember, [Issue].[Issue]),
[Measures].[Original estimated hours] > 0
)
)

 

How can I restrict the filters or indeed use any other optimising technique in MDX to help this complete.

Any help appreciated since this is quite a simple thing which is proving very time consuming to work out how to do.

 

Daniel.

1 answer

1 accepted

Hi Daniel,

 

Indeed, this code goes through all Issues within selected report context.

In order to make it work faster, you could try adding an additional line in the code that filter the scope for search and it would search database column "Issues created" for all issues.

 

Count(
Filter(
Descendants(
[Issue].CurrentMember, [Issue].[Issue]),
[Measures].[Issues created]>0 AND 
[Measures].[Original estimated hours] > 0
)
)

Another thing you could try is to include such code in Case when.

If you use this calculated measure in the same query to calculate other calculated measures that depends on it, you could try using Cache.

Please contact support@eazybi.com if you have further questions regarding this!


Kind regards,

Martins Vanags / eazyBI

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,265 views 14 20
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot