I need help with creating a calculated that has the label “Q32021”
AND one or all of the following labels:
LL_BF2021,
BF21TESTE,
BF21_GESTAO,
BF21_POS,
BF20_POS,
SQUAD_BF21,
LL_BF20,
BF21
I created a calculated member:
[measures].[BlackFriday]
The measure is the core element of each report to bind data together from different perspectives. When building a calculated measure (in Measures), you might want to refer to some predefined measure to make the calculation work. On the other hand, you might want to group dimension members (labels) by crating calculated members in the dimension (Label dimension) itself.
In the "Label" dimension, define a new calculated member “BlackFriday”, to group several labels of interest. Use function Aggregate() to group labels of interest.
In Measures, update the calculated measure “BlackFriday”. Use a tuple of predefined measure “Issue created count” and calculated member “BlackFriday” to counts how many issues have some label of the “BlackFriday” label list.
( [Measures].[Issues created count],
[Label].[BlackFriday] )
From the screenshot I see that you have imported the issue link field dimension “Epic Label”.
In Measures, update the calculated measure “Q32021” using a tuple of measure “Issue created count” and specific Epic Label.
( [Measures].[Issues created count],
[Epic Label].[Q32021] )
In Measures, update the calculated measure “BF+Q3”. Current expressions with functions Count() and Descendants() might be quite slow as it goes through all issues and checks their labels. But you can use tuples again to get the results much faster.
( [Measures].[Issues created count],
[Label].[BlackFriday] )
+
( [Measures].[Issues created count],
[Epic Label].[Q32021] )
-
--removes duplicated issues amtchin both BF and Q3
( [Measures].[Issues created count],
[Label].[BlackFriday],
[Epic Label].[Q32021] )