on 2021 Sep 09 7:52 AM
Dear all and Vadim,
When configuring distribution template, we have 2 options to set a value for the TIME dimension, either in the Variable Time field, or in the Section area (fixed or variable members). This is how I set up my distribution template:
As per above picture, I make this template to read the PERIOD from the EPM context of the BPC report (see variable member PERIOD).
This is the picture of the EPM context member I have in my report (the same report configured in the distribution template):
My requirement is to distribute the report with the TIME = current month without manual intervention from the user.
Can you please advise how I can achieve this?
Thanks in advance.
Best regards,
Edward.
Request clarification before answering.
You can use Excel functions to generate current month ID:
=YEAR(TODAY())&"."&RIGHT("0"&MONTH(TODAY()),2)
Result: 2021.09
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
esilitonga
If you add time to report page axis you can use the following formula instead of standard page axis formula:
=@ EPMOlapMemberO(YEAR(TODAY())&"."&RIGHT("0"&MONTH(TODAY());2);"[TIME].[PARENTH1].[2021.09]";"2021.09 - Sep 2021";"";"000")
P.S. Replace ";" with "," in the formula according to you regional settings
P.P.S. Context change can be done only using vba - read my second answer
As an alternative you can use VBA like:
SetContextOptions
to lock context for time...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
3 | |
2 | |
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.