Simple feeder is not working

Post Reply
kudzis
Posts: 42
Joined: Wed Nov 10, 2010 12:35 pm
OLAP Product: Cognos 8 BI
Version: 9.5.1
Excel Version: Excel 2007

Simple feeder is not working

Post by kudzis »

Hello,

My simple feeder is not working, and I don't have any idea why.

Source cube: [Atsargos]

['VISO papildymas'] = n:45;
FEEDERS;
['VISO papildymas'] =>
DB('Pirkimai', !2_DK, !2_Tarnybos_Verslai, !3_Pirkimo būdai, !4 Laikotarpiai, !5 Versijos, 'Planas sub 1');

Target cube: [Pirkimai]

SKIPCHECK;
['Planas sub 1'] = N:
DB('Atsargos', !2_DK, !2_Tarnybos_Verslai, !5 Versijos, !3_Pirkimo būdai, !4 Laikotarpiai, 'VISO papildymas');


In leaf cells I get values '45', but there is no consolidation, and when I comment out SKIPCHECK I can see consolidated values. What could be wrong with my feeder? Dimensions are mapped correctly.
-------------------------------------------------------------
Also (just out of curiosity, not related to my problem), if I write rule SKIPCHECK; ['Planas sub 1'] = N: 1; what intercube feeder should be written to turn on consolidation for this element?
User avatar
jim wood
Site Admin
Posts: 3961
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: Simple feeder is not working

Post by jim wood »

For 2 different cubes to feed the contents for each of the dimensions need to be the same (Even if the names are different.) Are you sure that the content of 3_Pirkimo būdai and 5 Versijos is in line?
Struggling through the quagmire of life to reach the other side of who knows where.
Go Build a PC
Jimbo PC Builds on YouTube
OS: Mac OS 11 PA Version: 2.0.7
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: Simple feeder is not working

Post by lotsaram »

A feeder must have real data entry somewhere! You cant feed from 'VISO papildymas' because it is derived from a rule that is NOT FED.

(You can feed from a rule calculated value to another rule calculated value and so on but you have to start somewhere with entered "physical" data.)
kudzis
Posts: 42
Joined: Wed Nov 10, 2010 12:35 pm
OLAP Product: Cognos 8 BI
Version: 9.5.1
Excel Version: Excel 2007

Re: Simple feeder is not working

Post by kudzis »

Jim,

These are dimensions of my cubes:
Pirkimai: 2_DK, 2_Tarnybos_Verslai, 3_Pirkimo būdai, 4 Laikotarpiai, 5 Versijos, 5 Prognozė
Atsargos: 2_DK, 2_Tarnybos_Verslai, 5 Versijos, 3_Pirkimo būdai, 4 Laikotarpiai, Atsargos

I think DB() are mapped correctly.

lotsaram,
I had no idea that feeders need real data to function. Thank you for this information.
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: Simple feeder is not working

Post by lotsaram »

kudzis wrote:I had no idea that feeders need real data to function. Thank you for this information.
Then what exactly was it that you thought feeders did?
kudzis
Posts: 42
Joined: Wed Nov 10, 2010 12:35 pm
OLAP Product: Cognos 8 BI
Version: 9.5.1
Excel Version: Excel 2007

Re: Simple feeder is not working

Post by kudzis »

lotsaram wrote:
kudzis wrote:I had no idea that feeders need real data to function. Thank you for this information.
Then what exactly was it that you thought feeders did?
I thought feeders were working on real data and calculated values with no real data. For example, I was sure that ['A'] = N: ['B'] + 15; was very easy to feed; it turns out it's impossible.
David Usherwood
Site Admin
Posts: 1458
Joined: Wed May 28, 2008 9:09 am

Re: Simple feeder is not working

Post by David Usherwood »

Think ['B'] => ['A'] would work quite well :)
User avatar
Michel Zijlema
Site Admin
Posts: 713
Joined: Wed May 14, 2008 5:22 am
OLAP Product: TM1, PALO
Version: both 2.5 and higher
Excel Version: 2003-2007-2010
Location: Netherlands
Contact:

Re: Simple feeder is not working

Post by Michel Zijlema »

David Usherwood wrote:Think ['B'] => ['A'] would work quite well :)
Not if ['B'] is zero...
User avatar
Michel Zijlema
Site Admin
Posts: 713
Joined: Wed May 14, 2008 5:22 am
OLAP Product: TM1, PALO
Version: both 2.5 and higher
Excel Version: 2003-2007-2010
Location: Netherlands
Contact:

Re: Simple feeder is not working

Post by Michel Zijlema »

lotsaram wrote:A feeder must have real data entry somewhere! You cant feed from 'VISO papildymas' because it is derived from a rule that is NOT FED.

(You can feed from a rule calculated value to another rule calculated value and so on but you have to start somewhere with entered "physical" data.)
The answer is in lotsaram's post: you need to have physical data to feed from.
If your requirement really is that all (!) cells on N: level against ['VISO papildymas'] should get value 45, I would suggest to create a process that loads the 45 number in these cells. If the 45 should be in just a number of cells on N: level against ['VISO papildymas'] (which sounds more logical to me), you should think about whether there is a driver area determining what cells should get the value. Then use this driver area as your feeder.
BTW, IMO hardcoding values in rules (apart from f.i. dividing by 100 in a percentage calculation) is bad practise - I would advise to store these values in a parameter cube.

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

Re: Simple feeder is not working

Post by David Usherwood »

@Michel, fair point.
kudzis
Posts: 42
Joined: Wed Nov 10, 2010 12:35 pm
OLAP Product: Cognos 8 BI
Version: 9.5.1
Excel Version: Excel 2007

Re: Simple feeder is not working

Post by kudzis »

Michel,

static amount (45) is not in my business logic, i've used it as an example only. Basically, I'll have to create proper feeders in my source cube if I want everything working properly. Since my source cube is small and fast, I was lazy and wanted to use feeders only in target cubes.
Post Reply