using script simple calc

Need a script calc for the scenario below.

4 dimensions with level 0 members

Time
...... Jan08
...... Fev08
.. .mar08
...... NoTime
Market
.. .North
.. .South
..... NoMarket
product
.. .P1
.. .P2
..... Noproduct
measures
.. .Number1
.. .number2




to copy the data of--> with the calcscript
Jan08-North-p1-number 1-> notime-nomarket-p1-number 1
Jan08-North-p2-1-> notime-nomarket-p2-number 1
:
:
:
1,000 records...
:
:
:

Jan08-North-p1000-number 1-> notime-nomarket-p1000-number 1

There is a better way to express your need, I hope you're just trying to copy data from North-Jan08 to notime-> nomarket for each product/measure.

In this case, you are looking for a simple copy of data unique in a calc script:

DataCopy 'Jan08'-> 'from the North' to 'Notime"->"Nomarket ";

Somehow, while it completely does exactly what you say you want, I still suspect that you do not express the need accurately.

Tags: Business Intelligence

Similar Questions

  • Disable a node using scripts

    Leave well as I a VI.  Using scripts I can find all the objects of a particular type on the block diagram.  Is there an easy way to tell is now drawing a design schema for the disabled around all nodes, I found?

    Like lets say I want to find all nodes property on a block and disable them.  The only solution I found was to find all nodes in property, by using the crossbar for GObjects, then I can make a new Structure to be disabled with the new object VI, put in the same place and the limits that the property node, with the same owner.  But then, I still need to move the property node in the case of persons disabled structure.  But then, I have all kinds of broken wires that were once on the property node that I now moved ousur.  I need to understand how it was designed before the move, it wire to the tunnel Structure with disabilities then wire the tunnel on the pod on the property node.  I need to do for each wired terminal and each property node.  And then I need wiring through the case turned on the structure.

    What I was hoping to find a way to pull the disabled schema structure using scripts, but perform the same operation as if I drew the structure is, and this are also all nodes I captured with my draw, in the case of people with disabilities.  Is there a way to do this with scripts?  Can anyone think of a simpler way to disable nodes using the design schema disabled?  Thank you.

    Try to use the method of Sélection Enclose . There is here an example of shipping for it:

    examples\Application Control\VI Scripting\Moving Objects\Enclose selection and Move.vi

    .. .aaaand I just now discover after the opening of this example that someone recommended this method recently for a new method of selection to reach 2 . I'll take the updated example.

    Anyway, the strange thing about this method is that it must give the method a reference to an actual structure to define what kind of structure you want to encapsulate the code with. This requires usually drop a dummy structure, by calling Enclose Selection 2, then removing the dummy structure after that wraps the code.

  • How to "save under" a document by using scripts

    I want to use scripts to automate the creation of badges of identity. I have a model PSD of the badge that includes a slot for the photo and a text field for the name. The approach that I took in my script is simple:
    1. Invites the user to select the source for the pictures folder.

    2. for each folder in the folder, follow these steps:
    -resize the photo

    -Copy the background of the photo layer

    -close the document and the focus back on the PSD template

    -Place the copied picture as a new layer

    -It translates into a certain position if it fits in the slot of the picture of the model

    -change the text in the text layer for the name of the photo, we have placed (which is the real name of the person)

    3. save the photo in jpg with some given save options in a certain folder of output.

    Step 1 and 2 only when needed. However, when I save the badge, I get a really strange error saying:2QrAQ3T.png

    Here is all of the code (JS):

    var sourceFolder = Folder.selectDialog ("Selecteaza folderul cu pozele: ");  //prompt the user to select the source folder
    var files = new Array();
    files = sourceFolder.getFiles ();  //put the files from the folder inside an array
        var startRulerUnits = app.preferences.rulerUnits;  //save the initial units used
        var startTypeUnits = app.preferences.typeUnits;
      
        app.preferences.rulerUnits = Units.PIXELS;  //change the units to pixels so the translate command will work as expected
        app.preferences.typeUnits = TypeUnits.PIXELS;
    var mainDoc = app.documents.getByName ("Ecuson.psd"); //this is the name badge template
    var so = new JPEGSaveOptions(); //the save options i'll use with the save command
    so.embedColorProfile = true;
    so.formatOptions = FormatOptions.STANDARDBASELINE;
    so.matte = MatteType.WHITE;
    so.quality = 10;
    for(var i = 0; i<files.length; ++i){ //loop thru each photo in the folder
        var img = app.open(files[i]); //open the image
        var saveFile = new File("C:/Users/Eugen/Desktop/salvate/" + String.valueOf(i+1)); //this is the file where I'll save the jpg file
        var nume = img.name.replace(".jpg", ''); //this is the name of the image I just opened. I remove the jpg extension so only the name is left
        app.preferences.rulerUnits = startRulerUnits; //I change the units back t their original value as for this phase I need to use CM
        app.preferences.typeUnits = startTypeUnits;
        img.resizeImage (3, 4, 300); //resize the image to 3x4 cm at 300 dpi
        app.preferences.rulerUnits = Units.PIXELS; //change the units to pixels again
        app.preferences.typeUnits = TypeUnits.PIXELS;
        img.backgroundLayer.copy(); //copy the background (and only) layer of the image
        img.close(SaveOptions.DONOTSAVECHANGES); //close the document without saving changes
        app.activeDocument = mainDoc; //focus back on the badge template
        var pLayer = mainDoc.paste(); //paste the layer I just copied into the template
        pLayer.translate (-314, 33); //place the new layer where I need it to be
        mainDoc.layers.getByName("Name").textItem.contents = nume; //change the name on the badge to the name of the original file
        mainDoc.saveAs (saveFile, so, true, Extension.LOWERCASE); //this is ehere I have issues...
        }
        app.preferences.rulerUnits = startRulerUnits; //change back to centimeters
        app.preferences.typeUnits = startTypeUnits;
    

    I guess that it may be a problem with the agument saveFile, I can save the jpg manually from photoshop.

    PS: using CS6

    Thank you!

    I think you're line 17 it is. I'm not sure what you're doing with: String.valueOf (i + 1). You're simply trying to name as these files through a number? If this is the case, simply put: i + 1. You also use the incorrect syntax for your way. You do not have the jpg extension. The line should read:

    var saveFile = new File("/c/Users/Eugen/Desktop/salvate/" + (i+1) + ".jpg");
    
  • How to track what made your Script/Business Calc rule?

    Hello

    I wanted to know the methods or the best way to keep track of what made your business rule calculation Script after run you it.

    Or suppose he fails for some reason any and that the reason is not a syntax error (which she usually come in EAS during the validation) how can you know what goes wrong?

    Please let me know!
    ~ Hervé

    The CDF are available at-https://www.samplecode.oracle.com/tracker/tracking/linkid/prpl1004/action/ExecuteQuery?query=essbase1
    There's also the CDF Echo in the collection of String-

    @JechoBoth - echoes back all the arguments passed to the function. To pass an array of the arguments using @List (list by commas).
    @JechoString - echoes back all the arguments passed to the function. To pass an array of the arguments using @List (list by commas).
    @JechoDouble - echoes back all the arguments passed to the function. To pass an array of the arguments using @List (list by commas).

    Saying they generally need to be a calco block, so if you expect to find where a calc is to aggregate it won't tell you much.
    It should also beware if you are a large number of calculation blocks so that you can eventually see more info you need.

    If you look in the essbase application log, you can actually get an idea of which part of the script the calc is execution and time without the need for CDFs.
    Also if a script fails, then the application log is the place to go and check.

    You can also consult the standard controls in essbase calc

    NOTICE - the VALUE http://download.oracle.com/docs/cd/E17236_01/epm.1112/esb_tech_ref/frameset.htm?set_notice.html
    "Watching the progress of your calculation by providing a notice of completion at intervals during the calculation. The number of reviews depends on the level you specify. »

    SET MSG - http://download.oracle.com/docs/cd/E17236_01/epm.1112/esb_tech_ref/frameset.htm?set_msg.html
    "Sets the level of the e-mail you want returned on calculations and simulate calculations.

    or if on 11.1.2.x then the function @RETURN - http://download.oracle.com/docs/cd/E17236_01/epm.1112/esb_tech_ref/frameset.htm?return.html
    "Leave the calculation immediately in specified logical conditions. You can use the FI... ELSEIF calculation block of commands to specify logical error conditions, and use the @RETURN function to exit the calculation with the custom error messages and levels. »

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Use scripts to create digital orders without button increase/decrease

    I'll have fun using scripts to do things that were once "impossible", like the creation of a cluster programmatically in a list of variable names and their types associated with (use in a later program).

    When I create a digital control on a front, she has the visible increment/decrement key, by default.  I wanted to create controls without this feature, but I could not understand how (or even if it is possible, but I don't see why not).

    Any ideas?

    BS

    Just above the digital named menu item is the one you are looking for: digital

    Use the digital constant digital control for Style and class.

  • Use scripts to change the name of the tab

    Hi all

    I'm trying to use scripts to add tabs to a tab control in an existing VI.  I am able to add new tabs easily enough, but I can't understand how to change the name of each tab when they are added.  Each name is extracted a TDMS file using a loop for.

    I looked through the existing discussion forums, and there are a few old messages that indicate I should look for the 'independent Label property', and that I should put it to allow me to change the caption of the tab.  There is always an explanation of this property in the help files, but I am unable to find my path to it in the current schema.

    Assuming that this property still exists in my version (2012), could someone tell me the correct sequence of references and property nodes to access this property?  Right now I use the class "TabControl".  If this property is obsolete, can someone let me know if there is a new method to achieve this?  Thank you.

    GSinMN

    After you have added the page, download the Pages property of the index of the newly added page, tab control, use the PageLabel of this page for the label.  It would be cool if the Add Page method returns the reference to the new page.

  • Add the occurrence to a structure of the event by using scripts

    Hello

    IAM trying to (using scripts) updating a structure of the event (the case of the event add) on a vi is not on memory.

    I get error 1054 the specified object was not found.

    Here's a picture of him.

    any help in this will greatly be apreaciated.

    The error comes from the open air, because looking for structure in the wrong place. While it is perfectly logical that the owner would be the loop in practice yet script is not that friendly - you need to get the reference of the schema of the loop and use it as an owner.

  • whenever I'm on facebook, play games, I get a message that if I continue to use scripts, can lock up my computer

    whenever I'm on facebook, play games, I get a message that if I continue to use scripts, can lock up my computer.

    I don't understand what that means.

    What can I do to fix this?

    I have windows xp

    I guess that your topic is not correct, since it is the problem with the site NOT updated.

    The problem of script depend on the site Web that when you play a game, there are several scripts written in the game that cause your browser becomes slow. Try to delete your browser history and also update your Windows.

    It is advisable to report this problem to the game devloper, since this question primarily related to the design of the game, they could solve it.

  • Surface RT - password simple features are disabled after mail to office 365 activesync / Exchange with a strong policy cannot use the simple password on device after removing

    I have synced to office365 using mail app and clicking next without letting go I would turn off the simple password feature to connect to surface RT.

    Now I get guest password windows live to connect to my device of surface. (before I used a simple PIN password function)

    I deleted the account office365 from the device and rebooted.

    However, under accounts - sign in options. time characteristics of simple password:

    • Password PIN
    • Picture password

    are both greyed out

    And I can't re enable them, even if the ActiveSync account is no longer connected.

    I also modified the device policy mobile office365 to allow simple passwords. and I tried to connect and you reconnect to the e-mail account in the hope that less stringent policy would somehow find its way to the peripheral surface of RT.

    However, the peripheral surface RT does not restore the original settings.

    How can I reset the surface RT have a simple PIN password again?

    Hello

    -What version of Office 365 is installed on the computer?

    I suggest you to reset the security policies and check if that helps.

    1. press on the Windows key + X.

    2. click on the control of security for the family and Panel\User accounts-user accounts

    3. on the left side, you will see "reset security policies" link.

    4. click on reset security policies , and then click OK in the confirmation box.

    You should now be able to install Picture passwords or password PIN again.

    Please, an update of the results. We will be happy to help you further.

  • Dump to IMPORT ORACLE 9i to ORACLE 11 G database by using script

    Hi all

    I'm trying to import a dump of an Oracle 9i database from exp in the Oracle 11 g database using script.


    (1) the export using 9i client script:

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    #! / bin/sh

    testsync_home= / home/oraexp / / DMPtestsync

    log_home =/ home/oraexp/testsync/log

    file userid=test/test@testsource exp = $testsync_home/usr 'date' + %m %d %Y ".dmp tables =userdata2015 ACCORDING = y compress = buffer n = 655350 log = $log_home/exp_test_usr.log

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


    2) the import using 9i client script. Import the dump into Oracle database 11g. The imp can't exit normally, although the data has already been imported into the testdb.

    If the next part of the script can't be executed.

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    #! / bin/sh

    "sync_date ='date + %m %d %Y"

    testsync_home = / home/oraexp/testsync/dmp

    log_home = / home/oraexp/testsync/log

    sqlplus test/test@testdb < < EOF

    truncate table userdata2015;

    commit;

    quit smoking

    EXPRESSIONS OF FOLKLORE

    file userid=test/test@testdb IMP = $testsync_home/usr 'date' + %m %d %Y ".dmp fromuser = touser = test test tables = userdata2015

    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    Can you please give me some advice on this situation?


    Thank you very much in advance.

    DO NOT USE THE DATAPUMP.

    You do not use expdp and impdp.

    You will use the 9i client exp and imp 11g client.

  • I want to create new sequence from a clip using script.

    I want to create new sequence from a clip using script.

    You can pop the dialog box new sequence (which requires interaction from the user to confirm the name of sequence), or create a new sequence from a .sqpreset file (and specify the name); There is no API around the feature 'make a sequence corresponding to this project item', available in the project Panel.

  • Multiple instances do not have parallel job using scripts on Windows Server

    Hi all

    I download after effects template on my site, the user came and download the desired content.

    I'm updating the model using scripts with the content of the user and then video rendering and therefore user get video with his text/images uploaded etc.

    its working perfectly when I update a unique model, but when multiple users come at the same time, then they need multiple instances of sequels

    so I opened multiple instances of after-effects by using "m" with after having shortened the effects

    fdsfsf.PNG

    After looking at the windows Task Manager, there are two instances, but the problem is

    one continuous instance and the other stop, at the end of the trial the second still paused state

    dfdffdf.PNG

    I need 2.3 4 or any case to work in parallel without pause/stop

    I am using windows server 2008 R2 with installed XAMP

    It's a Setup completely unsupported in first place and you will be difficult to find someone who can help you. Probably, you will need to create separate shortcuts / files in batches and run them in separate instance contexts. AE itself always detects running instances and reuse.

    Mylenium

  • Collect the Thread Dump using Script and live in the separate log file

    Legends of dear,

    I ask you to provide me with a few lines of useful guide to collect the Thread Dump using script on linux and redirect the output to a separate log file, but not the STDOUT file. If it is redirect to STDOUT then how to extract only the thread stack to a separate log file.

    I used
    ps - ef | grep java
    kill - 3 < pid > > > ss1_td.log

    but it does not provide the thread stack to the log file.

    Any aid operation would be appreciated a lot.

    Kind regards
    Knockaert

    Karthik,

    Please see this link below

    http://www.industryvertical.co.in/2013/01/script-thread-dump-of-multiple-servers.html

    site of my friend where we placed a hands-on experience.

    Mark this if useful for you

    Kind regards

    Bouchra Arun.

  • How to get some of the styles applied using script?

    Hi all

    I need to know how to get some styles applied using scripts ID. I don't have a lot of experience in InDesign so need help.

    Here is a screenshot with sample text with styles of such applied and highlighted.

    screenshot.png

    I need to know what the texts in my document have these styles applied as all caps, Baker pointed out, Subscript and Superscript, etc..

    Help, please.

    Thank you!

    Get in shape and make the selection, then run the script

    Examine the file for the properties you want.

    Pretty easy

  • Solo Composition layer using scripts

    Hi all

    I'm looking for a way to scroll the layers by using scripts.

    The ultimate goal is to create a customizable slideshow very quickly.
    In this project, I have several boxes, in which I show a Composition. Each publication contains only a stack of layers (easily editable with drag and drop) with a different photo on each layer.
    Using a Slider control, I want to scroll through the photos of a composition. For example: when I select a value of 4 with the cursor, the fourth layer is made visible. In this way, I could keyframe the cursor to select a photo.

    Any thoughts on how to accomplice this? I can't find a good site on the scripts of events of the time. Most of them contain only motion scripting.

    Thanks in advance!

    I think you'd want an expression here, not a script. I would use an expression to opacity (on each of the photo layers) with an expression as follows:

    s = / / link this variable to your cursor.

    (Math.round (s) is index)? 100: 0;

    Dan

Maybe you are looking for

  • Drive DVD/CD of Satellite a series does not work properly

    My computer sometimes starts fast and when it does recognize the DVD/CD player and functioning.However when she takes it the start time, it does not recognize that I have a DVD/CD player, when I look in Device Manager to see ifThere is no probs it si

  • IMAQdx timeout

    I installed IMAQdx as an add-on for Labview. I managed to make it work, but I get a timeout error (error 1074360293).  The sign of IMAQdx is placed in a while loop.  Pictures start produced after approximately 15 cycles and only last for 3 cycles bef

  • EOS - 1DX scheduled maintenance?

    Is there a program of regular maintenance recommended for this device, or is it just "as needed"?     Thank you.

  • MS Essentials does not start and demo IS2010 Antivirus never stops with pop ups.

    I think that the antivirus IS2010 demo is itself a virus and continues to try to make you buy new one every minute.  I can't remove it because I thought it is used by another program, and I think he has infected MS Essentials. How stupid to sell anti

  • WRT54G ver.2 Firmware Version: v4.21.1 - cannot connect wireless

    Hello These days I could not connect to my wireless network.  I have 1 office, cable that connects no problem.  2 laptops (win xp) that can both see the network at full power, but I am unable to connect.  I just get the dialog box "until the network.