Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

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

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 edited

Thanks Dania, that was helpful

0 votes
Fabian Lim
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Upcoming Jira Events