Help with dynamic subset
Posted: Tue Sep 25, 2012 6:51 pm
I'm a relative newbie, so excuse the ignorance! To meet end user requirements, I have a list of products and have created the following query to build a dynamic subset based upon two product attributes:
({
FILTER(
{TM1SUBSETALL( [dimProducts] )},
(
([dimProducts].[ProductLine] = [dimProductLine].[ProductLine])
AND
([dimProducts].[Category] = [dimProductCategory].[Category] )
)
)
})
However, while the query works fine showing only relevant products when in the cube, I would like to also have it show 'Total Products' as a part of the subset, where 'Total Products' is of course the aggregation of all products.
If anyone can point me in the right direction, it would be much appreciated.
Mike
({
FILTER(
{TM1SUBSETALL( [dimProducts] )},
(
([dimProducts].[ProductLine] = [dimProductLine].[ProductLine])
AND
([dimProducts].[Category] = [dimProductCategory].[Category] )
)
)
})
However, while the query works fine showing only relevant products when in the cube, I would like to also have it show 'Total Products' as a part of the subset, where 'Total Products' is of course the aggregation of all products.
If anyone can point me in the right direction, it would be much appreciated.
Mike