Calculated Member for Status

Hello,

In EazyBi, I'm trying to create Calculated Members for two things based on certain statuses: open issues and closed issues.

I've created the following for closed statuses and this is working as I would like:

Aggregate({
[Status].[Closed],
[Status].[Resolved],
[Status].[Complete]
}
)

I would like to now create a new Calculated Member that shows all statuses minus the three mentioned above. I've tried something simple utilizing my already created Calculated Member:

([Status].[All Statuses]- [Status].[Closed Status]
)

This gives me the expected results, however, it's displaying Projects will 0 results in addition to the Projects I would expect, even when I have the Hide Blank Rows optioned enabled.

Does anyone know how I can optimize my second Calculated Member to exclude just those three statuses (Closed, Resolved and Complete) and not display NULL Projects?

Thanks!

1 answer

Hello,

 

The formula ([Status].[All Statuses]- [Status].[Closed Status]) is simple mathematical subtraction. It calculates particular measure for all issues and then for closed issues. Then uses a simple subtraction between those values and gets a numeric value as a result. 

 

If all issues in the project are closed then this subtraction will give you 0 as a result. 

 

You would like to aggregate open status members to retrieve values from issues in open statuses. I would suggest this formula for open status member aggregation:

Aggregate(Except(
[Status].[Status].Members,
ChildrenSet([Status].[Closed Status])
))

 

Daina/support@eazybi.com

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published yesterday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

71 views 0 5
Read article

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