on 01-12-2012 2:02 AM
Dear Expert,
i have created a macro including a lot of steps.
in my sceranio, i have created a macro like this:
step 1:
Row 1 = row 2 + row 3
Step 2:
row4 = row 1.
Step 3:
IF
row4 > row5
write an alert.
When i run this macro, it can only execute step 3. i don't know why?
please explain for me and correct it.
And tell me how can i execute marco at aggregated level and location level or product level.
thanks so much.
Hi,
I did not understand first why you copied row 1 to row 4. However, this should still not cause an issue.
This kind of macro is a very basic macro, and you must be missing some very basic thing somewhere.
In all the steps, I hope you have repeated the iterations sufficient number of times (means covering the complete time horizon that you need).
Hope you did not change the attribute of data source from "values" to "attributes". Double click on your rows in the macro, and check this in the section 'Data Source: Value or Row/Column Attributes'. You should have "values" there.
Regarding running at aggreagated or detailed level: If you are in interactive planning and you have allowed "direct execution" for your macro, then do the data load at an appropriate level, and run the macro. Same also applies if your macro is default or start macro (or another type), when you would load data at appropriate level through selection, the macro would execute at the correct level.
If you run the macro in background job, then you can specify the aggregation level in the background job variant.
If you want to change the aggregation level for some reason during the execution of macro, it's possible to use functions DRILL_DOWN and DRILL_UP.
What exactly is your requirement?
Hope this helps.
Thanks - Pawan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hello,
Whats your row 5 equivalent to? Try to regenerate your macro and let me know your results.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
12 | |
3 | |
1 | |
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.