cancel
Showing results for
Did you mean:
See all
See all
##### Top groups
Explore all groups

## Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user

Level 1: Seed

25 / 150 points

Next: Root

## Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

What goes around comes around! Share the love by gifting kudos to your peers.

## Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

## Come for the products,stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

4,556,244
Community Members

Community Events
184
Community Groups

# Aggregation of a Calculated Measure at Dimension Level

Hi, Everyone,

I have to calculate the number of instances(issue count), there is a delay based on the planned date and the actual date.

For this purpose, I have created a calculated measure to calculate the delay.

"[Measures].[Variation(Scope Prep)]" = DateDiffWorkdays([Measures].[Issue Scope Preparation Planned End Date],  [Measures].[Issue Scope Preparation Actual End Date])

Using this calculated measure, I have created another calculated measure to get the count and get is aggregated at the dimension level

"[Measures].[Delayed (Scope Prep)]" = NonZero( Sum(
Filter(
Descendants([Issue].CurrentHierarchyMember, [Issue].[Issue]),
[Measures].[Variation(Scope Prep)]>0
),
[Measures].[Variation(Scope Prep)].Count
)
)

I have got the aggregation at the project level correctly. However, the measure is displaying the same value at each row, even if I add another dimension to the rows, which is the wrong count.

Please guide me on how to get values aggregated at dimension level (similar to that of the measure Issues Created)