EasyBI - How can I return an integer which is the number of JIRA issues which have not been estimated?

Daniel Woolfson July 17, 2016

Hello,

I wish to return an integer which is the number of JIRA issues which have not been estimated.  But this code below only returns the "Original Hours Estimate" which is set to 0.  I require 0 and all items which are NULL.  When a JIRA issue is created the "Original Hours Estimate" seems to be NULL by default.

 

How can I change this EazyBI calculated member code below to include NULL?

 

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

 

Daniel.

1 answer

1 accepted

0 votes
Answer accepted
Sir Mārtiņš Vanags
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.
July 17, 2016

Hi Daniel,

 

In case you want to count issues where "original estimated hours" is 0 or blank please try this code:

 

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

 

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


Kind regards,

Martins Vanags / eazyBI

Daniel Woolfson July 18, 2016

Thank you.  This worked.  But it is still slow.

Suggest an answer

Log in or Sign up to answer