Sum in TM1 Rules based on Attribute

Post Reply
ARNOJ
Posts: 18
Joined: Tue Oct 08, 2013 2:24 pm
OLAP Product: TM1
Version: 10.1
Excel Version: 2010 SP1

Sum in TM1 Rules based on Attribute

Post by ARNOJ »

Morning

In an ccount dimension, I would like to do a KPI which sum others account depending on the attribute.

By exemple
Dimension Account
Acc1 Attr1 Value : 10
Acc2 Attr2 Value : 30
Acc3 Attr1 Value : 40
Acc4 Attr1 Value 50

KPI based on Attr1 : 100

I have the following idea :
Solution 1 Use TM1 Rules with an IF and the function consolidatechildren but I think I will an issue with the performance
Solution 2 : Declare in performance modeler all the account in the dimension and have KPI : Acc1+Acc2+Acc4
Solution 3 : Do a subset with MDX and have a rollup
Solution 4 : Use a TI Process to do so

My client wants to have something dynamic which mean each time I change the attribute of the account dimension the calculation is redone automaticly

Any other solution in mind

thanks you
Last edited by ARNOJ on Tue Sep 08, 2015 2:00 pm, edited 1 time in total.
Please note that English is not my native language.
AmbPin
Regular Participant
Posts: 173
Joined: Sat Mar 20, 2010 3:03 pm
OLAP Product: TM1
Version: 9.5.2
Excel Version: 2007-10

Re: Sum in TM1 Rules based on Attribute

Post by AmbPin »

Depends on how the "client" is changing the attribute but my preference would be for an alternative dimension hierarchy.
ARNOJ
Posts: 18
Joined: Tue Oct 08, 2013 2:24 pm
OLAP Product: TM1
Version: 10.1
Excel Version: 2010 SP1

Re: Sum in TM1 Rules based on Attribute

Post by ARNOJ »

Like each client say it is "not often" but we all know what it means

yes the parallel hiearchy based on the attributs
Please note that English is not my native language.
RJ!
Community Contributor
Posts: 219
Joined: Mon Jul 23, 2012 8:31 am
OLAP Product: TM1
Version: 10.2.2
Excel Version: 2010

Re: Sum in TM1 Rules based on Attribute

Post by RJ! »

Not an immediate solution, but I think the new Attribute Hierarchies might resolve this for you without rules.

I'm sure I'll be quickly corrected but I think that will be in FP4 that is due this month...
Wim Gielis
MVP
Posts: 3234
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: Sum in TM1 Rules based on Attribute

Post by Wim Gielis »

Hello,

Go for the classic solution in this area:
- allow the client to change the attributes (for instance, create an active form)
- add a process with an Action button that recreates the hierarchy based on the attribute values.
DimensionElementComponentDelete and DimensionElementComponentAdd will do the majority of the work in TI.
- the client clicks on the button and can review the new results

Wim
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
Post Reply