Measure calculation question
Posted: Wed May 09, 2012 10:25 am
Hi,
I'm kind of a newbie in tm1 and having an issue with a measure calculation
My aim is to find if a customer is regular or not = active 1 year ago AND active now. I'm ok at level 0 for customers, my issue is for level >0
see my exemple :
Customer1 active1yearago=1 activenow=0
Customer2 active1yearago=1 activenow=1
Customer3 active1yearago=1 activenow=1
Customer4 active1yearago=0 activenow=1
I say regular = min (active1yearago, activenow)
->
Customer1 regular=0
Customer2 regular=1
Customer3 regular=1
Customer4 regular=0
So I expect regular for Total Customers to be 2 but right now it returns 3. I mean it calculates for Total customers active1yearago=3 and activenow=3 -> 3
I need to say that for level>0 of customers, it has to be the sum of the children, but can't find a way to figure it out... Any help ?
(it is a simple exemple, i got more dimensions, etc... )
Stéphane
I'm kind of a newbie in tm1 and having an issue with a measure calculation
My aim is to find if a customer is regular or not = active 1 year ago AND active now. I'm ok at level 0 for customers, my issue is for level >0
see my exemple :
Customer1 active1yearago=1 activenow=0
Customer2 active1yearago=1 activenow=1
Customer3 active1yearago=1 activenow=1
Customer4 active1yearago=0 activenow=1
I say regular = min (active1yearago, activenow)
->
Customer1 regular=0
Customer2 regular=1
Customer3 regular=1
Customer4 regular=0
So I expect regular for Total Customers to be 2 but right now it returns 3. I mean it calculates for Total customers active1yearago=3 and activenow=3 -> 3
I need to say that for level>0 of customers, it has to be the sum of the children, but can't find a way to figure it out... Any help ?
(it is a simple exemple, i got more dimensions, etc... )
Stéphane