Paul-TM1
Regular Participant
Posts: 158 Joined: Tue Jun 13, 2017 3:20 pm
OLAP Product: TM1
Version: 10.2.2
Excel Version: 2010
Post
by Paul-TM1 » Tue Feb 17, 2026 10:15 pm
Hi all,
I need help writing a rule and feeder from a detail cube to summary. Can someone help?
source cube dimensions feeder
NonLaborDetail Projects
Accounts
Months
Versions yet to compile after the rule works
target cube dimensions Rule
NonLaborSummary Projects
Months
Versions
Acct_summary_Items
I am unable to frame the attrs function to get the account to it's parent.
The attribute of the account is the parent -"Acct_summary_Items" in the Summary Cube.
Code: Select all
['Subcontractor Travel'] =N:
if (
attrs('Accounts', !Accounts, '?????')@=!???,
DB('NonLaborDetail',!Projects,???,!Months,!Versions)
,stet) ;
Thanks,
Paul.
ardi
Community Contributor
Posts: 168 Joined: Tue Apr 02, 2013 1:41 pm
OLAP Product: tm1, cognos bi
Version: from TM1 9.4 to PA 2.0.9.6
Excel Version: 2010
Location: Toronto, ON
Post
by ardi » Tue Feb 17, 2026 11:31 pm
Its a bit hard to understand what you mean with those question marks. Can you write the rule in a form that it's easier to read?
You are referring to !Accounts in the rules of a cube that does not have the Account dimension so not sure what you're trying to achieve
Ardian Alikaj
Paul-TM1
Regular Participant
Posts: 158 Joined: Tue Jun 13, 2017 3:20 pm
OLAP Product: TM1
Version: 10.2.2
Excel Version: 2010
Post
by Paul-TM1 » Wed Feb 18, 2026 12:35 am
Hi Ardi,
The questions marks is what I don't understand. I thought a bout it and did not get an idea.. Can someone please help?
Thanks,
Paul.
MarenC
Regular Participant
Posts: 459 Joined: Sat Jun 08, 2019 9:55 am
OLAP Product: Planning Analytics
Version: Planning Analytics 2.0
Excel Version: Excel 2016
Post
by MarenC » Wed Feb 18, 2026 5:32 pm
Hi,
we need to know more about the relationship between the account and acct_summary_Items dimensions.
For example, could you create a rollup in the account dimension where the parents are the acct_summary_Items and then reference that in the rule.
And then feed from the account attribute.
Maren