Specifying title location in hyperlinks

Post Reply
NPTM1
Posts: 13
Joined: Mon Sep 26, 2016 9:59 am
OLAP Product: TM1
Version: 9.5.1
Excel Version: 2010

Specifying title location in hyperlinks

Post by NPTM1 »

Hi all

I have a websheet which contains multiple SUBNMs on the same page referring to the same dimension.

I also use hyperlinks with the TITLE parameters to populate these SUBNMs. However I'm unsure how exactly to specify which cell's SUBNM I want to populate.

e.g.

The hyperlink says something like XXX.xls&TITLE_Fruit=Apple&TITLE_Size=Medium

But there are two different SUBNM cells which relate to the dimension "Fruit" on the same page and I only want the SUBNM in cell S99 to be populated with "Apple"

Can anyone help please? :D

Thanks in advance
ardi
Community Contributor
Posts: 165
Joined: Tue Apr 02, 2013 1:41 pm
OLAP Product: tm1, cognos bi
Version: from TM1 9.4 to PA 2.0.9.6
Excel Version: 2010
Location: Toronto, ON

Re: Specifying title location in hyperlinks

Post by ardi »

In this case I think you have to specify the Location of your SUBNM by specifying the Sheet#, Row# and Column#

Title_S#-R#-C#=ElementValue

For example Title_S1-R3-C2=Canada will pass the Value Canada to the Cell in SHeet1, 3rd Row and Second Column
Ardian Alikaj
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: Specifying title location in hyperlinks

Post by declanr »

ardi wrote: For example Title_S1-R3-C2=Canada will pass the Value Canada to the Cell in SHeet1, 3rd Row and Second Column
Actually... just because TM1 likes to annoy us all the numbers are out by 1 - so the 1st sheet, 3rd row and second column would be:
Title_S0-R2-C1
Declan Rodger
ardi
Community Contributor
Posts: 165
Joined: Tue Apr 02, 2013 1:41 pm
OLAP Product: tm1, cognos bi
Version: from TM1 9.4 to PA 2.0.9.6
Excel Version: 2010
Location: Toronto, ON

Re: Specifying title location in hyperlinks

Post by ardi »

declanr wrote:
ardi wrote: For example Title_S1-R3-C2=Canada will pass the Value Canada to the Cell in SHeet1, 3rd Row and Second Column
Actually... just because TM1 likes to annoy us all the numbers are out by 1 - so the 1st sheet, 3rd row and second column would be:
Title_S0-R2-C1
Thank you declanr, actually after I posted I checked and was about to correct myself but you're way too fast :)
Ardian Alikaj
User avatar
paulsimon
MVP
Posts: 808
Joined: Sat Sep 03, 2011 11:10 pm
OLAP Product: TM1
Version: PA 2.0.5
Excel Version: 2016
Contact:

Re: Specifying title location in hyperlinks

Post by paulsimon »

Hi

It may have been a fluke but when we tried this it only seemed to modify the first SUBNM that it encountered. We had other issues 10.2 so we have not gone much further with testing, but it appeared to be the SUBNM closest to the top left corner.

Regards

Paul Simon
NPTM1
Posts: 13
Joined: Mon Sep 26, 2016 9:59 am
OLAP Product: TM1
Version: 9.5.1
Excel Version: 2010

Re: Specifying title location in hyperlinks

Post by NPTM1 »

Thanks all! :mrgreen:
ardi
Community Contributor
Posts: 165
Joined: Tue Apr 02, 2013 1:41 pm
OLAP Product: tm1, cognos bi
Version: from TM1 9.4 to PA 2.0.9.6
Excel Version: 2010
Location: Toronto, ON

Re: Specifying title location in hyperlinks

Post by ardi »

paulsimon wrote:Hi

It may have been a fluke but when we tried this it only seemed to modify the first SUBNM that it encountered. We had other issues 10.2 so we have not gone much further with testing, but it appeared to be the SUBNM closest to the top left corner.

Regards

Paul Simon
When I was using this approach, in TM1 Versions prior to 10.2, I was including all my Title Elements in the "Navigate To" websheet on the top of the websheet which is usually the hidden area ( Row 1/Col 1, Row 2/Col 2, ect ) and then link them in other visible cells in the websheet. Otherwise, everytime you insert a new row or new column in the websheet, the HyperLink URL would need to be adjusted with the new Row/Col number

Now in 10.2, I prefer to use Title_DimName (for "SUBNM" dimension ) instead of Title_S#-R#-C#, which is easier to maintain but in the case the dimension name repeats in multiple SUBNM cells then Title_S#-R#-C# should avoid the conficts
Ardian Alikaj
Post Reply