I'm using 9.5.2 and excel 2007.
The end user of the model that I have built wants the ability to deactivate elements of a "Prospects" dimension so that they do not appear in any input sheets/reports etc. I have created a TI to put "IN-ACTIVE" in the "Status" attribute of the dimension.
I have then created a dynamic subset called "Prospects_Expand_All_Active" using the following code:
Code: Select all
{FILTER( {TM1DRILLDOWNMEMBER( {TM1FILTERBYLEVEL( {TM1SUBSETALL( [Hierarchy] )}, 5)}, ALL, RECURSIVE )}, [Prospects].[Status] = "ACTIVE")}
The input sheet is an active form. The TM1RPTROW formula in this active form references the "Prospects_Expand_All_Active" subset described above, so only shows "Active" elements - all good.
The Issue:
The subset works fine (it only displays active elements) until you roll up/drill down. Once you do this it will display all elements under a consolidation regardless of the STATUS. For example, the active form (input sheet) displays all active elements in the subset. However, if the user rolls up a consolidation and then drills down again both the active and inactive elements will be seen beneath the consolidation.
So I assume that just like when in subset editor, once you modify the subset (like rolling up/drilling down) it stops being a subset created by an expression and starts being a static subset. What I need is a subset where the elements with "inactive" status remain hidden.
Any ideas would be much appreciated.
Many thanks