on 03-17-2023 6:43 AM
I have a calculation where in I want to write the calculation ffor a comp Code, it should do A*1.122. This is working for the lowest granularity but it's not working for High levels of Granularity. Any solutions, thoughts on the logic/Code for the same?
bosingh
The reason it is not working at parent level is because you are checking the condition in IF statement for plant being 101 which is not true when evaluated at parent level. To get the aggregation right, create another measure and just point it to this calculated measure vol_SQFT and make the exception aggregation as sum. You can do this in story or at the model level similar to previously calculated measure. See example below.
Output: CALC OQ does not aggregate at Europe level but CALC_OQ_AGGR does.
CALC_OQ
CALC_OQ_AGGR: In aggregation dimension you can also select All dimesnison.
Hope this helps !!
Please upvote/accept if this helps
Nikhil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Nikhil - Now I have 2 other hierarchies one with Plant-Region-Sales and another is let's say Plant-y-z for these the formula we used earlier is not working. for my normal Hierarchy with Plant-Sub Div is working. Is there anyway to make it Global and make it work for any Hiearchy which is have Plant as top node and any other su dimension as hierarchy in same Calculation? Thanks for your earlier response.
User | Count |
---|---|
73 | |
9 | |
8 | |
6 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.