Tm1 paratmeter question

Post Reply
ravi
Posts: 138
Joined: Mon Apr 26, 2010 12:39 pm
OLAP Product: cognos
Version: tm1 9.5
Excel Version: 2007

Tm1 paratmeter question

Post by ravi »

Hi,

Need some advise-
I have modified and existing sql querry in TI process and difined all the variable.
for year variable I have 2011

when I save and run the TI process- it say provide Pararmeter.

infact pararmeter is already defined in Advance->paremeter (attached screensot)

My question - do we need define every time parameter while running the TI process manually.

Regards,
Ravi
Attachments
paremeter question.JPG
paremeter question.JPG (19.46 KiB) Viewed 2029 times
David Usherwood
Site Admin
Posts: 1458
Joined: Wed May 28, 2008 9:09 am

Re: Tm1 paratmeter question

Post by David Usherwood »

You've provided a _default_. Press Enter and that's what'll be used. Change it if you want to process another year.
If you don't want to change it, assign it in the TI - but I would have thought it will need to change as time moves on.
lotsaram
MVP
Posts: 3706
Joined: Fri Mar 13, 2009 11:14 am
OLAP Product: TableManager1
Version: PA 2.0.x
Excel Version: Office 365
Location: Switzerland

Re: Tm1 paratmeter question

Post by lotsaram »

The whole point of providing a parameter is this is information that by definition needs to be provided at runtime.

If you just want the process to run without providing parameters but have some ability to configure "runtime options" then rather than a parameter you could create a variable on the prolog and populate it with a CellGetS from a control cube holding the year to load. As the entire prolog runs before executing any query you can still pass a variable from the prolog into a query just as you would a parameter.
Post Reply