Refreshing feeders

Post Reply
jonchrista
Posts: 11
Joined: Thu Jan 08, 2009 1:53 pm
OLAP Product: Cognos TM1
Version: 10.1
Excel Version: 2010
Location: Essex

Refreshing feeders

Post by jonchrista »

I have built intercube rules that work fine however the intercube feeders seem to be patchy, if I hard code an individual account it feeds correctly however if I remove the hard coded account and select All Accounts it still only feeds the account I hard coded even though that feeder is not there ! is there a way of forcing the feeders to refresh ?

Regards Jon
David Usherwood
Site Admin
Posts: 1458
Joined: Wed May 28, 2008 9:09 am

Re: Refreshing feeders

Post by David Usherwood »

Open up the rules file where the feeder is written, press spacebar (or edit in any way) and save. This should refire the feeders. Just changing dimension structures doesn't refire.
jonchrista
Posts: 11
Joined: Thu Jan 08, 2009 1:53 pm
OLAP Product: Cognos TM1
Version: 10.1
Excel Version: 2010
Location: Essex

Re: Refreshing feeders

Post by jonchrista »

Hi David thanks for your comment however I have tried this several times, I have even edited the rule and unloaded both cubes but this did not work either

Regards Jon
lotsaram
MVP
Posts: 3704
Joined: Fri Mar 13, 2009 11:14 am
OLAP Product: TableManager1
Version: PA 2.0.x
Excel Version: Office 365
Location: Switzerland

Re: Refreshing feeders

Post by lotsaram »

Post your offending feeder so that others can have a chance to look at it to see what is wrong.

Don't forget that feeders work only at leaf level.
['Total'] => means feed from each and every N level descendant of 'Total' that contains data
=> ['Total'] means feed each and every N level descendant of 'Total'

Often when people can't get inter-cube feeders to work it is because this point is missed or misunderstood, especially when there is asymmetry or level differences between the To/From dimensions.

Also when troubleshooting feeders remember that once fed a cell stays fed. You need to unload the cube between rule saves to really know what impact the rule change has had on feeders.
jonchrista
Posts: 11
Joined: Thu Jan 08, 2009 1:53 pm
OLAP Product: Cognos TM1
Version: 10.1
Excel Version: 2010
Location: Essex

Re: Refreshing feeders

Post by jonchrista »

Hi Lotsaram I have lots of issue's with this intercube rule mainly with the feeder, each time I edited the mappings for the accounts the feeder stopped working even if I unloaded both cubes etc. The current issue is that leaf to leaf mappings are fed ok but Consolidations to leafs are not working even if I hardcode the mapped account as per the example below. Thanks for your assistance so far

here's the feeder

['2010','Apr','631003','CUG003','ZYS10600 Other assets','Balance']=>
#['631003','CUG003','HBEU BS',{'Balance','Adjustment'}]=>
DB('OCE_HMI_Poland','Act-Adj',!Year,!Month,'Local currency','Periodic','CG31200_a','PR04070200','HBPL-003-999-99',attrs('Group_Account',!Group_Account,'PL_CGRS'),'A 00-000','CGRS_PL','GBP','INTL - Primary'),
DB('OCE_HMI_Poland','Act-Adj',!Year,!Month,'Local currency','Periodic','CG31200_a','PR04070200','HBPL-003-999-99',attrs('Group_Account',!Group_Account,'PL_CGRS'),'A 00-000','CGRS_PL','GBP','INTL - Supplementary'),
DB('OCE_HMI_Poland','Act-Adj',!Year,!Month,'Local currency','Periodic','CG31200_a','PR04070200','HBPL-003-999-99',attrs('Group_Account',!Group_Account,'PL_CGRS'),'L 00-000','CGRS_BS','GBP','INTL - Primary');


and here's the rule

['ACT-ADJ','Local Currency','Periodic','CG31200_a','PR04070200','HBPL-003-999-99','L 00-000','CGRS_BS',MI_Transaction_Currency:'GBP','INTL - Primary']=N:
IF(ELISANC('MI_Group_Account','BalanceSheet',!MI_Group_Account)=1,
(DB('cgrs',!Year,!Months,'631003','CUG003',attrs('MI_Group_Account',!MI_Group_Account,'PL_CGRS'),'Total')
/DB('rates','Default',!Year,!Months,attrs('Account_Type',attrs('MI_Group_Account',!MI_Group_Account,'Account_Type'),'Rate'),'GBP'))
*DB('rates','Default',!Year,!Months,attrs('Account_Type',attrs('MI_Group_Account',!MI_Group_Account,'Account_Type'),'Rate'),'PLN')
,0);


Regards Jon
Wim Gielis
MVP
Posts: 3240
Joined: Mon Dec 29, 2008 6:26 pm
OLAP Product: TM1, Jedox
Version: PAL 2.1.5
Excel Version: Microsoft 365
Location: Brussels, Belgium
Contact:

Re: Refreshing feeders

Post by Wim Gielis »

Just a thought - TM1 Turbo Integrator contains a function called CubeProcessFeeders. Comes in handy from time to time.
Best regards,

Wim Gielis

IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
User avatar
Steve Rowe
Site Admin
Posts: 2464
Joined: Wed May 14, 2008 4:25 pm
OLAP Product: TM1
Version: TM1 v6,v7,v8,v9,v10,v11+PAW
Excel Version: Nearly all of them

Re: Refreshing feeders

Post by Steve Rowe »

Hi Jon,
I suspect the problem you have is as per lotsarams post.

Feeding from a C level is shorthand for feeding from all the N levels below it. So at run time only the cells that are populated below the consolidation trigger and a feeder and any references in the RHS of the feeder to that dimension will use that N level element.

If the source is rule based then sustitute "cells that are populated" with "cells that are fed".

Cheers,

Steve
Technical Director
www.infocat.co.uk
jonchrista
Posts: 11
Joined: Thu Jan 08, 2009 1:53 pm
OLAP Product: Cognos TM1
Version: 10.1
Excel Version: 2010
Location: Essex

Re: Refreshing feeders

Post by jonchrista »

Thanks for the help guys managed to get it working by referencing 'BalanceSheet' and 'P&L' (Rollups in the Rule cube) in the RHS of the feeder instead of the attribute mapping ! Thanks also for the CubeProcessFeeders tip as I will need to do this each time I redo the mappings

Regards Jon
Post Reply