I created a calculated member to remove some Labels from a report.
I used the following formula:
Aggregate(
Except(
[Label].[Label].Members,
{
[Label].[Prime_4X],
[Label].[Membership_4X],
[Label].[Ofertas_4X],
[Label].[Coupon_4X],
[Label].[Controlados_4X],
[Label].[HealthHub_4X],
[Label].[Univers_4x],
[Label].[Loyalty_4X],
[Label].[MyAccount_4X]
}
)
)
The problem is when we have issues with more than one Label. We found cases with issues with 2 labels and in the report the item was duplicated.
I would like that in cases where there is more than one Label in the issue, the report displays the value 1.