Add formulas to the Substitution Variables
Hi allI use the EPM 11 system. I have a classic planning application. I have my dataform, year during the period and the view of the column.
I need to show the current year, next year and current month (derived from date system) on the form.
To achieve this, I created three variable substitution in the EE * & CurYear, next & CurMonth.*
Say for example if the date system is * 10 October 2009 * so CurYear show FY09 , next show FY10 and CurMonth show Oct.
For now, I've hardcoded the values... but I'm trying to get through a way to get the above date system
Can someone please advice how can I proceed to get variables to work...
Kind regards.
Mirka
Hello
How about something like
SET year = FY % DATE: ~ 8, 2%
SET months = % DATE: ~ 3, 2%
*: Remove zero if it exists... *.
Set /a month = % 1 month - %100
Set monthstring=Jan@Feb@Mar@Apr@May@Jun@Jul@Aug@Sep@Oct@Nov@Dec
for /f "tokens = % month % delims = @" % to ("echo.%monthstring%"), do)
Set months = %% j
*)*
echo% % month
echo% % year
Say that the year is 2009, this would create a year = FY09
And months must be converted into a month name
Ok?
See you soon
John
http://John-Goodwin.blogspot.com/
Tags: Business Intelligence
Similar Questions
-
How to adjust the timing of the migration of the Substitution Variables in the planning
Hello
After we update Variable of Substitution, we noticed that it take a 5 minutes before it flows planning
I read somewhere that there is a way to adjust the altimeter (5 minutes) of the migration of the Substitution Variables in the planning. Someone knows where it is?Hello
You must set a property, the details are all here:-http://download.oracle.com/docs/cd/E12825_01/epm.111/hp_admin/ch06s03s12.html
See you soon
John
http://John-Goodwin.blogspot.com/ -
Member with the substitution variable formula
Hi all
I gave member formula 'Budget'-(& Forecast); one of the members of the scenario Dimension. When I update the database of planning, in Essbase, I saw the following message
!! UNLOADED FORMULA.
But the formula came to that Member as * 'Budget'-(& 'Forecasts'); * Why quotes came around my substitution variable.
Thank you and best regards,
Konrad.Hello
You have certainly set up a variable substitution in EAS called forecast that is assigned to the planning application.
You can test it by manually by first creating the formula in environmental assessments and checking the outline.See you soon
John
http://John-Goodwin.blogspot.com/ -
I get an error when I try to update the path in the system variables on my laptop Windows 7, how to add values beyond the limit of 1024 bytes? Is there another limit or can this solution go beyond the character limit?
Hi Ronald,.
Thanks for posting your query in Microsoft Community.
I understand from your description, that you have problems with the update the path in the system variables. I'll be happy to help you
1. what you trying to accomplish?
2. What is the exact error message that you receive?
3. are you referring to the limit of characters of the file name or the path to the file?
248 characters for the maximum path length and 260 for the maximum length of file name.
For more information, you can consult this article:
File naming, paths and namespaces
http://msdn.Microsoft.com/en-us/library/aa365247.aspx
For all windows questions do not hesitate to contact us and we will be happy to help you.
-
Assign the substitution variable to another variable of substitution with truncation of value
I launch sql * more script .sql through a competitor job. Simultaneous work provides date a parameter to the script. Task log displays the date passed to scrpit as:
Arguments
------------
2013/09/01 00:00:00
For aesthetic purposes in the position of the output, I want to convert/truncate the string in a format for the end user of the 09/01/2013.
Try to simply change a variable substitution
(below does not work, but we hope to Telegraph my intention):
Undefine Low_date
Set Low_date = ' 2013-09-01 00:00:00 '
Undefine Low_date_10
Set Low_date_10 = "yyyy-mm-ds."Select substr ('& Low_Date', 1, 10) in & double Low_date_10;
Guest of "value of the Variable is: & Low_date_10.
/WHICH PRODUCES:
old: select substr ('& Low_Date', 1, 10) in & double Low_date_10
New: select substr ("2013-09-01 00:00:00 ', 1, 10") in yyyy-mm-double dsError from the 8 in the command line:
Select substr ("2013-09-01 00:00:00 ', 1, 10") in yyyy-mm-double ds
Error in the command line column: 8:55
Error report:
SQL error: ORA-00905: lack of keyword
00905 00000 - 'lack the key word'
* Cause:
* Action:
old: prompt "value of the Variable is: & Low_date_10.
New: prompt "value of the Variable is: yyyy-mm-ds."
"Value of the variable is: yyyy-mm-dd""I need to get to" value of the Variable is: 01/09/2013.
Hello
SELECT... IN works in PL/SQL.
In SQL * Plus, you can use the COLUMN... New_value, like this:
SET low_date = ' 2013-09-01 00:00:00 '
COLUMN low_date_10_col new_value by low_date_10
SELECT REPLACE (SUBSTR ('& Low_Date', 1, 10))
, '-'
, '/'
) AS low_date_10_col
DOUBLE;Value of the PROMPT Variable is: & Low_date_10
-
Essbase 7.1.6 - the substitution variables, as in the access filters
Hello
I use Essbase 7.1.6, as mentioned above. Currently my writing permissions are based on edu, but for both dense dimensions I have setting and disabling UDAs is a pain (slow restructuring). I thought about the other ways to do this and came with variables. We already use in calc scripts and documentation says it is possible to use in filters too, but it gives no examples to do and I can go as far as the syntax on my own error.
For example: the year variable is set on * "YR08" * member of dense dimension (with the quotation marks, of course). He gives a syntax error when it is used in the definition of the filter as:
& year
"& year".
& 'Year '.
The result is: error: invalid syntax 1054012 filter 9 online
Any advice? What I do is still possible in this version?
--
Best regards
S.You can create a maxl script that replaces the filters, when you call the maxl script you could spend a variable such as YR08 and use this variable in the script.
See you soon
John
http://John-Goodwin.blogspot.com/ -
formula with the global variable node
Hello
I'm tring using node formula with global variables as an entry and exit.
but this is where I see the SW hangs forever.
Either way, I am a novice to the labview.
Can some give me advice why this is happening?
Thank you in advance,
Do
As smercurio mentioned, if you described what you wanted to do, we could show you things that can be done using LabVIEW.
For example, loops For may not be not necessary if you are trying to extract or manipulate data in tables.
It is good that you have a job, but it would be better to learn the power behind LabVIEW. Who knows, you can actually walk away from C code...
-
SQL Developer: Enter the Substitution Variable
Hello
I'm an annoying pop up, asking for enter Substituon Variable in Oracle Sql Developer 4.0.
I do it to me when I'm trying to compile a stored procedure. I can't fix here the stored procedure for reasons of confidentiality. If anyone can guess what might be the problem, please suggest.
I do it to me when I'm trying to compile a stored procedure. I can't fix here the stored procedure for reasons of confidentiality.
We cannot debug code that we cannot see. Create the simplest possible example code that illustrates the problem.
If you have code that uses a variable to link and compile in a window of the editor, you will get a popup asking for the bind value as in this code example:
create or replace procedure test_var as
number of v_num;
Start
Select empno in v_num from emp where deptno =: v_num;
end;
And if you change this line of code to use an and commercial you will get a popup asking for a variable substitution:
Select empno in v_num from emp where deptno = &v_num;
-
How to remove the substitution variable invite it the coil to a script
Oracle 11 g 2
Hi all.
I'm trying to spool the results to a file in another file, but I don't want to take the
'Enter' value dethrone the clause with it in the new file.
Y at - it a setting that I could put in SQLPLUS? I tried together check off the coast and who remains a single line.
Thank youHello
You can also use the SQL * more ACCEPT the command to the input of a value before spoooling:
ACCEPT start_date PROMPT "Enter the starting date (e.g. 11-Mar-2010): " ... SPOOL fubar.lst SELECT ... WHERE entry_dt >= TO_CHAR ('&start_date', 'DD-Mon-YYYY') ...
-
Sharing the values of substitution variables complex between ASO and BSO of databases
We ASO and Essbase BSO names of members of database with spaces in and need to store some of these member names in the substitution variables. However, this should be done differently for ASO and BSO, due to script syntax calc requiring double quotes and MDX requiring hooks. For example:
ASO:
& CurWeek value = 1 week
MDX: [& CurWeek]
ASF:
& CurWeek value = "week 1".
Calc script: & CurWeek
Therefore, the substitution variables can be shared between ASO and BSO, cubes because the value of the variable BSO requires double quotes because of the space in the name of the Member.
Is there a way to get the above to work with ASO and OSB? Unable to escape the quotes in the calc script syntax? Or double quotes can be removed in the MDX formula?Yuck! I'm curious to see if someone has a really elegant solution to this. :)
I'm sure you have seen this already, but a workaround is to create an alias that is not a space (or probably better, use a name without a space Member but leave some space in the alias).
What is your specific motivation to avoid the solution two variables? If it is purely of synchronization, do not forget that even with a variable unique no guarantees of the formulas of Member ASO and BSO calc scripts will be always synchronized without a response, because the formulas (by the SER60) pick up not a new value until the application is restarted.
-
How to use the substitution in case of construction dim variable
Hi all
Lets say I have 3 void / vars - Prevmonth prevmonth-1, prevmonth-2. These change every quarter.
I want to build a cube that will be who will have only 3 months preceding the fiscal dimension. This will serve once at the end of the quarter.
What should I do for the substitution if build rules files variables dim? I want to automate the process. We have Sun for other dims build SQL, only the Sun can be built as flat file.
Or y at - it another way to do this Besides using sub vars? I can try to store 3 variables in a table and then use them to create the cube, but want to see if we can avoid creating an interface more.
Thank you.
You can use substitution variables, as in the SQL of the charge state - rules for the Substitution Variables
See you soon
John
-
Assign the numeric value of Substitution Variable?
What I try to do is:
Read a CSV file via the unix shell and choose some columns in each row
Transmit the data to a MaxL Script
Assign the data passed to substitute variables in the MaxL script.
Problem:
Two of the columns contain digital data (for example: 0.5 or 60 etc..) I want to set the substitution variables in these digital data (without the quotes). I tried to use
Edit the < app and cube name > database variable 'Variable' $1;
but it gives me error
ERROR - syntax error 1242021-1 ['. 5']
I tried with quotes single and double, but they value the value of the variable $1
If I manually set the value of this Variable through the Regional service to 0.5, everything works perfectly. Any ideas on how to do this? the Ser60 does not provide a solution.An example is
startMaxl scriptname.mxl "0.5"
alter database appname.dbname set variable "VariableName" $1;
or
startMaxl scriptname.mxl 0.5
alter database appname.dbname set variable "VariableName" ' \'$1\' ";
See you soon
John
http://John-Goodwin.blogspot.com/ -
Use a script to update the MaxL substitution variables
We use the Essbase 11.1.1 version. Can we use MaxL script for updating the substitution variables rather than using the EAS web console? We want to put the MaxL script in a batch file and plan its Windows scheduled task.
Thanks for your help!Hello-
Yes. Here is an example of script maxl-
connection "Hypadmin" "#" on myessbaseserver.
spool to 'mymaxl.log ';/ * Definition of the substitution variable * /.
ALTER database appname.databasename set variable "CurMonth" "August";variable display;
spool off;
Disconnection;
Exit;You can call this maxl from a batch file at the request of windows scheduled task.
Concerning
-
Substitution Variables database
Hello guys,.
In the EPM 11.1.2.3.500 system where are stored the substitution variables, wise db?
Thank you
Right-click on the server in the EA and then edit > Variables. Here, you will get a list of all the variables, and it will also show if they are set at the level of the server, the application or database level.
For your next question, where variables are stored. All substitution variables are stored in the file essbase.sec (essbase security file)
When you try to view the variables, it go from variable substitution, and when you try to edit and save any variable, then it will update the security file.
Hope this helps
See you soon
Amarnath
-
How to use substitution variables, as in Microsoft Word using Hyperion Smart view
Can we use the Substitution Variables to copy data points and cool off in Microsoft Word? I tried and it does not dynamically (copy the data points only copies what was in excellent cell right there). It copies only the static value of this variable for this cell. I want to use dynamically in Word so that if I change the value of this variable in Essbase, it is updated in Word on refresh. Any idea?
We need this notification feature in microsoft word and keep using data points every year (instead of copy the cells of excellent on new)
Any help or suggestion is appreciated.
Thank you
You may not use substitution variables, as with the copy data points. I tried a while back (after 111.1.2.1.102) and it wouldn't work. I checked with Oracle development and they said that I is not available
Maybe you are looking for
-
Logic Pro X v10.2.4 was released this morning with bug fixes... Hope that helps Edgar Rothermich - LogicProGEM.com (Author of "Graphically improved manuals") http://DingDingMusic.com/manuals/ "I could receive some form of compensation, financial or o
-
My 6s iphone shows that I have an unread email. I have read and open any emails in my Inbox. How can I make the 1 red go?
-
HP 15-d059sr: the problem with the display of graphics in games
Good afternoon!Watching such a problem.During work on the desktop (surfing on the Internet, work with documents, see the video online, film) is OK, but it is necessary to enter the game (Stalker, Diablo 3, etc.) begins to shake up the top of the scre
-
7 Outlook won't send or receive e-mails. As saya business contact manager error.
-
BlackBerry Passport frozen in the start-up / stop Mode
My passport is stuck between to turn on and off. I don't know how it started, but now the Start button / stop for long periods does not work. I tried a factory reset, but of course, he didn't stay long enough to be recognized. The link downloaded