I'm having some trouble manipulating subsets within TM1Views in the .NET API. I'm using C#, and as a test, I'm trying to ExpandAll elements then Select by level the N level elements. Here is the code that I run:
Code: Select all
myView.ColumnSubsets[0].ExpandAllElements();
myView.ColumnSubsets[0].SelectElementsByLevel(0);
myView.ColumnSubsets[0].KeepSelectedElements();
myView.Recreate();
myView.Recalc();
Thanks,
Alan