You can use variable substitution in the Calc script.

Hi guys,.

I want to use variable substitution in the calculation script. I v_SECSUBAREA that my substitution variable and its value would be like C12.00 or C13.00 or C12.00, C13.00.

But it gives me error mentioned below by checking the syntax of the calculation script.

Error: parsing formula [statement of DIFFICULTY] (line 15) 1200315 error: invalid object type

Calculation script:

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

FIX (& v_CLEARYEAR, & v_CLEARMON)

FIX (& v_SECSUBAREA)

DIFFICULTY ('REPGBP', 'REPEUR', 'REPUSD', 'local', @DESCENDANTS ("DIVISION"), @LIST(&v_SECDNBENTITY), @DESCENDANTS ("SubAnalysis"),

@DESCENDANTS ("RTNROW"), @DESCENDANTS ("RTNCOL"))

CLEARDATA "RESUB."

ENDFIX;

ENDFIX;

ENDFIX;

Variable substitution:

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

PRCCOR_ALLv_SECSUBAREAC12.00

Calculation script does not have C12.00 as the value for the variable substitution. If I give FY15 then Script gives me a correct syntax.

Please help me to get this resolved.

Thank you

Shruti

Hello

Assuming that you calculate in the PRC. Database COR_ALL.

You may set the C12.00 value in quotes like "C12.00".

Kind regards

Philip Hulsebosch.

Tags: Business Intelligence

Similar Questions

  • Use of substitution in the calc script variables

    Hi all

    I create a calc script to recalculate my cube BSO for a given date, when I load the data in one night (for the previous day). I have a process that defines a variable substitution SELECT_DATE that load data rule uses to select the data in the source transactional system.

    However when I try to use that in my calc script it seems to like it - by script seems reasonably simple can anyonce advise on where I'm wrong or another method?

    Script:

    ESS_LOCALE English_UnitedStates.Latin1@Binary
    UPDATECALC OFF SET;
    SET CALCPARALLEL 4;

    FIX (@ALLANCESTORS (& SELECT_DATE))
    DIM CALC ({comma seperated list of all dimensions in the cube});
    ENDFIX

    @ALLANCESTORS (& SELECT_DATE);

    SET UPDATECALC

    I get the error:

    Error: 1200354 error analysis formula [statement of DIFFICULTY] (line 5): type [MEMBER] [number] ([]) in function [@ALLANCESTORS]

    & SELECT_DATE contains 21/03/2011

    If I replace it & with "21/03/2011' SELECT_DATE it checks OK.

    Please let know us, using a CALC SET begins to take too long to run quietly all night.

    Thank you

    Is it possible, that you can set the variable with quotes, for example "21/03/2011.

    See you soon

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

  • You can use a Clip in the UILoader?

    You can use a Clip in the UILoader?

    Thanks, rower

    You can load a swf file using the uiloader.  what you trying to do?

  • You can use functions defined by the user in orardf: statement?

    Hello, reading Chapter 5: refined for RDF data access control
    I found this example:

    OPTIONAL
    {
    ? control pred: hasContractValue? Val.
    ? control pred: hasManager * ' sys_context ("his $ appctx ', 'app_user_uri') ' ^^ orardf: instruction *.
    }

    See the orardf type: statement, I got the question if you can use functions defined by the user in the place where he has used the sys_context?

    Thank you.

    PD: The translation was made from Spanish to English by using Google Translator

    Hello Alberto,.

    Only the sys_context function is supported. The user-defined functions are not supported.

    Thank you
    Matt

  • 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 Rules

    I know that CL knows a lot of HBR, if he is here today...

  • You can use NI 9237 for the LVDT readings

    Dear comrades,

    I wonder if I can use NI 9237 and NI 9945 to get the reading of an LVDT. The interest is to measure the movement using Solartron DC Miniature LVDT.

    In our laboratory, we have NI 9237 and NI 9945 and I would get your advisor if it would be good enough to measure the movement of an LVDT.

    Thanks in advance.

    Hi Gtharm,

    For the Solartron DC Minitature LVDT transducer already includes oscillator, demodulator and filter which alow the sensor to accept the input voltage and provide a DC output from the position. Therefore, instead of using the bridge according to the measure such as the NI 9237 or NI9945 modules, you must only input I take the input voltage.

    The LVDT voltage range would determine which modules HAVE you need to take the measure. Of the specification, you need to at most 100 Hz to get the signal from the probe safely.

    I hope that this help mate.

  • You can use local drive as the mapped drives raw groups

    We have a new host with vShere4U1 installed on a couple of mirrored disks.  The host will initially run a SQL server and the operating system will be SAN (fibre) as all of our other machines are virtual host.  We do not have enough space on the SAN or the budget to upgrade to allow us to run the newspapers/Db SQL, then the host was purchased with an extra 14 discs (much less expensive) who were divided into two disk RAID groups 1 + 0 (410Gb & Go 540)

    I can attach disks locak to the host, but it is shaped as a vmfs and the dbo wants to use these discs as raw as he wants to use the size of the set and is limited to 256GB VMDK in the vmfs.

    Is there a way to present records in vSphere while they give me the opportunity to fix to the virtual machine as raw disks similar to the san, or in any other way.

    I'm a pretty confident user of ESX without being an expert (admin typical average closed sys - too many hats) and basic linux would be appreciate some comments/help.

    Home - HP DL160 G6

    See you soon

    If you remove the data store and then choose a block size, you can have a data store up to 2 TB in a single LUN. If you need you can extend the data to 62 to using extensions store.

    You really want to use raw disks. I don't know if it is possible anyway.

  • You can use a flex in the context of an entire web page application?

    Hi all

    Have a quick question. I happens during a flash development background, and I have small flash files that are commonly used as 'part' of a whole web page.  For example, a section of small videos with a flash drive combo box to select the video to play; This swf file would be sized at 600px wide comments by 400px high. Then I just put it in a div tag and add it to my web page.  I'm doing it with flex, but I'm running into issues. It seems that the actual published swf wants to run 100% of the size of the browser window. I tried to adjust these dimensions; first try in flex to the < application > Accessories for height and width, but that has not been around. then tried to just use the file .swf published in the web page and set its properties for < object > to my height and width, which works 'almost' but always falls apart when video player full screen touch.

    So, is it possible to use a flex "app" as part of a web page, or was flex intended to operate on its own and 'no' in the context of a web page? Thanks in advance!

    You can certainly. I usually drop the Flash/Flex application in a div "mainContent" in my larger page structure, so my page should look like this:

    BLA

    BLA


    ID = "MyFlashApp" width = "100%" height = "768".
    codebase ="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab" > ".
               
               
               
               
               
    play = "true".
    Loop = "false".
    quality = "high".
    allowScriptAccess = "sameDomain".
    Type = "application/x-shockwave-flash".
    pluginspage ="http://www.adobe.com/go/getflashplayer_fr" >. "
               
       

    Note that I am only using the HTML approach, but the Javascript should work just as well. With the flash set to width = 100% and height = 100%, it will fill the enclosing div, but that's all. So, if you wanted to extend vertically but not horizontally, just set your CSS style to height: 100% and leave width px or em value. Note that the bounding div (that is if you had a wrapper around the NAVs and mainContent div) will also expand/collapse.

    I don't know the impact of the course full screen, if.

  • You can use video fv to the DVD Format through Windows DVD Maker

    A fv format video is downloadable to dvd through dvd windows creation?

    Hello
    I don't know if you wanted to designate the type of file .flv or fv. In any case.
    Windows DVD maker generally supports these file types:
    Video files: .asf, .avi, .dvr-ms, .m1v, .mp2, .mp2v, .mpe, .mpeg, .mpg, .mpv2, .wm, and .wmv
    Audio files: .aif, .aifc, .aiff .asf, .au, .mp2, .mp3, .mpa, .snd, .wav, and .wma
    File Picture: .bmp, DIBs, .emf, .gif, .jfif, .jpe, .jpeg, .jpg, .png, .tif, .tiff and .wmf
    [Please make sure you have the right codecs (audio and video)]
    If you are unable to load your video file in Windows Dvd maker, you can download a free video converter that is very simple from the following link:
    With this simple software you can convert your video to AVI video file type that is easily supported by Windows Dvd maker
  • You can use a control with the premier surface / audition?

    Is there an area of control or Tablet out there that works seamless with the Prime Minister and hearing? I clean up audio on the daily and must work super fast. My wrists are starting to kill me and I need to put in place. I would use my mouse and keyboard as little as possible!

    Everything I do in hearing can be quick access keys. I do not work with multitrack. A lot of cleaning of the dialog box.
    Everything I do to the Prime Minister, again, is simple and can be quick access keys

    Would love some dials to zoom / scroll / audio gain... all this is constant.

    All the control surfaces that can be used with hearing are intended for mixing. Thus they consist mainly of a Bank of faders, buttons and touches of channel selection as well as the transport controls. They are not really a program of prophylaxis of the governed. However, one that might be of interest is Contour Designs' http://ergo.contour-design.com/ergonomic-mouse/shuttlepro-v2. There is a certain button models already available for hearing and well first they are all customizable user with the provided editing software.

  • Is there a limit on the number of times you can use a disk operating system Windows 8 pro?

    So I got an operating system disk with my laptop, I used a disc of Windows 7 on it. My brother has used the disc 8.1 on its newly build pc, it worked. When I tried on my new pc it says that some files are missing or damaged. I wonder now if you can only use it once.

    Hello

    You can use several times on THE same machine. You can install on many machines, but you can turn on a SINGLE machine. In your case, the system thinks you want to update and it will not work. You must purchase the upgrade dics (DVD).

    Kind regards.

  • How much memory you can use with windows 7 64-bit ulta

    I would like to know how much memory you can use with ulta windows 7 64 bit.  I know you can use 32 GB with the Pro version. I have two computers can I up grade with a desire for additional memory up grade 512 GB and the other we're going to the top grade to 32 GB...

    Windows 7 Ultimate x 64 can support 192 GB.

  • You can use a variable instead of movieclip linkage to addchild?

    var high: MovieClip = MovieClip (root);

    Top.menu3.addChild (Member [i - 1] .scenarioplayed);

    I want to add components to a movieclip based on the value of i.

    The clips are named menu3, menu4, etc..

    Is there a way to do just what part of "top.menu3" a variable?

    I tried this but had a compilation error:

    Symbol "scene3', layer 'Actions', image1, line 1611061: call to a method perhaps addChild undefined, through a reference with static type String.

    var menuName:String;

    menuName = "top.menu5";

    menuName.addChild(member[i-1].scenarioplayed);

    For the code you just showed, NomMenu is a string.  String do not have a method addChild.

    We know not what you work with to get what you want, but if you want to use string to the objects of the target values, you can use the notation of support...

    var menuObject:MovieClip = top ['menu5'];

    menuObject.addChild(member[i-1].scenarioplayed);

  • You can use a variable as a variable name as you can do it in Perl?

    So say there are 10 clips on the stage, each named mc1 mc2 mc3 etc. I have a function that sends the name of a movieclip in a public class, and I need to be able to change the image of this movieclip according to the string that is sent. Say so my class is the function declaration:

    moveFrame (theMovieClip);

    where theMovieClip is the object returned by another function.

    Is it possible to use this variable somehow?

    The concept of what I'm trying to do:

    function moveFrame (s) {}

    s.gotoAndStop ("the framework law");

    }

    Who is? Is this possible or should I find another solution?

    If the argument of the function (s) pointing to the object, then your code as shown should work.

    s.gotoAndStop ("the framework law");

    If the argument points to the name property of the object, then you will need to use the getChildByName() method to target the instance.

    this.getChildByName (s) .gotoAndStop ("the framework law");

    If the argument is a string version of the name of the instanceobject, you can use the support rating to target the object...

    This [s] .gotoAndStop ("environment law");

  • You can use an external hard drive with the Mac Mini?

    I've seen videos that say that we cannot increase the ram on a min of Mac, but I'm curious if this works like an ordinary computer, if we can attach an external hard drive to store some of the memory to free up space. Sorry if this is something stupid just need to know what I can do with it.

    You can use an external hard drive to boot and run with any Mac. Its not going to improve or replace your ram. If you use a mechanical hard drive in any Mac then help and boot from an external drive, especially if it's a SSD will be significantly faster.

Maybe you are looking for