on 07-03-2013 8:55 PM
I have to use time dimension member property in dimension formula but unable to use. None of the below syntax work and gives error. What am i missing.
I have to use act1/[time].currentmember.("MONTHNUM") but it is giving syntax error like invalid "/" in the formula and so on.
What is the correct syntax for dimension formula usage
Tried below (BPC NW 7.5 SP11)
[ACCOUNT].[INV]/ ([TIME].CurrentMember.Properties("MONTHNUM")) -- didn't work
[ACCOUNT].[INV]/strtovalue([TIME].currentmember.properties("MONTHNUM")) -- didn't work
Any help would be appreciated.
-S
Hi Silpa,
As far as I remember, you can't use property value in the expression, because it's a text value. You can only have multiple IIF to compare this property with "1", "2",...,"12" and do the division by constant. Strtovalue is not supported.
B.R. Vadim
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Silpa,
try this...it works!
You must create a properties in Time dimension containing the month number ( i used "BASE_PERIOD" )
Then, in dimension formula, use this one:
(([ACCOUNT].[ID],[MEASURES].[YTD])/([TIME].CURRENTMEMBER.PROPERTIES("BASE_PERIOD")))
the result will be your account value ytd / month number.
Hope this can help!
P.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vadim,
I'd like to do something similar, I need to use a property value in my dimension formula:
([CATEGORY].CURRENTMEMBER.PROPERTIES("CAT1")
Property CAT1 of my member returns ACTUAL.
I know this kinf of syntax works with IIF, but it does not help me ...
Any idea? I'm on BPC 10 NW (not Hana for my test but will be later)
Thanks for your help.
Regards,
Camille
Hi Vadim,
I solve my previous issue with script logic, easier.
Now I have another question for you:
Can we, in BPC 10.0 NW, sum up all entities which have a particular property
Ex: I want to sum up all entities with property CURRENCY = USD
I was thinking of creating a member formula but can't get it work.
Thanks a lot for your help.
Regards
camille
User | Count |
---|---|
16 | |
4 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.