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(
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)