Create a dynamic subset in TI with alias
Posted: Thu Sep 11, 2008 12:21 pm
Hello,
I use this code to create a dynamic subset in TI
That's work fine but I would like to see the alias in my dimension and not the item. The alias name is 'Lib'
An idea ?
Thx
I use this code to create a dynamic subset in TI
Code: Select all
###########################################
# Create Dynamic Subset
###########################################
subsetName = operationTechno;
stringMDX = '{FILTER( {TM1SUBSETALL( ['| dimensionName |'] )}, [' | dimensionName | '].[Operation/Technology] = ' | '"' | subsetName | '" )}';
if(SubsetExists(dimensionName,subsetName)=0);
subsetcreatebyMDX(subsetName,stringMDX);
endif;
An idea ?
Thx