Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Counting number of objects based ona value

Rami Khader
Contributor
June 11, 2020

Hi,

Is it possible to create a calculated measure that count number of the created objects if a value of another measure >0

 

Thanks

Rami

2 answers

1 accepted

1 vote
Answer accepted
Daina Tupule eazyBI
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.
October 28, 2021

Hello Rami,

 

You would like to use object-level calculations when you would need to count objects based on two different measures. Here is an example formula:

Sum(
Filter(
Descendants([Object].CurrentMember, [Object].[Object]),
DateInPeriod(
[Measures].[Object created date],
[Time].CurrentHierarchyMember
)
),
-- count objects created if value in another measure is > 0
CASE WHEN [Measures].[another measure] > 0 -- set your measure name here
THEN [Measures].[Objects created]
END
)

Set the formatting for this measure to integer explicitly. eazyBI might not detect the data type of the results by default. 

The formula is quite general. You might want to update it by adding additional filters or exceptions according to you your particular use case.

 

Daina / support@eazybi.com

Rami Khader
Contributor
October 28, 2021

Thanks Dania, that was helpful

0 votes
Fabian Lim
Community Champion
October 27, 2021

Hi @Rami Khader

Yes it's possible. I'm assuming you are using insight.

Put the objects in the rows and then create a defined measure. Not clear what you are looking for, so here are some instructions: https://docs.eazybi.com/eazybi/data-import/data-from-jira-apps/insight-asset-management#InsightAssetManagement-ImportInsightcustomfieldattributesforJiraissues

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events