ExApplix wrote:I think {AR}01 is some sort of vritual Sheet which TM1 generates. I tried to look in the Manual/Forum but could not find anyhting which explain the logic of {AR}01 and also tells us that why TM1RPTROW() is generated differently.
Any guidence would be appreciated. Thanks
The end user guide chapter on active forms is a good place to start... It's pretty simple really, if the active form is using a named subset (either public or private) then the subset is just referred to by name using the 3rd argument. If however the active form is sliced out of the cube viewer with an "unregistered subset" on rows then TM1 saves the staic definition of the rowset in a hidden sheet called {AR}xx and uses the 4th argument. (Warning the moment you expand or contract any consolidations in a subset you are no longer looking at the named subset but a new "unregistered subset".)
It is best practice to used named public subsets or MDX to generate active form rowsets since the hidden sheet adds overhead (especially if it is a long list) and also adds a static element to the report since the list in the hidden sheet represents the elements when the view was sliced out and it doesn't update like a subset might or MDX would.
You can edit the list simply by unhiding the hidden sheet and changing element names, inserting/deleting rows, etc. Or you can use the active form ribbon section to edit members via the subset editor (both achieve th same result.)
If the TM1RpTRow formula is changed to use a named subset or MDX then you can simply delete the hiddne sheet with no ill effect.