on 01-05-2009 3:59 PM
Hi Gurus,
One of our Clients Planning Periods is divided into 26 Period. I would like to Display Periods P1 to P6 and P21 to P26 of every year. Can I hide the rest of the period? (P7 to P20)
After achieving the above I want to add the P1 to P6 and P21 to P26 and display it in a separate key figure for every Year.
Sivabalan.K.S.
Hi Sai,
Thanks for the Quick response. Still I have the problem of Macro not getting applied for all the 14 iterations. Given below is the syntax I used. Can you guide how should I correct in order to mask all the 14 periods.
Macros in the Macro Book
COL_VISIBLE(): Column Visibility
DO
input : ( 14 Iterations : P 07.2006; P 20.2006 )
set Attribute X
LAYOUTVARIABLE_SET( 'X' ;
NUM_VALUES_INPUT( 'need_attribute_value' ;
'X=1/0:' )
)
IF
CONDITION ATTRIBUTE[x]
LAYOUTVAR_VALUE( 'X' ) = 1
OR
LAYOUTVAR_VALUE( 'X' ) = 0
EXIT
ENDIF
ENDDO
output : ( 14 Iterations : P 07.2006; P 20.2006 )
Column: P 07.2006 ( Attributes ) =
COL_VISIBLE(
LAYOUTVAR_VALUE( 'X' )
)
Thanks,
Sivabalan.K.S.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Visu,
Tried. But not working. Looks like I need help in Syntax. Kindly help. Also I would appreciate if you could refer any authentic book to practice APO MACRO Commands (With Examples).
Thanks in Advance.
Sivabalan.K.S.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please check the syntax. You can get the macro examples from Macro work bench. under macrobook 9AEXAMPLES VIEW
COL_VISIBLE(): Column Visibility
DO
input : ( 1 Iterations : INITIAL ; INITIAL )
set Attribute X
LAYOUTVARIABLE_SET( 'X' ;
NUM_VALUES_INPUT( 'need_attribute_value' ;
'X=1/0:' )
)
IF
CONDITION ATTRIBUTE[x]
LAYOUTVAR_VALUE( 'X' ) = 1
OR
LAYOUTVAR_VALUE( 'X' ) = 0
EXIT
ENDIF
ENDDO
output : ( 1 Iterations : INITIAL ; INITIAL )
Column: 2009/01/14 ( Attributes ) =
COL_VISIBLE(
LAYOUTVAR_VALUE( 'X' )
)
The Fiscal Year Calender is year dependant and is divided into 26 period.
Sivabalan.K.S.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Siva,
Specify whether your Fiscal Year Calender is year dependant or NOT. ..Rgds... TRR
Raghu Raman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
4 | |
3 | |
2 | |
2 | |
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.