Dynamic subset by two dimensions
Posted: Fri Jul 22, 2011 4:33 pm
Hi,
Is it possible to create dynamic subset by filtering two subsets:
Dim1 AtrCode
Group1 A
Group2 B
Dim2 AtrDim1Code
Product1 A
Product2 A
Product4 A
Product5 B
If I create subseti for Dim2, the dynamic subset would look like this.
{FILTER( {TM1SubsetAll( [Dim2] )}, [Dim2].[AtrDim1Code] = [Dim1].[AtrCode])}
So if select specific Group from dim1 only the list of the products from that group is listed. This works fine.
Now I would like to do it from other dimension at the same time. So the subset for Dim1 would look like this:
{FILTER( {TM1SubsetAll( [Dim1] )}, [Dim1].[AtrCode]=[Dim2].[AtrDim1Code])}
But this doesn't work. Why I would like to do it this way, because when you nest both dimension you always get all the products under each group.
Is this possible?
Thanks
Is it possible to create dynamic subset by filtering two subsets:
Dim1 AtrCode
Group1 A
Group2 B
Dim2 AtrDim1Code
Product1 A
Product2 A
Product4 A
Product5 B
If I create subseti for Dim2, the dynamic subset would look like this.
{FILTER( {TM1SubsetAll( [Dim2] )}, [Dim2].[AtrDim1Code] = [Dim1].[AtrCode])}
So if select specific Group from dim1 only the list of the products from that group is listed. This works fine.
Now I would like to do it from other dimension at the same time. So the subset for Dim1 would look like this:
{FILTER( {TM1SubsetAll( [Dim1] )}, [Dim1].[AtrCode]=[Dim2].[AtrDim1Code])}
But this doesn't work. Why I would like to do it this way, because when you nest both dimension you always get all the products under each group.
Is this possible?
Thanks