cognos tm1 - Using a feeder based on a condition in TM1 -


can element fed based on if condition?

the following rule calculation used evaluating validation values.

[{'aop_v1','forecast_v1'},'validation', 'rate'] = n:  if(roundp(['phasing total', 'rate'] * 100, 5) = 100 % roundp(['phasing total', 'rate'] * 100, 5) = 0,   stet, 1); 

is there way can feed [{'aop_v1','forecast_v1'},'validation', 'rate'] ['phasing total', 'rate'] when..

roundp(['phasing total', 'rate'] * 100, 5) = 100 % roundp(['phasing total', 'rate'] * 100, 5) = 0

?

phasing total validation

you can create conditional feeders using db() function on right hand side of feeder. rather having cube name hard coded in db formula use if() function returns name of cube fed if logical condition evaluates true, or empty string if not:

['feedfrom']=>db(if(yourlogicaltest,'nameofcube',''), !dim1, !dim2, 'element'); 

obviously pseudo-code; db function may use various combinations of current element references (the ! operators) , hard coded element names. key point is, though, if if() test returns empty string db() function not define fed.

i recommend reading this ibm article on rules , feeders in general. this thread on tm1forum contains discussion on whether 1 should or should not use conditional feeders, or find way.

another factor need take account post-dates thread; in newer versions of tm1 can use multi-threaded loading improve load memory time. if use conditional feeders have go single threaded load. may have negligible impact on you, or may substantial.


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -