Seeking a way to look up element names of a dimension to replace data in a cube, in Cognos TM1 -
my apologies if title sounds vague, here's situation.
there's cube contains 5 dimensions. data contained in cube involves movie title codes classified under different categories.
there's dimension - let's call dim, that's not part of cube, , contains movie title names elements. these title names have movie title codes alias.
i'm looking match movie title codes data in cube movie titles in dimension dim , display movie title names, replacing movie title codes in cube.
i figure can done using turbo integrator, appropriate dimension subset of dim data source. i'm not sure if it's technically possible extract elements dimension subset , use them populate cube based on conditions. there way using ti @ all? sort of appreciated. in advance!
if you're trying think you're trying (and question isn't clearest 1 i've come across), you've got around wrong way.
i'm assuming cube contains strings, , each cell contains movie title code, yes? , want replace title code actual name, derived dimension?
then use view of cube data source.
for each record, on data tab of ti take value , use dimensionelementprincipalname function, passing arguments ( dim'srealname, movietitlecodefromdatasource ), retrieve title , store in custom variable.
the second argument alias of course, , function return principal name which, said, title.
you use cellputs statement overwrite value in cube, since of other data source variables provide set of elements need feed cellputs. (the "contents" of of variables should set other, , variable type string, obviously.)
Comments
Post a Comment