Is it possible to include a model of calc Manager after an if condition in a rule of calc?

Hello!

I'm trying to create a rule that would first check if certain conditions (pitfall) are met.

If the condition is true then the rule should go and calculate using a model with different parameters PDT.

If the condition is not met, then something else is made.

I test this because I should develop the same kind of solution for another case where the model is much more complicated. Basically, the problem is the same.

Before you run a rule with a model, a condition to be tested and if the value of CAP are models of should not be executed.

Here's the rule as we see calc (script edit mode) (Version 11.1.2.3) Manager

('Work'

IF ("Volume"->"BegBalance"-> "DriverSelection"->"LOC"->"real"->"No_Product"->"No_Entity" <>6)

%Template(name:="CMTemplate1",application:="MyApp",Plantype:="plan1",DTPs:=("YearPara":=[[{GV_Year}]],"ScenarioPara":=[["forecast"]],"VersionPara":=[["working"]]))

%Template(name:="CMTemplate1",application:="MyApp",Plantype:="plan1",DTPs:=("YearPara":=[["FY16"]],"ScenarioPara":=[["budget"]],"VersionPara":=[["working"]]))

ON THE OTHER

/ * STARTCOMPONENT: FORMULA * /.

"7654321"-> "BegBalance"->"LOC"->"real"->"No_Product"->"No_Entity" = 6;

/ * ENDCOMPONENT * /.

ENDIF;

);

The explanation of the above rule:

It should 1st check-if a Show Stopper has to value (6)

If is not equal to 6, then it is and should be aggregations as expected.

If the show stopper (can find value 6 to the intersection of the cross-dimension), then it should set 6 to another intersection as a control point.

The model includes an aggregation that is made for different combinations.

The model script is the following ([YearPara], [ScenarioPara] and [VersionPara] are promtps of design time that can be set when you use the template in a rule):

Fix ([YearPara], [ScenarioPara], [VersionPara], "EUR")

AGG (product, entity);

endfix

This rule does not, validate because the Manager of calc seems to find something wrong with the ")" at the end of the if condition. (line 2 to the rule)

I see the calc Manager displays error messages that aren't the real cause of the problem.

Is simply because the template has fixes and they occur after the fi condtion test?

For comparison, I have a separate rule where I have only two lines:

%Template(name:="CMTemplate1",application:="MyApp",Plantype:="plan1",DTPs:=("YearPara":=[[{GV_Year}]],"ScenarioPara":=[["forecast"]],"VersionPara":=[["working"]]))

%Template(name:="CMTemplate1",application:="MyApp",Plantype:="plan1",DTPs:=("YearPara":=[["FY16"]],"ScenarioPara":=[["budget"]],"VersionPara":=[["working"]]))

This rule works without any problem.

looking forward for your comments

Kind regards

user637777

Hello!

Had, it works:

The reason for not working had patches after if test condition:

Now the rule looks like this: (used a slightly altered version parameterless template)

('Work'

IF ('Volume '->' BegBalance'-> ' DriverSelection '-'LOC'-> 'real'-'No_Product'-'No_Entity' > > > <> 6 ' ")

%Template(name:="CMTemplate2",application:="MyApp",Plantype:="plan1",DTPs:=("YearPara":=[[{GV_Year}]],"ScenarioPara":=[["forecast"]]))

%Template(name:="CMTemplate2",application:="MyApp",Plantype:="plan1",DTPs:=("YearPara":=[["FY16"]],"ScenarioPara":=[["budget"]]))

ON THE OTHER

/ * STARTCOMPONENT:SCRIPT * /.

"7654321"-> "BegBalance"-> "LOC"-> "'real '->' No_Product-> 'No_Entity' = 6;

/ * ENDCOMPONENT * /.

ENDIF

)

Model is as follows:

IF (@ISMBR ([ScenarioPara]-> [YearPara]))

@IDESCENDANTS ("product");

@IDESCENDANTS ("entity");

ENDIF

So resolved for this case...

But the other cases I have bugs that I can't go around with IF (solution @ISMBR.

Kind regards

user637777

Tags: Business Intelligence

Similar Questions

  • Is it possible to import a model PPT in Captivate 8 as a model?

    Is it possible to import a model PPT in Captivate 8 as a model?  I want to take the PPT templates and use them in Cp8.

    I created a project in MS PowerPoint Cp8 to modify the project in a model, but the Master from the transfer blades were empty.   There is no reason to create a project template if the master slides are empty.

    Any suggestions?

    You're talking about two very different technologies here.  While Captivate is certainly able to import content created originally in PPT, under the hood, what are totally different applications.  Adobe has gone to some lengths to make PPT users feel more at home when using Captivate, but does include all the PPTs model structure.  Basically the PPT Slides just became backgrounds of the slides in Captivate.

    You are well advised to think in terms of creating templates to save time create several projects with a similar structure or brand.  But you will have to create them in Captivate 8 from the ground upward.  And if you STILL want to do sensitive e-Learning, make sure you that you learn to use sensitive issues to Cp8 and build your own model and his custom on those theme.

  • I just upgraded to El Capitan.  Our photos are in both iPhoto and Aperture.  Is it possible to include both libraries in Photos (El Capitan)?

    Our photos were in iPhoto and Aperture until the upgrade to El Capitan.  Photo and the opening are now gone.  Is it possible to include both of these libraries in Photos of El Capitan?  (When I added the second library of Photos, the first library disappeared.)

    Use PowerPhotos or the library to iCloud to merge; If necessary, launch Photos with Option key button and choose another library.

    (143670)

  • Is it possible to include 'Response from Microsoft' in my home screen "Windows Live"?

    Is it possible to include 'Response from Microsoft' in my home screen "Windows Live"?

    Post Windows Live questions in the appropriate forum found here:
    http://windowslivehelp.com/

  • APEX packaged applications, it is possible to edit the models on the universal theme of the APEX 5. How can I enable editing of model on my applications?

    ..

    716769 wrote:

    Please update your forum profile with a recognizable username instead of "716769": Video tutorial how to change username available

    APEX packaged applications, it is possible to edit the models on the universal theme of the APEX 5. How can I enable editing of model on my applications?

    APEX 5.0, application themes are announced to a default theme. As a result, the theme templates are locked and cannot be changed. To change the templates, unsubscribe the theme of the master.

  • Is it possible to copy a model and paste it in another project?

    Is it possible to copy a model and paste it in another project? I tried this without success. Am I missing something, or is it just not possible?

    Thank you

    BRUC

    No, but you can import one project inside another then use this model as any other property. Things are very complex, you can collect files for the model first.

  • Disco of VmWare Converter problema su spazio - ERROR: failed to create a snapshot of a volume of the source. Possible causes include not seen all NTFS volumes on Windows XP or Windows 2003 source systems with no is not enough free space on the disk.

    Buongiorno,

    Devo connvertire con vmware converter one Nt Server con AC 450MO di spazio libero su disco C: ntfs file system e

    Ricevo this error:

    ERROR: Impossible to take snapshots of a volume of the source. Possible causes include not seen all NTFS volumes on Windows XP or Windows 2003 source systems with no is not enough free space on the disk.

    He problema e che no ho the possibility di līberō altro spazio.

    Some suggestions?

    Grazie in pre-empted.

    Anni fa it era questa versione di VMware Converter: https://dl.dropboxusercontent.com/u/2197180/coldclone.3.03.iso che permetteva the clonazione a freddo. :-)

  • Is it possible to include another app in my folio?

    Is it possible to include another app in my folio?

    I won't be able to go to another application that is already installed on the same iPad? I have a possibility to place a hyperlink to a URL. Can I place a hyperlink to another application on my iPad?

    Thanks in advance.

    Hello

    Is possible by the URL scheme

    See this post - http://forums.adobe.com/message/4653405#4653405

    __Felipe

  • Possible to include a PDF signed into another PDF file?

    Hello

    This can be a bit of a strange question, and I ' do not know if this is the right forum.

    Is it possible to include or wrap a pdf signed into another pdf file. The second PDF will serve as another signed envelope.

    Would I be able to save the original PDF in a separate file?

    see you soon,

    Gary

    Of course you can. You can include a PDF file as an attachment. For example, in, select Acrobat 9: Document > attach a file

    Attached file can be recorded separately in the Attachments pane.

  • is it possible to change the color of the marker after the fact as a prelude?

    I love prelude as a program for recording of my images. I have a number of markers that have different colors, but I would like to know if it is possible to change the color of the marker after it's done. I know that this can easily be done in first, but why not as a prelude?

    First, you can easily change color even way of a marker after after the marker was done...

    Screen Shot 2014-12-09 at 10.03.31 PM.png

    .. then why you can't edit a comment marker color as a prelude?


    Conversely, why first does not respect the colours of marker in the prelude, and has rather by default them all green? This should be addressed in the next update.

    Otherwise, there is no reason to be multicolored markers in prelude if all change the default is green once they appear in the first.

    Hi Ninosel,

    Thanks for pointing it. Currently, it is not possible to change the colors of the markers, after that they were recorded, in the prelude to the way in which it can be made into Pre Pro.

    Well, the colors are editable, even after cutting, but the colors of the markers would change. Consider the following scenarios:

    1. add some markers; Comments and subitems on any multimedia file. Go to editing Preferences-->--> marker. Select the marker type and the corresponding color. Ok

    Back to the scenario where you connected to certain markers. The colors of all the same type of markers would be changed.

    However, you can have different colors for different markers of the same type.

    2. I hope you tried the models tag of prelude--> window--> tag. With tags, you can set tags of different colors. They work as comment markers.

    You can create tags of 100 francs of colors and save them in media files.

    Although you will not be able to change the color of the already signed tags/comments, but surely you can change the colors of the tags as well & easily as pre pro.

    Tags also give a wide range of colors, so maybe you won't feel like by changing the colors of the markers after cutting.

    I hope it helps. Do not respond in the case of any confusion.

    Thank you

    Mayjain

  • Is it possible to several user interface screens to manage in the only user interface project in oracle BPM...

    Hi Experts,

    In my process I use multitask user regarding my needs. Now, I need to create screens of the user interface to the user of the task. Is it possible to several user interface screens to manage in the only user interface project in oracle BPM... Please let me know if you have an idea

    .

    Thanks and greetings

    Charm_Narra

    http://youtu.be/bpVVpDJLE1o   This video explains how to ensure that the UIS of multiple human tasks in a single project ADF.

    Dan

  • Is it possible that the participants Maximum should be change after registration?

    Hello

    Is it possible that the participants Maximum should be change after your registration to the class?

    For example:

    Learning agent defined a class with participants Maximum = 15 and then start registration.
    employees are registered and then before starting the class learning agent wants to increase the values of Maximum 15 to 17 participants, but currently this field is read-only and it is not able to update the details of the class as a registration already made.

    Is it possible to do this?

    Thank you
    Annaick Khan

    Hi, Patricia.

    To update the maximum number of registrations, you really need to go to the details page for the class and instead click on the update button, there is a list on the right of the drop-down list manage. Keep the first option "Maximum class and participating State" selected, and then click the Go button.

    Change the maximum number of participants from the page that appears, click on apply.

    I hope this helps!
    Anne

  • Is it possible to include the file lvprog in a source distribution build specification

    It seems to me that a full source distribution includes the associated project files but I don't see that it is possible to do. I missing something or do I just have to continue to, outside of LabVIEW, high zip folder that contains everything?

    I think you are talking about the *.lvproj (not *.lvprog).

    No, it is not possible. I think it was possible in the past (LV2009 and earlier versions) and I already complained that elsewhere long ago.

  • Is it possible to create a model using fluid grids?

    I'm working on a new site and now starting to really try and arrange everything correctly, so what I want to do is to create a master page to work from universal.  I understand that this is not a master page as such, I read that you need to create a template and a link to that, but I don't see how to do this with a checkerboard in fluid.

    Is it possible to use fluid grids, keeping a 'template' link to and do NOT have to redo all the work I've done so far?

    Thanks for any help in advance =]

    Read F1 help on DW models to gain an understanding on how they work.

    1. Make your prototype of FluidGrid page.  Check in all browsers, and when you are satisfied of how it looks and reads the file save as Template.dwt.
    2. Add editable regions for things that will change the page.  Save and close the template.
    3. Go to file > new model page.  Press the button create.
    4. This new file is a page of the child.  SaveAs index.html (your home page) or a different file name.
    5. Repeat steps 3 & 4 for your other pages of the site.
    6. Re-open the model and add links to your navigation menus.
    7. Save the model and fill changes to the child pages.
    8. Child pages look in browsers before uploading to your remote server.
    9. Repeat steps 7 & 8 whenever you make changes to your file main template.dwt.

    Nancy O.

  • Is it possible to include a native executable in the extension package?

    Hello

    I need to call the native code of the CS using the NativeProcess API extension.

    Is it possible to distribute a native executable file in the extension package?

    It seems that there is a way to include a 'regular' in a hybrid extension file, however, the file must be installed in one of the predefined locations (for example, "$applicationsupport").

    The problem is that to create a NativeProcess object in the extension code, I need to know the correct executable path, and I can't seem to find a way to know where exactly the executable file was placed by the installation of the extension program.

    Is it possible to install an executable file in the folder of the extension (that I can get to CSXSInterface.getInstance (.getSystemPath(APPLICATION)))?

    Thank you

    Anatoly

    Is it possible to install an executable file in the folder of the extension (that I can get by using CSXSInterface.getInstance () .getSystemPath (APP))?

    Well Yes, the answer depends on how you are packaging your extension.

    If you use the Builder Extension, you just need the executable file and are automatically copied into the folder bin-debug during the build process. The easiest way to do this is to put the executable file under src / folder. Another option is to make your own resources / directory and add it to the project's source path (see the section "Adding resources files, the path of the source project" here: http://help.adobe.com/en_US/Flex/4.0/UsingFlashBuilder/WS6f97d7caa66ef6eb1e63e3d11b6c4ce74 9 - 7fd8.html). Once you have copy to the folder bin-debug, you're ready, you can start or export as usual and your executable will be reflected in the record of the extension.

    If you use ucf.jar, just make sure that your executable is the file extension that you're packing.

    You will need to should not create a hybrid extension in order to have a CS extension that uses NativeProcess.

Maybe you are looking for