Calc script to copy the data members to his brothers and sisters
Hi experts,
I'm not planning Application, where the form I am Inputing "rates" on each month. Once again the rates that I enter must be copied to its years.
Outline looks like:
Account: Fx_rate
Scenario: current
Version: work
currency: Local
year: FY 13
Time: Jan: Dec
Company_code
+ E1000
E1001
E1002
E.....
E....
E1000_rate
+ E2000
E2001
E2002
E2000_Rate
Here in the form of data to go rates on E1000_rate-> Jan-Dec
E2000_rate-> Jan-Dec
That should be copied in its years. As I said above, we have hundreds sibiling of fo for each rate.
Could you please help me by writing the scenario of calc:
Thank you
Alex
Hello
In addition to Celvin post on the use of @SIBLINGS. When I had similar requirements, I realized the underside. Looks like a lot of code, but works well.
/ * First clearly rates against the entities before re them, filling with @REMOVE, remove the features of entry rate because you do not want to delete the. You will need to create a UDA called RATE_INPUT and assign it to all entities of entry rate * /.
DIFFICULTY (current, work, Local FY13, @RELATIVE (YearTotal, 0), @REMOVE (@RELATIVE (Company_code, 0), @UDA (Company_code, "RATE_INPUT")))
'Fx_rate' = #missing;
ENDFIX
/ * Second aggregate up to level 1 entity values FX_Rate account, so that each parent rates holds the NOTE rate: the rate will have + for the aggregation.
DIFFICULTY ("FX_Rate", current, work, Local, FY13, @RELATIVE(YearTotal,0))
@RELATIVE (Company_code,-1);
ENDFIX
/ * Difficulty third on Lev 0 company code and make the exchange of currency equal to their parents for the currency exchange value (which you gathered earlier) * /.
DIFFICULTY (current, working, Local, FY13, @RELATIVE(YearTotal,0), @RELATIVE(Company_code,0))
'FX_rate' = @PARENTVAL (Company_code, "FX_Rate");
ENDFIX
Try this
Thank you
Anthony
Tags: Business Intelligence
Similar Questions
-
PowerVault MD1000: Attached directly slow to copy the data from storage.
Hi all
I have a powervault MD1000 attached to a PE2900 using scsi. When I write for the PV everything is ok, but when I want to read it, for example copying the data from it, he grinds the server stops and usually falls!
can someone advice could be what the problem?
-
Not able to copy the data on USB in WIndows 7 even with administrative rights
I use Windows 7 64 bit and have administrator rights, I can copy data from USB but system is not allowing me to copy the data on USB. This has happened with me also, but since I change my laptop, this problem has been resolved.
It happened suddenly, earlier, I managed to copy the data to USB abd take backup of my system, but now it is not possible. Please notify.You may need to take possession of your records - see here:http://social.answers.Microsoft.com/forums/en-us/w7network/thread/24bdf172-2DBC-43b8-995d-a99b6a81413c/ -
Essbase calc script to determine the number of occurrence
Hello
is it possible within a calc script to determine the number of occurrence of a value in the account dimension?
I have an account called ranks which can contain any value between 1 and 10. I would like to know how many times each value is repeated for a specific cost center. It's in a database of planning BSO.
Thanks in advance for your contributions...
CL
This isn't the typical calculation you would do in an OLAP architecture, but yes it is certainly possible.
you will need to create 10 accounts such as occurrence_of_1, occurrence_of_2 etc.
Then you increment them according to the value of the 5th year.
Don't forget to put in your calculation!
-
script to change the data type of column
Hi gurus of the oracle.
I have 190 tables in my database.
I have the column type CHAR of all these tables data.
I need to change the data type of CHAR in VARCHAR2 for all these tables...
There the script to change the data type of all tables at once?
Please help me in this regard.
Thanks in advance
Concerning
REDA
Hello
There is nothing built-in to Oracle SQL to do. Maybe your front-end has certain characteristics.
You can write dynamic SQL statements to do. In other words, you can write a query that the output is a SQL script like this:
ALTER TABLE TABLE_A CHANGE (A_TXT1 VARCHAR2 (5))
A_TXT2 VARCHAR2 (10));
ALTER TABLE TABLE_B CHANGE (B_TXT1 VARCHAR2 (5));
with one row for each column of type CHAR. Notice how the first line of output for each table begins with ALTER TABLE... but the later lines at the same table. Similarly, the last line of a table (which will be the same as the first row, if the table has only one column of type CHAR) to end with a semicolon, but other lines are not.
Here's a way to generate and execute such a dynamic script in SQL * more:
-Disable the features that make the output easy to read, but hinder the execution
SET FEEDBACK OFF
SET LINESIZE 500
SET PAGESIZE 0-Create fix_char.sql
COIL c:\some_pathename\fix_char.sqlSELECT THE CHECK BOX
WHEN ROW_NUMBER () OVER (PARTITION BY table_name
ORDER BY column_name
) = 1
THEN 'ALTER TABLE ' | table-name
|| "CHANGE (").
ELSE «»
END
|| column_name
|| "VARCHAR2 (').
|| DATA_LENGTH
|| ')'
|| CASE
WHEN ROW_NUMBER () OVER (PARTITION BY table_name
ORDER BY column_name DESC
) = 1
THEN '); "
Output END AS
Of user_tab_columns
WHERE data_type = "CHAR".
ORDER BY table_name
column_name
;SPOOL OFF
-Turn on the features that make the output easy to read, but hinder the execution
SET FEEDBACK ON
SET LINESIZE 80
SET PAGESIZE 50-Fix_char.sql performance
@c:\some_pathname\fix_charIt's good to change all the CHARIOT of VARCHAR2 columns. The CHAR data type is nothing trouble.
-
Copy the data in the column of table 1->; table2
Hello I have a table like in this example:
Table1:
Notes ID 1 This is a short string 2 It is a text. 3 Test string Table2
ID cust_id comment 1 2 2 3 3 1 Now I want to copy the data from the 'notes' column in table2 in the "comment" column
table2 cust_id references ID in table1.
I have already tried:
Update table2
Set table2.comment = table1.notes
from table2
inner join table1 on
table2.cust_id = table1.ID;
But it does not work. I get an error.
What is the correct instruction for her?
Thanks for any advice.
UPDATE TABLE2
SET HOW = (SELECT NOTES FROM TABLE1
WHERE TABLE1.ID = TABLE2.ID)
WHERE EXISTS (SELECT 1 FROM TABLE1
WHERE TABLE1.ID = TABLE2.ID);
-
script to copy the color of the object below
Hello
I was wondering if there is a script to copy the fill color of an object below.
I need to transfer the fill colors of 300 different places for 300 circles, how can I do this quickly?
Thank you
Pisistratus
Update:
#target illustrator function test(){ function isSquare(item){ if(item.pathPoints.length > 4){ return false; } for(var i=0; i
0){ var doc = app.activeDocument; for(var i=0; i = v[0] && v1[2] <= v[2] && v1[1] <= v[1] && v1[3] >= v[3]){ thisInnerPath.fillColor = thisPath.fillColor; } } } } } } } test(); -
XTTS - problem by copying the data file in ASM
I test the migration of database from AIX to Linux using the cross-platform transportable tablespaces.
DB version: source: 10.2.0.4
Destination: 10.2.0.5
OS version: source: AIX6.1 - AIX - Based Systems (64-bit)
Destination: RedHat Linux - Linux x 86 64-bit
I have run the commands before copying the file data to destination below.
/DataImport is a shared file system mounted on Linux server and am able to see the file of data out there. But receive the error below to try to copy the data file on the linux server. Could someone let me know if I missed something / how to fix this error.EXECUTE DBMS_TTS.TRANSPORT_SET_CHECK('TBLSP1,TBLSP2', TRUE); SELECT * FROM TRANSPORT_SET_VIOLATIONS; no rows selected alter system archive log current; alter tablespace TBLSP1 read only; alter tablespace TBLSP2 read only; expdp DUMPFILE=xtts_exp.dmp DIRECTORY=DUMP_DIR logfile=xtts_exp.log TRANSPORT_TABLESPACES=TBLSP1,TBLSP2 CONVERT TABLESPACE TBLSP1,TBLSP2 TO PLATFORM 'Linux x86 64-bit' FORMAT '/dataimport/%U';
$rman target / RMAN> copy datafile '/dataimport/data_D-DBMGRT_I-3320277811_TS-TBLSP1_FNO-26_05m8miia' to '+DATA'; Starting backup at 05-APR-11 using channel ORA_DISK_1 RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-03002: failure of backup command at 04/05/2011 10:19:44 RMAN-20201: datafile not found in the recovery catalog RMAN-06010: error while looking up datafile: /dataimport/data_D-DBMGRT_I-3320277811_TS-TBLSP1_FNO-26_05m8miia
To be honest, I don't really see what you have done in the op, so I can't really comment on. I see you have an export of the TTS, but that's all.
If you have followed all the list I mentioned (you did write the TTS reading?), then you can try to save the file with RMAN, but I suspect that it does not work. Do you get the error even if you move the shared location (/ donneesimporter) to a local directory on the target area? Maybe he doesn't like the fact that it's a NFS mount (or whatever the proportion is).
Or maybe it's because you going to 10.2.0.4 10.2.0.5. I have always had the same group of patches and updated once I had plugged the tablespaces on the target database.
-
Copy the data from CollaborateSync to the other pc
Because Acrobat crashes sometimes, I would like to copy the data from CollaborateSync to a PC Backup. This means that I have shared a pdf with PC A one form I'd like to get answers on the PC B, too.
I tried to copy the Synchronizer-folder "documents and settings" - folder but I can't get answers.
What information should I copy can I geht PC B answers?
Klaus
Find the file "Workflows" in Acrobat under Documents and Settings folder. It is located inside the folder "Collab. If this file is missing, copy the folder "Synchronizer" will not do anything good.
In addition, copy "Forms" folder as well.
-
When I click on a link in a new tab is no longer open in Firefox. Now, I have to copy the link, manually open a tab and then paste the link. Simply, this started happening a few days ago and I haven't changed anything in my settings. Can anyone help? Thank you
This problem may be caused by an extension that is not working properly.
Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions of the origin of the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > appearance/themes).
- Makes no changes on the start safe mode window.
- https://support.Mozilla.com/kb/safe+mode
-
I would like to copy the time elapsed since WMP 11 and paste it into a Word document.
I would like to copy the time elapsed since WMP 11 and paste it into a Word document. I have this on several occasions, is there a way to shortcut this process through Autohotkey? Would appreciate any help at all!
Hello
1. What is the operating system installed on your computer?
Unfortunately, there is no shortcut key to copy the time elapsed since Windows Media Player.
You can use your favorite search engine to search for any third party software that accomplishes your request.
NOTE: third software of third parties, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.
-
Can someone copy the solitaiare program shipped with XP and send it to me?
Can someone copy the solitaiare program shipped with XP and send it to me?
The original fix told to look for "Windows setup" in Add/Remove programs - I have not this to be listed. I searched my computer whole looking for 'sol.exe' does not exist. It must have been removed for cleaning upwards, I have no other games. Who knows, it is an old computer, I give my people JUST TO PLAY SOLITAIRE. Any other ideas?
Can someone copy the solitaiare program shipped with XP and send it to me?
Hello
· Did you try clicking Add/Remove Windows components in Add or remove program?
Solitaire game is built into Windows XP, you can install it via Add/Remove Windows components in Add / Remove Program:
(a) Insert Windows XP CD
(b) open the Control Panel
(c) open Add or remove programs
(d) on the left side of the window Add or remove programs , you will see Add/Remove Windows components.
(e) click on Add/Remove Windows components , it will open Windows Components Wizard.
(f) double click on Accessories and utilities it will open window utility and accessories.
(g) games -double-click and select the box checkbox on Solitaire.
(h) click Ok and Next to reinstall the game of Solitaire.
If the check box is already selected for the games, you can try if you deselect and rechecked the games area, then check if it helps.
How do I add or remove games in Windows XP
-
I just copy a file by ctrl + c then I'll stick with ctrl + v, that after I copy the file (b) by ctrl + c and paste ctrl + v and still, if I need to paste everything first: to leave what short cut I have we
On Mon, 24 Sep 2012 15:49:08 + 0000, ajay8055 wrote:
I just copy a file by ctrl + c then I'll stick with ctrl + v, that after I copy the file (b) by ctrl + c and paste ctrl + v and still, if I need to paste everything first: to leave what short cut I have we
You can't do it without third-party software. Just go back and
Copy the file (a).
Ken Blake, Microsoft MVP -
Hi, please help me whit this query
Im trying to extrate the data in a file csv and im using the ULT_FILE package
I have this query that read the file and the first field, but if the field has a different length does not work as it shouldFor example if I had this .csv file:
1, book, laptop
2, pen, Eraser
3, notebook, paper
And in the table, I had to insert like this
ID descrption1 description2
laptop 1 book
Eraser pen 2
paper laptop 3
For now, I have this query, which displays only with DBMS:
Declare
-Variables
Cadena VARCHAR2 (32767).
Vfile UTL_FILE. TYPE_DE_FICHIER;
Dato varchar2 (200); -Date
dato1 varchar2 (200);
dato2 varchar2 (200);
Identifier varchar2 (5): = ', '; -Identifier (en)
v_ManejadorFichero UTL_FILE. TYPE_DE_FICHIER; -For exceptions
-Table variables
I_STATUS GL_INTERFACE. % OF STATUS TYPE.
I_LEDGER_ID GL_INTERFACE. TYPE % LEDGER_ID;
I_USER_JE_SOURCE_NAME GL_INTERFACE. TYPE % USER_JE_SOURCE_NAME;
I_ACCOUNTING_DATE GL_INTERFACE. TYPE % ACCOUNTING_DATE;
I_PERIOD_NAME GL_INTERFACE. TYPE % PERIOD_NAME;
I_CURRENCY_CODE GL_INTERFACE. CURRENCY_CODE % TYPE;
I_DATE_CREATED GL_INTERFACE. DATE_CREATED % TYPE;
I_CREATED_BY GL_INTERFACE. CREATED_BY % TYPE;
I_ACTUAL_FLAG GL_INTERFACE. TYPE % ACTUAL_FLAG;
I_CODE_COMBINATION_ID GL_INTERFACE. TYPE % CODE_COMBINATION_ID;
I_ENTERED_DR GL_INTERFACE. TYPE % ENTERED_DR;
I_ENTERED_CR GL_INTERFACE. TYPE % ENTERED_CR;
I_ACCOUNTED_DR GL_INTERFACE. TYPE % ACCOUNTED_DR;
I_ACCOUNTED_CR GL_INTERFACE. TYPE % ACCOUNTED_CR;
I_TRANSACTION_DATE GL_INTERFACE. TRANSACTION_DATE % TYPE;
I_REFERENCE1 GL_INTERFACE. REFERENCE1% TYPE;
I_REFERENCE2 GL_INTERFACE. REFERENCE2% TYPE;
I_REFERENCE3 GL_INTERFACE. REFERENCE3% TYPE;
I_REFERENCE4 GL_INTERFACE. REFERENCE4% TYPE;
I_REFERENCE5 GL_INTERFACE. REFERENCE5% TYPE;
I_REFERENCE10 GL_INTERFACE. REFERENCE10% TYPE;
I_GROUP_ID GL_INTERFACE. GROUP_ID % TYPE;
BEGIN
Vfile: = UTL_FILE. FOPEN ('CAPEX_ENVIO', 'comas.csv', 'R');
loop
UTL_FILE. GET_LINE(Vfile,Cadena,32767);
dato1: = substr (cadena, instr(cadena, identificador,1,1)-1, instr(cadena, identificador,1,1)-1);
dato2: = substr (cadena, instr (cadena, identifier, 1, 1) + 1, instr(cadena, identificador,3,1)-3);
dbms_output.put_line (dato1);
dbms_output.put_line (dato2);
-The evidence
-dbms_output.put_line (cadena);
-dbms_output.put_line (substr (dato, 3, instr(dato, identificador,1,1)-1));
-dbms_output.put_line (substr (dato, instr (dato, identifier, 1, 2) + 1, instr(dato, identificador,1,1)-1));
-dbms_output.put_line (substr (cadena, 1, length (cadena)-1));
end loop;
UTL_FILE. FCLOSE (Vfile);
-----------------------------------------------------------------------------------EXCEPTIONS------------------------------------------------------------------------------------------------------------------------------------------------------------
EXCEPTION
When no_data_found then
dbms_output.put_line ('Todo Correcto');
When utl_file.invalid_path then
UTL_FILE. FCLOSE (V_ManejadorFichero);
RAISE_APPLICATION_ERROR (-20060,'RUTA DEL ARCHIVO NULLIFIED: (');)
WHEN UTL_FILE. INVALID_OPERATION THEN
UTL_FILE. FCLOSE (V_ManejadorFichero);
RAISE_APPLICATION_ERROR ('-20061,'EL ARCHIVO NO PUDO SER ABIERTO ");
WHEN UTL_FILE. INVALID_FILEHANDLE THEN
UTL_FILE. FCLOSE (V_ManejadorFichero);
RAISE_APPLICATION_ERROR (-20062, 'INVALIDO MANAGER');
WHEN UTL_FILE. WRITE_ERROR THEN
UTL_FILE. FCLOSE (V_ManejadorFichero);
RAISE_APPLICATION_ERROR (-20063, 'ESCRITURA ERROR');
WHEN UTL_FILE. INVALID_MODE THEN
UTL_FILE. FCLOSE (V_ManejadorFichero);
RAISE_APPLICATION_ERROR (-20064, 'MODO INVALIDO');
WHEN UTL_FILE. INTERNAL_ERROR THEN
UTL_FILE. FCLOSE (V_ManejadorFichero);
RAISE_APPLICATION_ERROR (-20065, 'ERROR INTERNO');
WHEN UTL_FILE. READ_ERROR THEN
UTL_FILE. FCLOSE (V_ManejadorFichero);
RAISE_APPLICATION_ERROR (-20066, 'LECTURA ERORR');
WHEN UTL_FILE. FILE_OPEN THEN
UTL_FILE. FCLOSE (V_ManejadorFichero);
RAISE_APPLICATION_ERROR ('-20067,'EL ARCHIVO ARE ESTA ABIERTO ");
WHEN UTL_FILE. THEN ACCESS_DENIED
UTL_FILE. FCLOSE (V_ManejadorFichero);
RAISE_APPLICATION_ERROR (-20068, 'REFUSED ACCESS');
WHEN UTL_FILE. DELETE_FAILED THEN
UTL_FILE. FCLOSE (V_ManejadorFichero);
RAISE_APPLICATION_ERROR (-20069, 'OPERACIÓN BORRADO FALLO');
WHEN UTL_FILE. RENAME_FAILED THEN
UTL_FILE. FCLOSE (V_ManejadorFichero);
RAISE_APPLICATION_ERROR (-20070, 'OPERATION SOBREESCRITURA FALLO');
END;
Hello
Try something like this:
POS1: = INSTR (cadena, idntificador, 1, 1);
POS2: = INSTR (cadena, idntificador, 1, 2);ID: = SUBSTR (cadena, 1, pos1 - 1);
description1: = SUBSTR (cadena, pos1 + 1, (pos2 - pos1)-1);
Description2: = SUBSTR (cadena, pos2 + 1);where pos1 and pos2 are numbers.
Rather than use UTL_FILE, consider creating an external table. You won't have to write any PL/SQL, and this means that you won't be tempted to write a bad article of EXCEPTION.
-
script which gives the hostname with more CPU resources and memory available
Hello
Anyone have a script which gives the hostname with more CPU resources and memory available in the cluster?
Concerning
Vickie
Hello, VicMware-
You can get the host with the free CPU, or with the most free memory resources, using the following:
## get the host with the most free CPU cyclesGet-Cluster myCluster0 | Get-VMHost | Select-Object Name, @{n="CpuMhzFree"; e={$_.CpuTotalMhz - $_.CpuUsageMhz}} | Sort-Object -Property CpuMhzFree -Descending | Select -First 1 ## get the host with the most free memoryGet-Cluster myCluster0 | Get-VMHost | Select-Object Name, @{n="MemGBFree"; e={$_.MemoryTotalGB - $_.MemoryUsageGB}} | Sort-Object -Property MemGBFree -Descending | Select -First 1
The first would have produced something like:
Name CpuMhzFree ---- ---------- myVMHost0 25384
And the latter didn't would be out:
Name MemGBFree ---- --------- myVMHost4 122.323
.. .or each of these host computers are those with the most free memory/CPU cluster, respectively. What to do the things for which you are looking?
Maybe you are looking for
-
2400-103: question about replacing the HARD drive
I'm trying to figure out how to replace my laptop HD. It is of a Satellite 2400-103. The HD is broken. I got it removed, but I'm not sure what to replace it with. Maybe a Toshiba MK - 3021 GAS, what can I get away with? Can I get a more general e.g.
-
Converts a string (float single precision) in decimal
Hello I use reading series base and write vi to communicate with a device. The answer I receive (shown in hexadecimal format) is 4606 8D3B, which from what I understand (this discussion: http://forums.ni.com/t5/LabVIEW/string-to-number-conversion-a-
-
need administrator password.
bought used HP Pavillion dv4165dx cannot make any change of setting. keeps asking for a password andministrators. I got it for about 6 months and this just started happening yesterday. Everylthing I try to do as a 'System Restore' or change a settin
-
Creating CD Inserts using jpg photos.
I tried to close this request, but found it difficult. If I am wrong, please forgive me. I am trying to create a few relatively simple inserts for a CD Jewel box. I'm not too bothered about the circular for the moment, all I'm really bothered on the
-
TSSTcorp dvd +-rw ts-h653g
I would like to know what are the types of disks, this drive can burn and if possible I would like a link to this information. Thank you.