Paul-TM1
Regular Participant
Posts: 156 Joined: Tue Jun 13, 2017 3:20 pm
OLAP Product: TM1
Version: 10.2.2
Excel Version: 2010
Post
by Paul-TM1 » Thu Feb 12, 2026 3:55 pm
Hi All,
I need help with a feeder. For some reason, it's not working for a few elements. The rule is working but the feeder works partially.
Can you please tell me how to fix it?
Source Cube
Dimensions
Feeder
Labor_ASDF
Employees_ASDF
Months
Projects
Versions
Labor Calcs
Code: Select all
['Hours']=>DB('SumCostIWO1-LaborSummary',!Projects,!Employees_ASDF, DB('Labor-ASDF',!Employees_ASDF,!Months,!Projects,'Forecast','PLC') ,!Months,!Versions, attrs ( 'Employees_ASDF' , !Employees_ASDF, 'EmplGroup' ), 'Hours');
['Cost']=>DB('SumCostIWO1-LaborSummary',!Projects,!Employees_ASDF, DB('Labor-ASDF',!Employees_ASDF,!Months,!Projects,'Forecast','PLC') ,!Months,!Versions, attrs ( 'Employees_ASDF' , !Employees_ASDF, 'EmplGroup' ), 'Cost');
Target Cube
dimensions
Rule
SumCostIWO1-LaborSummary
Projects
Employees_ASDF
PLC
Months
Versions
Companies
Labor Calcs
Code: Select all
['Hours'] = if (
attrs( 'Versions', 'Forecast', 'LiveVersion') @='Y' &
!Companies @= attrs ( 'Employees_ASDF' , !Employees_ASDF, 'EmplGroup' )&
!PLC @= DB('Labor-ASDF',!Employees_ASDF,!Months,!Projects,!Versions,'PLC'),
DB('Labor-ASDF',!Employees_ASDF,!Months,!Projects,!Versions,'Hours'),
CONTINUE
);
['Cost'] = if (
attrs( 'Versions', 'Forecast', 'LiveVersion') @='Y' &
!Companies @= attrs ( 'Employees_ASDF' , !Employees_ASDF, 'EmplGroup' )&
!PLC @= DB('Labor-ASDF',!Employees_ASDF,!Months,!Projects,!Versions,'PLC'),
DB('Labor-ASDF',!Employees_ASDF,!Months,!Projects,!Versions,'Cost'),
CONTINUE
);
Thanks,
Paul.
Elessar
Community Contributor
Posts: 414 Joined: Mon Nov 21, 2011 12:33 pm
OLAP Product: PA 2
Version: 2.0.9
Excel Version: 2016
Contact:
Post
by Elessar » Thu Feb 12, 2026 4:33 pm
Hello!
That's a very well structured question!
I assume the cause here is that after Employees_ASDF attribute or "DB('Labor-ASDF',!Employees_ASDF,!Months,!Projects,!Versions,'PLC')" changes, rule uses new value, but feeder remains in the old value. Feeder fires once when rule is saved or when value is entered to source cell. But it does not know if anything changes in attributes or cell values used in DB.
You can also refer to question #7 in my quiz
viewtopic.php?p=83204#p83204
#tm1forumalive
Paul-TM1
Regular Participant
Posts: 156 Joined: Tue Jun 13, 2017 3:20 pm
OLAP Product: TM1
Version: 10.2.2
Excel Version: 2010
Post
by Paul-TM1 » Thu Feb 12, 2026 5:01 pm
Hi Elessar,
Thanks for the reply.
I understood that the PLC should also be fed and have added another feeder as below and refreshed the feeders and it did not help.
Code: Select all
['PLC'] =>DB('SumCostIWO1-LaborSummary',!Projects,!Employees_ASDF,
DB('Labor-ASDF',!Employees_ASDF,!Months,!Projects,'Forecast','PLC') ,!Months,!Versions,
attrs ( 'Employees_ASDF' , !Employees_ASDF, 'EmplGroup' ),'PLC') ;
Thanks,
Paul.
Paul-TM1
Regular Participant
Posts: 156 Joined: Tue Jun 13, 2017 3:20 pm
OLAP Product: TM1
Version: 10.2.2
Excel Version: 2010
Post
by Paul-TM1 » Thu Feb 12, 2026 9:20 pm
Found the issue. I have hard coded the version in the feeder.
Code: Select all
DB('Labor-ASDF',!Employees_ASDF,!Months,!Projects,'Forecast','PLC')
Thanks,
Paul
MarenC
Regular Participant
Posts: 458 Joined: Sat Jun 08, 2019 9:55 am
OLAP Product: Planning Analytics
Version: Planning Analytics 2.0
Excel Version: Excel 2016
Post
by MarenC » Fri Feb 13, 2026 2:18 pm
Hi,
Would have been good if this:
For some reason, it's not working for a few elements
was this:
For some reason, it's not working for a few versions!
But good that you told us the problem and managed to resolve it.
Maren