Excel =SUBNM Limitations

Post Reply
Adam
Posts: 102
Joined: Wed Apr 03, 2019 12:10 am
OLAP Product: IBM PA
Version: 2.0.9.x
Excel Version: Microsoft 365 x64

Excel =SUBNM Limitations

Post by Adam »

Hello,

I was going to ask the question is there a limit to the number of items that can be shown on an Excel SUBNM list. However, I just figured, why don't I try instead of ask.

I pointed SUBNM against the longest dimension I have, in this case it's }LineNumber. :D
First good news is that it displays all 10,000 items. The second good news is I don't believe my longest dimension will get to 10,000 items. (Famous last words?)

Only question I now have left, any performance hits in Excel anyone's seen with pointing SUBNM against such a long dimension? I'm using PA for Excel.
Take care.
Adam
User avatar
jim wood
Site Admin
Posts: 3952
Joined: Wed May 14, 2008 1:51 pm
OLAP Product: TM1
Version: PA 2.0.7
Excel Version: Office 365
Location: 37 East 18th Street New York
Contact:

Re: Excel =SUBNM Limitations

Post by jim wood »

If you're combining the SubNM with other large amounts of formulas you may hit some performance issues down to just volume. I've only ever tried doing this kind of thing with old web forms rather than the newer stuff though.
Struggling through the quagmire of life to reach the other side of who knows where.
Shop at Amazon
Jimbo PC Builds on YouTube
OS: Mac OS 11 PA Version: 2.0.7
User avatar
gtonkin
MVP
Posts: 1202
Joined: Thu May 06, 2010 3:03 pm
OLAP Product: TM1
Version: Latest and greatest
Excel Version: Office 365 64-bit
Location: JHB, South Africa
Contact:

Re: Excel =SUBNM Limitations

Post by gtonkin »

When using PAfE, the SUBNM function is rendered as a data validation. The data validation uses a range like "cafe_validation_temp" (hidden named range).
This range is located on the very hidden Cognos_Office_Connection_Cache sheet and values start at row 2.

I guess you will run out of options when you have more than 1,048,575 elements in your subset as there are not enough rows to hold these elements for the data validation.

But like Jim points out, performance will probably be horrendous way before this kind of volume. Also note that the values in the hidden sheet are over-written each time you go to another SUBNM - there is obviously overhead in clearing out what is there, getting the list of elements related to this SUBNM, updating the named range etc. etc. This is also why you notice a lag when navigating and activating a cell with a SUBNM formula.
Post Reply