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

How to exclude specific issues in eazyBI formula

hirok February 5, 2014

Hi all,

I'm pretty new in eazyBI and I guess my request is very simple.

I defined a calculated members in Columns's Measures like below to create a curve of issue total.
This looks fine.
However I'd like to exclude some issues which were created before May 23 2013.

----
[Measures].[Created Toatl] =

CoalesceEmpty(NonZero(Sum(
-- time periods from start of time to current period
{ Generate(StripCalculatedMembers(
Ascendants([Time].CurrentHierarchyMember)),
IIF([Time].CurrentHierarchyMember IS
[Time].CurrentHierarchyMember.FirstSibling, {},
{ [Time].CurrentHierarchyMember.FirstSibling:
[Time].CurrentHierarchyMember.PrevMember } ) ),
[Time].CurrentHierarchyMember
},
(
[Measures].[Issues created],
[Issue Type].[Bug]
)
)))
----

How can I modify this formula to exclude those items?
Any comment would be helpful for me.

Thanks,
hiro

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
Answer accepted
Lauma Cīrule
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 11, 2014

Hi Hiro!

You can count all bugs created after May 23 2013 with formula

NonZero(count(Filter(Generate(NonEmptyCrossJoin(
      [Issue].[Issue].Members, 
      [Time].CurrentHierarchyMember), [Issue].CurrentMember),
    [Measures].[Issue type] = 'Bug' AND
    DateCompare(DateParse([Measures].[Issue created date]), 
      DateParse('23 May 2013')) > 0
)))

This filters out all issues that have issue type 'Bug' and their creation date is greater than May 23 2013; and then counts them.

Kind regards,

Lauma

hirok February 13, 2014

Hi Lauma,

Thank you so much!
Your formula works great.

I was able to create a graph that I wanted.

Thanks again,
hiro

0 votes
Emmanuel Boukandoura March 13, 2014

Hi I've applied this formaula on a cube with > 8000 issues, and EazyBI plugin does not achieve to compute it in less than 60 seconds. I must add we followed your suggestions regarding PostgreSQL server setup and we run it on a decent server (8 cores, 8 Gb or RAM 4 of which are allcoated to JIRA heap)

Any idea to make it usable?

Many thanks,

Emmanuel

Lauma Cīrule
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 16, 2014

Hi Emmanuel,

8000 issues cube should not be a problem. It could be though that report has some other complicated calculations. Could you please specify what other dimensions you are using on rows, columns and pages?

You can also contact me with these details directly over e-mail support@eazybi.com

Kind regards,
Lauma

Emmanuel Boukandoura March 20, 2014

Hi Lauma,

As suggested, I'll carry on with this discussion by mail.

Thanks,

Emmanuel

TAGS
AUG Leaders

Atlassian Community Events