Understanding of TM1RptDataRNG

Post Reply
deepakjain2020
Regular Participant
Posts: 152
Joined: Sat May 25, 2013 10:32 am
OLAP Product: TM1
Version: 9.5.2; 10.2.2
Excel Version: 2007

Understanding of TM1RptDataRNG

Post by deepakjain2020 »

Hi All,

When we build a Active Report, it creates TM1RPTDataRNGx, where x represents View name given in TM1RPTView.
I have a data till Column Q in excel sheet and horizontal scroll bar seems to be fine as shown below
Untitled.png
Untitled.png (125.16 KiB) Viewed 4972 times
The moment I click on Rebuild sheet, it loads data but when I press CTRL + End together it goes till column "ALL" in excel.
There is no data till that end, but user can scroll and will see only blank
Untitled1.png
Untitled1.png (66.83 KiB) Viewed 4972 times
Can someone please help in understanding why scrollbar is going on till ALL column?

If any more information is required, please let me know.

Regards,
Deepak Jain
declanr
MVP
Posts: 1831
Joined: Mon Dec 05, 2011 11:51 am
OLAP Product: Cognos TM1
Version: PA2.0 and most of the old ones
Excel Version: All of em
Location: Manchester, United Kingdom
Contact:

Re: Understanding of TM1RptDataRNG

Post by declanr »

If you never have anything in those columns to the far right just hide them and then you won't get any issues.
Declan Rodger
deepakjain2020
Regular Participant
Posts: 152
Joined: Sat May 25, 2013 10:32 am
OLAP Product: TM1
Version: 9.5.2; 10.2.2
Excel Version: 2007

Re: Understanding of TM1RptDataRNG

Post by deepakjain2020 »

Hi declanr,

I tried suggested solution earlier and it works fine. Thanks for making me recollect.
Any idea why it goes till that end, in this case ALL column in excel?
Is it by default behavior?

Regards,
Deepak Jain
tomok
MVP
Posts: 2836
Joined: Tue Feb 16, 2010 2:39 pm
OLAP Product: TM1, Palo
Version: Beginning of time thru 10.2
Excel Version: 2003-2007-2010-2013
Location: Atlanta, GA
Contact:

Re: Understanding of TM1RptDataRNG

Post by tomok »

I doubt anyone here knows. Someone from the development team at IBM would have to answer that question. That's just how the active form comes out. It inserts a column, calling it ALL, and then sets that as the rightmost border, or whatever you want to call it. Like Declan said, if you see that as a problem just hide everything to the right of your last column and it won't be an issue. It's never been an issue for me or any of my clients.
Tom O'Kelley - Manager Finance Systems
American Tower
http://www.onlinecourtreservations.com/
rmackenzie
MVP
Posts: 733
Joined: Wed May 14, 2008 11:06 pm

Re: Understanding of TM1RptDataRNG

Post by rmackenzie »

deepakjain2020 wrote:Any idea why it goes till that end, in this case ALL column in excel?
I think there's a fairly obvious answer to this if you think through the programmatic behaviour of an Active Form rebuild, or drill on a row subset with the AF.

Depending on the output of the TM1RPTROW formulas there will be a new total number of rows for the AF when it gets updated. The existing rows of elements and data needs to be removed and replaced with the new set. Let's think about the case where there are going to be less rows. Let's also say there is non-AF content beneath the AF which also extends out to the right of the AF. Also, let's say there is separate non-AF content to the right of the AF area. So, the AF gets rebuilt and the non-AF content below the has to be brought higher up the sheet (check the behaviour for yourself). But now we have a problem because some of the data from that bottom non-AF-range would overwrite any data that is in the right-hand non-AF-range - where they would overlap.

You can't allow functionality that would allow a situation where content would get destroyed, so the AF has to 'own' the rows to the right-most maximum of the sheet and clears any content in those rows on the AF rebuild. What's the alternative?
Robin Mackenzie
Post Reply