Using value as parameter of function data
Hi allIs it posible on Essbase use values of data as parameters to functions? For example, the code
@CONCATENATE ("AccountMember", "Text")
Returns "AccountMemberText", but I need to get the value in AccountMember concatenated with text, as 123456Text.
So, is it posible to get the value as a string?
Thank you!
Mauro.
Edited by: 992758 03/13/2013 08:36
I don't think that's what wants to Mauro, Celvin. If actually 1234 as a data value contains "AccountMember", he wants to return "1234Text", which is arguably a member name.
I don't think it's possible (but I'm willing to be wrong) without a set predefined options and a potentially ugly logic of 'IF'. A CDF would be an option.
Tags: Business Intelligence
Similar Questions
-
Error 91 - try to use the variant of the function of data
I'm running a problem when you try to use variations in my application. I have a setup of State machine that a State creates a list of tasks (cluster of tables), and then converts it to the Variant. The variant is fed into a shift register that allows me to access the list of tasks of a different State.
The problem comes when I try to use the variant of the function Data. I right click on the task cluster to create a constant and then wire to the TYPE of the variant of the function Data. I wire the variant of cluster of task to the terminal of the VARIANT. When I run the VI, I get error 91: or the possible reasons: LabVIEW: the variant data type is not compatible with the data type of wired for the input type. ».
How can I get this error if the type that I have connected to a Terminal TYPE of the Variant Data terminal is a constant created from the exact type created a variant of?
Section of the machine of the State where I wire the cluster variant:
Section of the machine of the State where I use the data out of the cluster variant:
The constant wire to the terminal of data TYPE variant was created from the cluster that is connected to the Variant type data. I don't understand how there is a type mismatch?
Is there another State between these two? I notice you have some tunnels 'Use default if unwired' coming out of the structure of your business. First of all, clear on the tunnels. Second, in cases where you do not only affect the data, the data directly from the tunnel entrance in the tunnel exit of the wire. I recommend using the tunnels linked to make it even easier on yourself.
With the default tunnels being output, your variant coming could really be empty, so the conversion fails.
-
Can I use data value references with a functional overall?
Can I use data value references with a functional global? I am trying, but it causes problems: I run the attached VI with "new DVR" selected. Then I run it again with "return array" and I get the error 1556: "The reference is invalid. This error might occur because the reference has been deleted." It seems to have forgotten the DVR, but I thought it should be stored in the shift register. Another odd thing: In my VI, if I try to connect the wire shown in "something strange", then the type changes (from U16 array to DBL), i.e. it doesn't recognize the type referenced by the DVR. I want to pass a very large 4-dimensional array between parallel loops with a functional global. To avoid memory problems, I want to use a DVR and in-place element structures. If that's not allowed in Labview, I will try passing it through a user event or notifier. Any problems with those alternatives? Thanks.
I received a response from an engineer applications OR on this subject, and it seems that it is perhaps a problem with Labview. They are working on it, so I'll go ahead and close this discussion.
Thanks for the help,
Allan
-
Case function can be used as a parameter when calling a procedure, please notify
The daily procedure is called with the parameter 3 following one of the parameters using a function box between them as shown below.
Daily_Ins (c1.p_mtrid, c1.p_UOM CASE WHEN "KWH" THEN 1 ELSIF 'KW' THEN 2 END, v_dateHold);
In my opinion, using decode is illegal, so I think that I cannot say something like :
Daily_Ins (c1.p_mtrid, ( decode c1.p_UOM, "KWH", 1 'KW', 2), v_dateHold);
I think I just found something on the net
SQL > DECLARE
2 wages NUMBER: = 20000;
3 employee_id NUMBER: 36325 =;
4
5 PROCEDURE give_bonus (emp_id in NUMBER, bonus_amt number) IS
6 BEGIN
7 DBMS_OUTPUT. Put_line (emp_id);
8 DBMS_OUTPUT. Put_line (bonus_amt);
9 END;
10
BEGIN 11
12 give_bonus (employe_id,
13 CASES
14 salary when > = 10000 AND salary<=20000 then="">=20000>
15. WHAT salary > 20000 AND salary<= 40000="" then="">=>
16. WHAT > 40000 salary THEN 500
17 0 OTHERWISE
18 END);
END 19;
20.
PL/SQL procedure successfully completed.
-
using the value null with a function
Guys, newbie here
What is the value NULL in function header? Does this mean that I can pass a value zero?
FUNCTION tot_sales
(company_id_in IN company.company_id%TYPE,
status_in IN order.status_code%TYPE: = NULL)
RETURN NUMBER
Hello
dorianpc wrote:
Guys, newbie here
What is the value NULL in function header? Does this mean that I can pass a value zero?
FUNCTION tot_sales
(company_id_in IN company.company_id%TYPE,
status_in IN order.status_code%TYPE: = NULL)
RETURN NUMBER
You can always pass NULL for any argument.
What does this code mean, is that the argument is optional (what, you don't have to spend), and if you do not pass it, status_in will be NULL inside the function.
So call for your function with 1 argument, like this:
t: = to_sales (c);
is equivalent to calling with 2 arguments, like this
t: = to_sales (c, NULL);
where the 2nd argument is null.
-
Two tables provided, how you retrieve the values in two columns using values in a column (the pass get values. If col. A is not null values and get the pass. B if col. A is null)?
Guessing
Select nvl (x.col_a, y.col_b) the_column
from table_1 x,.
table_2 y
where x.pk = y.pk
Concerning
Etbin
-
How to use the multivalued parameter in which the condition
Hi guys;
for sure, the use of v_USR_NAMES parameter is BAD! because it will not be monitored as a collection of values.
Please provide me a way how to let run in the right way.
declare v_USR_NAMES varchar2(1000) := 'SYS,SYSTEM,SH'; begin -- sure the following loop is wrong, how could I correct it for user_cur in (select * from dba_users where username not in v_USR_NAMES) loop --Do it end loop; end; /
Best regards, Dia
DECLARE v_usr_names VARCHAR2 (1000) := 'SYS,SYSTEM,SH,SYSMAN'; l_cnt number; BEGIN l_cnt := length(v_usr_names) - length(replace(v_usr_names,',')) + 1 ; FOR user_cur IN (SELECT * FROM all_users WHERE username NOT IN ( SELECT REGEXP_SUBSTR (v_usr_names, '[^,]+', 1, LEVEL) str FROM dual CONNECT BY LEVEL <=l_cnt)) LOOP DBMS_OUTPUT.put_line (user_cur.username); END LOOP; END;
-
Using the QUERY parameter in exp/expdp
Hi, I've faced a nite last question.
IM currently using Oracle 10 g (10.2.0.4) OS - MS Windows Server 2003
I want a dump of tables to export multiple schemas. say (acb.m1, pqr.b2, xyz.b1)
Each table has a minimum lines of 2,000,000,
And I want to just the initials 10 rows in each table of export
Is it possible that I can do this...
Please answer.
Thanks in advanceExport tables in multiple schemas is not supported in Data Pump until 11.1.0.7. So if you're on 10g, you will need to run multiple commands expdp. For only 10 lines of each table, use the query parameter
Query = "where rownum"<>
This will apply to all the tables you export.
I hope this helps.
Dean
Published by: Dean WINS January 30, 2012 08:42
-
Select the list display value from a javascript function
Hi all
I have a list in tabular form, having a display value and return value.
I use $x (statement) .value or $v (statement) for retreving return the value of the selection list in a javascript function.
Can someone let me know how I can get the display of the selection list value in a javascript function? IM using Apex 3.2
Thank you and best regards,
Sandeep
-
ORA-16797: database does not use a server parameter file
I can see newspapers apply pending data. But in the dataguard alter journal generates error ORA-16797: database does not use a server parameter file
Error message in the logfile dataguard
-----------------------------------
DG 2010-03-23-17: 0 2 714415739 MICHAEL 46:45: GET_DRC finished
DG 2010-03-23-17: 714415740 3 1000000 MICHAEL 46:45: GET_SITE: success. (len = 464)
DG 2010-03-23-17: 714415740 3 1000000 MICHAEL 46:45: GET_SITE finished
DG 2010-03-23-17: 2000000 3 714415741 MICHAEL 46:45: GET_SITE: success. (len = 481)
DG 2010-03-23-17: 2000000 3 714415741 MICHAEL 46:45: GET_SITE finished
DG 2010-03-23-17: 0 2 714415742 MICHAEL 46:45: CTL_GET_STATUS sent to the ANZPRD site for treatment
DG 2010-03-23-17: 0 2 714415742 MICHAEL 46:45: CTL_GET_STATUS finished
DG 2010-03-23-17: 47:32 0 2 0 RSM0: HEALTH CHECK ERROR: ORA-16797: database does not use a server parameter file
DG 2010-03-23-17: 47:32 0 2 704706097 CTL_GET_STATUS operation cancelled during phase 1, error = ORA-16797
DG 2010-03-23-17: 47:32 0 2 704706097 CTL_GET_STATUS operation cancelled during phase 1, error = ORA-16797
QL > SELECT MAX(SEQUENCE#), THREAD # V$ ARCHIVED_LOG GROUP THREAD #;
MAX(SEQUENCE#) THREAD #.
-------------- ----------
2, 2000
2060 1
I did the steps
Create spfile pfie
Shutdown
Started by spifile
No luck. Journal of applied began. but I see the same error in the datagurd log fileHere's what it should look like:
SQL> show parameter pfile NAME_COL_PLUS_SHOW_PARAM TYPE -------------------------------------------------------------------------------- ------ VALUE_COL_PLUS_SHOW_PARAM --------------------------------------------------------------------------------------- spfile string C:\ORACLE\PRODUCT\11.1.0\DB_1\DATABASE\SPFILEORABASE.ORA SQL>
My guess is that the file is not in the right place. Check the location and your ORACLE_HOME environment variable.
It should be in $ORACLE_HOME/database for windows, $ORACLE_HOME/dbs for real operating systems.
-
How to use a 2nd partition to store data?
The 40 GB HDD on my satellite L10 comes with two 20 GB partitions (C and D drive). I understood (by reading this forum) that it is better to use a partition to store the data.
So far, there was no need to use the D drive. But now I need more space.
How can I use the folder structure in windows XP home (My Documents, etc.) and the data on the D drive.
We are working on this computer with multiple accounts.
I tried to move a folder of My Documents to the D drive, but then is accessed by other users. Use shortcuts to the D drive? I hope there is a simple solution.
Thanks in advance.
(I tried my best to write in English...)Hello
Your English is fine :)
I agree to use the shortcuts to the D drive.
But if you create a shortcut on the D drive - you must set the appropriate permissions to all users. In the properties of the shortcut, you can find the Security tab. You will find the settings.Good bye
-
I used the migration assistant to transfer data from my laptop to windows xp for my macbook pro OS X Yosemite 10.10.5 version and she erased all the data on my mac iTunes i.e., photos, documents, games, etc. Is it possible to recover these data or take it back to a State of pre migration? If not can I erase it and reload the software from scratch?
Thank you
Dave has
You have a backup of Mac before moving the data from the PC?
-
The default value for a property with data of type boolean
Hi all
Is it a system preference setting, where the default value for a property with data of type boolean can be a Virgin? I want to keep the value by default in a vacuum, but every time I save the property even after empty selection, the default value changes to FALSE.
In this case Boolean doesn't help you, you mayneed to create a chain of ownership and have true/false / "" as your list of values
-
When purchasing a subscription, if I know that I used to use the product until a certain date in the future, am I able to set up a future subscription start date as a way to not lose all day in the duration of my subscription?
Not according to the terms and conditions
Adobe - General conditions of subscription
Service starts as soon as your first payment is processed.
Subscribe when you are ready to use it.
-
What is the use of this parameter
. VMX contains an entry called config.version which will specify a Version number of the vmware product that came with.
- Config.version = 7 - jobs of VMware version4/GSX Server 3.x
- Config.version = 8 - version of VMware Workstation 5 and 5.5
If you have a copy of the virtual hard disk only. VMDK and you don't know that generation of equipment it is, then you can search the file for the appropriate string. Identification of material is stored in the first. VMDK file of the defined virtual disk.
Widnows:
Find "virtualHWVersion".
Maybe you are looking for
-
After the installation of macOS Sierra my external screen shows only 16:9 (1920 x 1080 px with black bars on each side). He used to work before I updated. Now the correct resolution is not even appear in the display settings on my MacBook Pro (end of
-
How can I identify connector control or indicator?
Hello I can't see the wood for the trees. When I want to see what connector terminal is connected to a particular/indicator control, I have to click on each connector in the connection pane until the command/idicator is highlighted. Is there a fast
-
XP sp3 impossible to access the Options Menu with the keyboard
When you try to access the security mode of the Advanced Options Menu does not respond to the keyboard. Cannot use the arrow keys to select or even select normal startup. Completely locked. Must restart. Have installed the latest drivers for the mill
-
dkafox1 lost all THE WINDOWS updates that THEY ARE NOT INSTALLED UPDATES
Original title: dkafox1 lost all THE WINDOWS updates that THEY ARE NOT INSTALLED UPDATES, more problems with windows update. May HAVE a PROBLEM WITH REGISTRATION BUT DO KNOW NOT if this msi I HAVE HELPED. I have windows 7 x 64 Version 6.1.7600.16385.
-
Help a update my computer resembling windows 95 and document issues! :(
Hi I have not used my computer in about two weeks. I just turned on my computer and configured an update, rebooted and then proceeds to set up. He went to my screen which showed a background image of hello kitty that I placed there connection. But on