Range of values for substitution variables
HelloCan assign us range of values for substitution variables...
CurrActuals: Jan: Mar
CurrFcst: Mar: Dec
When I set up and use the void daataforms var aboive... his throw error... How can I set vales for variable sub range.
Jan: Mar will not work in Web Forms. I have not tried 11.1.2.2 but older versions, it will not be
Tags: Business Intelligence
Similar Questions
-
How to value for the variable user massively
Hello world
Is it possible to massively value variable user, for example the currentVersion value variable user as 'Work' for all users instead of setting a preference?
Thank you very much
Van Huy.It kind of defeats the object if you want to set a user variable in the world and perhaps a substitution variable can be a better option.
In any case, one option is to export the LCM user preferences, update the output and then import them into.
If you want to take the risk of piracy tables then look at HSP_USER_VARIABLE_VALUE, HSP_USER_VARIABLE and HSP_OBJECTSee you soon
John
http://John-Goodwin.blogspot.com/ -
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.
-
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/ -
Error in a request for Substitution Variable
Hi - I get an error when I try to run the following using the substitution variable - but only when I get a string; When I enter a numeric value, it works fine.
Here is the error I get when I provide a string value when prompted:DECLARE l_SCR_Info VARCHAR2(50) := '''SCR'||&SCR_NUM||'-'||''''; begin dbms_output.put_line(l_SCR_Info); end;
Can anyone shed light on what I'm missing here?ORA-06550: line 3, column 52: PLS-00201: identifier 'AB' must be declared ORA-06550: line 3, column 27: PL/SQL: Item ignored ORA-06550: line 10, column 22: PLS-00320: the declaration of the type of this expression is incomplete or malformed ORA-06550: line 10, column 1: PL/SQL: Statement ignored
Thank you!
ChristineHello
It looks like you want just a rope here:
l_SCR_Info VARCHAR2(50) := '''SCR&SCR_NUM-''';
Remember how to work the substitution variables: SQL * Plus substitute values before sending the code for the back-end to compile.
If you give a value as AB for the variable, the code you posted is equivalent to:l_SCR_Info VARCHAR2(50) := '''SCR'|| AB ||'-'||'''';
at the time he reaches the compiler. AB is not within quotation marks, so the compiler looking a variable or a function called AB.
If you gave a number:l_SCR_Info VARCHAR2(50) := '''SCR'|| 123 ||'-'||'''';
There is no problem; compiling knows what is the literal number 123.
-
Hello
The Sub data, I want to find records where status = 1 and the values for all the questionnarie ($quest1 to Quest5) is other than 1, i.e. the value must be null, 0 or a negative integer
Thanks in advance
with t as
(
Select 101 as the nest, 1 as the status, "Cookie" as a term, 1 as $quest1, Quest2 0, 0 Quest3, 0 Quest4, 0 as Quest5 from dual union
Select 102, 1, "Chips", 0, 0, 0, 0, 0 double Union
Select 102, 1, "Chips", 0, 0, 0, 0, 1 double Union
Select 102, 1, 'milk', 0, 0, 0, 0, null Union double
Select 103, 0, 'mixture', 0, 0, 0, 0, 0 double Union
Select 103, 1, 'sugar', 0, 0, 1, 1, 1 Union double
Select 104, 1, 'sugar', null, null, 0, 0, 0 double Union
Select 105, 1, 'the', 1, 1, 0, 0, -1 Union double
Select 106, 0, 'milk', 1, 1, 0, 0, -1 double Union
Select 106, 1, 'milk', -1, -1, 0, 0, -1 Union double
Select 106, 1, 'milk', 0, 0, 0, 0, 0 of the double
)
Select * from t
When status = 1
Output
NEST STATUS TERM $QUEST1 QUEST2 QUEST3 QUEST4 QUEST5 102 1 Chips 0 0 0 0 0 102 1 Milk 0 0 0 0 104 1 sugar 0 0 0 106 1 Milk -1 -1 0 0 -1 106 1 Milk 0 0 0 0 0 Select *.
t
When status = 1
and nvl ($quest1, 0)<= 0="">=>
and nvl (quest2, 0)<=>=>
and nvl (quest3, 0)<=>=>
and nvl (quest4, 0)<=>=>
and nvl (quest5, 0)<=>=>
-
Problem of null values for the Variable
I work with APEX 4.0. I have a menu page that has a list item widget types to select. I then a navigation list that calls a report page and sets a widget-type element with the value of the widget on the page called - type element.
Problem is that type widget on the page called article does not meet. The report depends directly on this issue being filled. The url indicates the element in the form of Pxxx_WIDGET_TYPE, but the value for parameter & Pxxx_WIDGET_TYPE. is set to null. I am also an element of Pxxx_CALLED_FROM filling, which fill, and the url shows the value of & APP_PAGE_ID.
What's wrong? How to fill the element of widget_type?
How do you define value for Pxxx_WIDGET_TYPE? And is there a value in the session state for this item?
Kind regards
Vincent
-
In your illustration, he indicates that there should be a form variable which passes the value to the query. For example, if there is an input field
Then, when the form is submitted, it will pass the value to the query.
When you test the query in Dreamweaver, this value is unknown, where the question. Simply a response with a value and everything's fine.
-
How the value for several variables using a single guest
Is there a way to put more than one variable with a single guest?
for example, the value @CurrentYear and @PasteYear using just a single guest for @CurrentYear.
A clue?
Thank you
LukeUsing variables to repository you can set like this.
Check this link http://gerardnico.com/wiki/dat/obiee/set_variableIf brand pls help
-
Hello
I have a ZIP column which is the Varchar2 data type, it has values such as 2345, 09485, 10900, 07110, 06534.
I have to go look up records from the range of values for the ZIP column as between 00000 and 07500.
Could you give a logic.
Thank you.
Hello
I think you can use the following code:
SELECT T.*
OF
t WHERE the to_number (ZIP) between TO_NUMBER('0000') and TO_NUMBER('07500')
;
CGomes
-
Using the calculation script to write the value of the variable Substitution in a file
Hello
I am trying to use the calculation script to write the value of Substitution variable in a text file.
I use the dataexport command. But it is not able to write values in the text file.
Any help is appreciated.
Thank you.MaxL would display variable. See: http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_esb_techref/maxl/ddl/statements/dispvarb.htm
BTW, I mostly prefer Esscmd MaxL. I think that makes me a heretic, but I don't understand why I don't want to type more rather than less to get the same result.
Running a calc:
Esscmd - RUNCALC 2 calcname
MaxL - run calculation Sample.Basic.calcname;To be fair, Esscmd requires a dbname appname SELECT before the RUNACALC, but it is always less striking.
However, time is running, so I don't have too. And of course, MaxL now has many things that Esscmd doesn't like Esscmd is obsolete.
I always use Esscmd to run scripts of calc I can actually watch the output in real time as opposed to MaxL that exports the console at the end of execution.
Kind regards
Cameron Lackpour
-
resolveNode returns a null value when a variable is used.
LiveCycle Designer ES2, latest version
Hello
The following Javascript code, in the click event of a button, returns a null value for the variable opaque. When I manually enter the expected value the script works perfectly.
I tried various modifications of the resolveNode line such as var opaque = xfa.resolveNode (qPage); , but without success.
Also studied all the documents reference Adobe that I could find on the scripts and resolveNode. Any suggestions?
var qPage = (Cell12.rawValue + "AnchorField");
App.Alert (qPage);
Opaque var = xfa.resolveNode ("' $... qPage '");
App.Alert (opaque);
var nPage = xfa.layout.absPage (opaque);
App.Alert (nPage);
xfa.host.currentPage = nPage;Thank you
Ron
I tried your sample and it seems to work very well... but I'm not sure 100% that you are trying to do... .going to your initial question on the passage of a variable in the resolveNode resolveNode expects a string, so you must use the following syntax to create the string:
xfa.resolveNode ("$.." + qPage)
Note that the variable is outside the quotes as such the string $... is added to the content of qPage. This wil work if qPage is a string as well.
In your example you have defined qPage as an XFA object so that the syntax above will not work. If you intend to use the same way, you would use qPage.name so that the name of the field will be returned (this is a string) and it will be added to your expression of $ to make the $... ProductAnchorField
Thus, the expression would be:
xfa.resolveNode ("$.." + qPage.name)
Make sense?
Paul
-
Possible values range Setup for essbase for reports substitution variables
Hi all
I tried to define a substitution variable that holds the current month and the previous in current year called curryrmnths. For example, the current month is March, the value of the variable must be Jan, Feb, Mar.
I am trying to use this variable for reports in order to make dynamic reports, instead of manually enetering the new month each time. (We use the reports financial hyperion).
I tried different syntaxes like,
Jan: Mar
Jan, Feb, Mar
"Jan, Feb, Mar.
But none seems not to work, they arise while setting in the reports.
Can anyone suggest a solution? How a range of values is dynamically adjustable in a report?
Your answers would be appreciated.
Thank you.Take a look at these discussions - your condition has been discussed quite a bit more in the forum of queries and reports:
Re: Very Urgent report EN
Hyperion Financial Reporting v 11 - Relative function (in another dimension)
Re: Roll month HFR - really UrgentKind regards
Cameron Lackpour
-
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
-
problem by setting the value of a variable substitution in a calc script
Hi all.
I'm trying to update the value of a variable substitution inside an IF statement, and I have a problem.
Here is the code:
* "Jan" (*) "
IF (LoopCounter = 1) & varEntity = "100";
ENDIF ;)
the error that I get back from Regional service is:
Error: 1200336 error analysis [Jan] (line 54) formula: [()] without [)]It's tricky. Without really analyzing the details of your example, two options that might be worth a visit:
1. write a MaxL script for updating the subvar (s), and then run the calc, x 20. 40 lines of MaxL and 500 lines of code is 10 000. Obviously, this only works if the launch of the MaxL script is feasible, and you know that you aren't going to have multiple instances of the calc (or any what calc which depends on these subvars) running at the same time. But I guess you're OK with the last part, because even your original solution would have this problem
2 hyperion Business RulesI know that CL knows a lot of HBR, if he is here today...
Maybe you are looking for
-
Hi, can I connect the machine to the time more than a mac?
Hi, can I connect the machine to the time more than a mac?
-
Satellite T130-11u - problem Bluetooth Win 7 64 bit
Hi, also got a new T130-11u with windows 7 64 x I have a problem with bluetooth.After that I installed 7.10 bluetooth stack. (new manager) I can't conect any device on my laptop.The esteem devices Manager starts the instalation and it displays an err
-
I can't access the website of LDS "FamilySearch indexing."
Since the installation of update KB2539636 "Security Update for Microsoft.NET Framework 4", on August 25, I was not able to access the site referenced on a laptop or desktop two running Windows Vista. A laptop running Windows 7 still connects but is
-
Rejecting the keyboard after that you press the Enter key
I have a search box and under certain conditions I am able to set the different KeyboardType. When you press 'Enter' key, I am able to capture data from text box private void HandleSearch(evt:KeyboardEvent):void {} If (evt.keyCode == Keyboard.ENTER)
-
Startup applications with the mime type or file-name extension
Hello is it possible to start the corresponding application for a mime-type file or a file extention? I have for example a JPEG image or PDF file stored on the SD card and wants to open by calling the assosiated on the BlackBerry Smartphone applicati