Perform the calculation when the value of the Member is a string

Hello

I get the following error when I validate the rule.

Details: cannot calculate. Essbase Error (1200354): compilation error formula for [Production calculated revenue] (line 3): type [NUMBER] is [STRING] ([@SUBSTRING]) expected in function [operator @EQ]

The rule is

Fix (Inbound,Outbound,@Attribute (transaction), @Attribute (Transaction_Queue))
'Calculates Production revenue.
(IF (@SUBSTRING (@NAME (@CURRMBR ("billing database")), 0, 1) == "Vo"))
'Calculates the revenue generating' = 'Managed Volume' * 'billing rates;
ELSE IF (@SUBSTRING (@NAME (@CURRMBR ("billing database")), 0, 1) == 'Mi')
"Calculates the revenue generating" = 'Minutes for billing' * 'billing rates;
ENDIF ;)
ENDFIX

Member of the "basis of Subscriber" is a smartlist. If the value of "foundations of Subscriber" is volume, my "Production calculated revenue' should be 'Managed Volume' * 'billing rates. Otherwise if my 'customer base' minutes my 'Production calculated revenue"should be
'Minutes to the billing' * 'billing rates.

Can someone please?

Hi John,.

Unfortunately you can not compare strings in essbase using operator ==: (.)

What you need is the CDF string.

Go to http://samplecode.oracle.com, click on the tab Code examples above, click on the Essbase link and select artifact 5441/String functions.

Download it - there is a clever .cmd file and MaxL script to save the CDF. I think you have to bounce Essbase to take and EAS as well.

Don't forget to edit the udf.policy file, although it is actually necessary only if you plan to use the ability of the CDF to write to the disk.

See you soon... !!!

Tags: Business Intelligence

Similar Questions

  • How to get the value of the textInput component to perform the calculation?

    Untitled.jpg

    I need some help here... I'm trying to get the value from the user input to the TextInput component that is the age, size and weight to calculate the bmr and display the result in member("result").text.

    How am I suppose to pass the integer in order for me to perform the calculation? If you'd be grateful if someone can help me with this, thanks!

    Here's the formula:

    The equation of Harris Benedict BMR estimates:

    For women: (9.56 x w) + (1.85 x h) - (4.68 x a) + 655

    For men: (13.75 x w) + (5 x h) - (6.76 x a) + 66

    My mistake. You can only re-branded a string to the text property of a text member. Just need to convert the value to a string using the string function.  Use this

    Member ("result"). Text = string ((13.75 * value (member("weightText").text)) + (5 * value (member("heightText").text))-(6.76 * value (member("ageText").text)) + 66)

  • When I opened my account it gives that error message = this file does not have a program associated with it to perform the action, please install a program

    When I double click on any folder error message comes ==this file has not a program associated with it for performing the action, please install a program, or if alreadycreate an association program in default Panel.


    and when I right click it once options such as search, cmd, opening...



    Please help me I would be very grateful to you...

    Hi Siddharth,

    Were there any changes made on the computer before the show?

    Method 1:

    Restart your computer in safe mode and check if the problem persists.

    http://Windows.Microsoft.com/en-us/Windows7/start-your-computer-in-safe-mode

    Method 2:

    I suggest you to refer to the items and set default values:

    Change the programs that Windows uses by default

    http://Windows.Microsoft.com/en-us/Windows7/change-which-programs-Windows-uses-by-default

    Change default programs using Set Program Access and computer defaults

    http://Windows.Microsoft.com/en-us/Windows7/change-default-programs-using-set-program-access-and-computer-defaults

    Method 3:

    I suggest to create a new user account and check if it helps:

    Create a user profile

    If the new user profile resolves the problem, you can fix the corrupted profile.

    Reference:

    Difficulty of a corrupted user profile

    Let us know the results.

  • Script where the zero is not displayed when no value is selected, indicates when a value of zero is selected

    How can I write a calculation script where the zero is not displayed when no value is selected, but when a value field null is selected as part of the zero calculation will show?

    Option 1 has a score of 0 value

    Option 2 has a value of 5 score

    When someone chooses option 1, I want the value 0 to appear at the cell of notation.

    Here is the script that I have so far:

    If (event.value == 0 | event.value == ") event.value =";

    OK, the custom calculation script could be:

    Get the value of the checkbox field

    var v = getField("checkbox1").value;

    Set this field value

    V = Event.Value = "Off"? "" : v;

    Replace "checkbox1" with the actual name of the checkbox.

  • 0x000000F4 beginning physical memory dump, this is the error message I got when I perform the adaptation of data operation or run heavy programs, and when I play the music of his tempo becomes slower.

    Original title: 0x000000f4 beginning physical memory dump

    STOP: 0x000000f4 (0 x 00000003, 0x89cb3a18, 0x89cb3b8c, 0x805d29b4) beginning physical memory dump

    This is the error message I got when I perform the adaptation of data operation or run heavy programs, and when I play the music of his tempo becomes slower... What do I do? Help, please...

    Hello

    You did changes to the computer before this problem?

    Step 1: Check if the problem persists in the clean boot state.

    From your computer by using a minimal set of drivers and startup programs so that you can determine if a background program is interfering with your game or program. This type of boot is known as a "clean boot".

    Reference:
    How to configure Windows XP to start in a "clean boot" State
    http://support.Microsoft.com/kb/310353

    When you are finished troubleshooting, follow these steps to reset the computer to start as usual:
    1. click on start and then click Run.
    2. type msconfig and click OK.

    The System Configuration Utility dialog box appears.

    3. click on the tab general, click Normal Startup - load all services and device drivers and then click OK.
    4. When prompted, click on restart to restart the computer.

    Step 2: Also, look for error messages in the event viewer. If you find error messages after return the exact error message so that we can help you better.

    Reference:
    Using the event viewer
    http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/snap_event_viewer.mspx?mfr=true

    Understanding of event viewer
    http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/event_overview_01.mspx?mfr=true

    Procedure to view and manage event logs in Event Viewer in Windows XP
    http://support.Microsoft.com/kb/308427

  • How can I block my keyboard so when my cat button, the keys perform the functions? I have a lock on my computer so I need a password to sign, but I can't find any info on how to lock keyboard features in.

    How can I block my keyboard so when my cat button, the keys perform the functions? I have a lock on my computer so I need a password to sign, but I can't find any info on how to lock keyboard features in.

    A quick Google for "lock keyboard" raised a certain links that seem promising. Here's one of eHow that answers your questions to kitty:

    http://www.ehow.com/how_4925264_lock-keyboard.html MS - MVP - Elephant Boy computers - don't panic!

  • I am still getting error code 8004ff83 when you perform the update

    I am still getting error code 8004ff83 when you perform the update

    I read that in safe mode, it would be possible to do the update. What is safe mode?

    Hello

    Perform the steps from the link below and check if the problem persists.
    Problems with installing updates
     
    Hope this information helps.
  • Error message "Windows Resource Protection could not perform the requested operation" when running SFC scan.

    As suggested, I tried to run scannow to repair Windows Vista.  I did, but then the scan only ran up to 76%, I received the message: Windows Resource Protection could not perform the requested operation. "How can I complete the scan and fix my Windows Vista computer

     

    Hi rdoran,
    You perform the steps from the administrator account?

    To determine which files can be repaired by the System File Checker tool, follow these steps:
    Step 1:
     
    NOTE: When SFC is running, it records its actions in the C:\WINDOWS\LOGS\CBS\CBS. NEWSPAPER. You can find specific entries of SFC searching [SR] tags in the newspaper.

    For how, see the SFC analysis details in the CBS. JOURNAL:
     
    * Open an elevated command prompt.

    * In the elevated command prompt, type findstr/c: "[SR]" %windir%\logs\cbs\cbs.log > %userprofile%\Desktop\sfcdetails.txt and press ENTER.
     
    * Close the elevated command prompt.

    * Click the sfcdetails.txt file just set your desktop to see the SFC scan details (those with the tags [SR]) to the CBS. NEWSPAPER.
     
    * You can safely delete the sfcdetails.txt file later if you wish.
    Reply back with the details in the log file.

    If it does not help to complete the scan, you can complete the steps below and check out them.

    You're able to boot in safe mode ?
     
    Step 2:
     
    For more information on how to log in to safe mode, see the following Microsoft article:
     
     
    If you're able to boot in safe mode, you can perform a scan of the file system (CFS) auditor.
     
    Reference:
     
    How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7
    http://support.Microsoft.com/kb/929833

    Step 3:

    In addition, you can connect to the command prompt and check the drive for errors, and check if that makes things more simple.
     
    At the command prompt, type the following command and press ENTER:
     
    Chkdsk /r
     
    Note: If bad sectors are detected when running check disk utility and attempt recovery of bad sectors is verified during the verification of the drive for errors, data in the bad sector can be lost as they tried to recover bad sectors.
     
     
    Aziz Nadeem - Microsoft Support

    [If this post was helpful, please click the button "Vote as helpful" (green triangle). If it can help solve your problem, click on the button 'Propose as answer' or 'mark as answer '. [By proposing / marking a post as answer or useful you help others find the answer more quickly.]

  • "Receive a prompt for there is no associated messaging program to perform the requested operation" when sending a ZIP file

    Original title: SENDING A ZIP file

    I am trying to send a ZIP file on a tech site I have the zipped and saved to my desktop log file. When I try to send it to the recipient of the email it says "there are no associated messaging program to perform the requested action. Install an e-mail program or if it is already create an association in the default programs in Control Panel. I went by default, type programs I went to associate a file or Protocol, and it is NOT one here for a zip file. I then tried to set your default programs that do NOT work. Then I tried to program or computer by default is nothing has worked. All I want to do is to send this FOLDER common ZIPPE with my logs to a place of software technology. Why is this so complicated? And what I'm doing wrong here?


    HP pavilion g6-2225nr
    Earn 8 X 64 V6.2.9 IE 10
    I use Gmail
    If you access Gmail via your browser, it won't work. The mailto prompt is looking for a default mail client.
     
    The easiest way is to simply start a new message and then attach the file. If you want to try to make Gmail default, that would work, but no guarantee.
     
    How to set your default e-mail to Gmail
    http://www.ehow.com/how_5151392_set-default-email-gmail.html
  • IPL fail... no trace to reposition to when you perform the direct load task.

    Trying to do an initial load, I get this error whenever I go out a table with data in it:

    Treatment FOO table. BAR

    2013-11-21 23:22:15 WARNING EXTRACT OGG-01194 task LOADREPL added: there is no trace of reposition to when you perform the direct load task.

    Context of the source:

    SourceModule: [er.idlx]

    SourceID: [/ scratch.local/mmar/view_storage/mmar_14516066/oggcore/OpenSys/src/app/er/idlx.c]

    SourceFunction: [IDLX_complete_tcp_msg]

    SourceLine: [383]

    ERROR OGG - 01203 EXTRACT abending

    ERROR OGG-01668 PROCESS ABENDING.

    The strange thing is, I can use the same extract initLoad and loadRepl replicat... except using a different source schema.table and schema.table of the target, and it will work!

    User El error.  I increased the storage space available for the target schema that wasn't and the problem disappeared.

  • Help: Configure the simple test sequence, operator selects particular test connects to the part of the teststand sequence file and then performs the test

    Hello

    I am very new to TestStand, please see the question below and give advice.

    I want to set up a simple test sequence.

    I want a message to popup on the screen that asks the operator what unit of 6 units (maximum 10) to test (i.e. There is say box of 6 to 10 s to select from).

    Then the sequence goes to the specific part of the sequence and performs the test on a unit that either has been selected.

    What is the best way to do it?

    I use pop-up message windows to do this? and if so what should I connect to the correct part of the sequence file?

    Pop-up message windows allow only 6 options to select from?

    Thank you

    Hello

    You can do this by using the method of message popup. You can ask the user what unit want to run message by inserting in the expression of the message in the message popup step parameters. Something like below

    "Enter the number of execution unit.

    1 Unit1

    2 unit 2

    .......

    10 Unit 10 "

    then check the 'Enable response text box"tab is different from the stage. When the user enters the unit number you can get the value entered by the user by inserting the below statement post expression of message popup step parameters

    Locals.String = Step.Result.Response

    Note: The string is a local variable to be set.

    Convert string to number and send that output to pass the expression you can use a sequence of call step to call the sequence according to which must be performed. (I hope your each unit will file separate sequence)

    I hope that this solves your problem. If you do not understand please let me know so that I can put a small example and send it to.

    See you soon,.

    Krishna

  • Cannot send photos "there are no associated program to perform the requested operation."

    original title: Windows live mail

    I configured my gmail account in my windows live mail client. yesterday, I tried to send e-mail from the same gmail account to a friend, mail is sent successfully. but they were not able to open the images. I tried to view the slide show on my computer, then I got the error message "requested action cannot be performed, there is no associated program to perform the requested operation" then I tried to download the same images again, I got the same message. I tried to change the extension of all formats of image (for example, .jpg and .jpeg) but still, I had the same problem of association. I tried to change the registry because I had the article on the microsoft Web site, also I did system restore and reinstalled WLM also. HELP PLZ

    Hello
     
    1 have. what article you tried?

    2 is the issue limited to Windows Live Mail?

    3 is the issue limited only with a specific file extension?

    Check out the following and check:

    Method 1:

    Step 1:

    Try opening the file in the Windows Photo Viewer and check if you are facing the issue.

    http://Windows.Microsoft.com/en-us/Windows7/view-and-use-your-pictures-in-Windows-Photo-Viewer

    Step 2:
     
    A default program is the program used by Windows when you open a particular type of file, such as a music file, an image, or a Web page. For example, if you have more than one web browser installed on your computer, you can choose one of them to be the default browser.

    This option allows to choose which programs you want Windows to use, by default.

    If a program does not appear in the list, you can make the default program using set Associations.

    1. open default programs by clicking the Start button, then programs by default .

    2. click associate a file type or Protocol with a program.
    3. click on the file type or protocol that you want the program to act as the default value.
    4. click on the program of change.
    5. click on the program that you want to use by default for the selected file type, or click the arrow next to other programs to show other programs. (If you don't see other programs or your program is not listed, click Browse to find the program that you want to use and then click Open
    6. click on OK.

    For more details follow the link below:
    http://Windows.Microsoft.com/en-us/Windows7/change-which-programs-Windows-uses-by-default

    Method 2:
    Try to create a new user account and check if you have the same problem.
    To create a user account
    1. to open user accounts, click the Start button, click Control Panel, click user accounts and family safety, and then click user accounts .
    2. click on Manage another account. If you are prompted for an administrator password or a confirmation, type the password or provide confirmation.
    3. click on to create a new account.
    4. type the name you want to assign to the user account, click an account type, and then click on an account.

    For more information follow the link below:
    http://Windows.Microsoft.com/en-us/Windows7/create-a-user-account

    If it works in the new user account, the user account may be corrupted.

    To fix the damaged user profile, you can check the link below:
    http://Windows.Microsoft.com/en-us/Windows7/fix-a-corrupted-user-profile

    If you are facing problems with Windows Mail, I suggest you according to the query in the following forum.

    http://answers.Microsoft.com/en-us/windowslive

    Hope this information is useful.

  • JavaScript to perform the Action on the ground form - change the fill color according to requirement

    Hello world

    I apologize if this question has been asked already - but I was looking for the last hours of the couple and not finding what I need. I have a PDF form (created from an excel file) and need to change the fill color of a field drop-down list box to, based on the selection made by the user of this form field.

    Details - I have several questions on the application form. I have install a form field list box for each question so that the user can select the following options:

    Yes

    NO.

    Not sure

    I see in the Properties menu of the form field that I can perform an action when their "clicks of the mouse to the top" as the trigger (option run JavaScript); but I do not know what script to enter to do. This is where I need help

    So I need the script when the user selects one of the listed options, the fill color will change depending on the selected answer:

    'YES' changes fill with green color

    'NONE' red fill color change

    Yellow fill color of changes 'UNCERTAIN '.

    Please let me know if you need more details or a better explanation of what I need. Thank you for anyone who can help!

    PS - I'm a complete amateur in any type of JavaScript or codes, so I may need some explanation or if this is not possible.

    Do not use the mouse event to the top, but rather, you can use the custom following validation script:

    Custom script to validate combobox

    (function () {}

    Switch (event.value) {}

    case study "Yes":

    event.target.fillColor = color.green;

    break;

    case "No":

    event.target.fillColor = color.red;

    break;

    case 'uncertain ':

    event.target.fillColor = color.yellow;

    break;

    by default:

    event.target.fillColor = color.white;

    break;

    }

    })();

  • How to perform the subtraction

    I created a mileage reimbursement form using Adobe 10 standard (Adobe X Standard).  The form has an engine Total Miles field, another field for Miles of the home port and a field that must be the difference between these two.  I do not see a calculation for the subtraction function, so my question is double.  One, how can I get the domain to perform the mathematical function and two, how do I know the field is no to enter negative numbers?  I imagine it'll be a custom script that will be loaded into the properties of the field on the tab calculation, under the area of calculation script, but I don't know what would be this script.  Any help would be appreciated.  Thanks to everyone for their help.

    Mileage Reimbursement Form Snip-it.JPG

    You can use this code as the custom calcluation code of the difference field:

    var totalMiles = + this.getField ("Total Miles Driven") .value;

    var homeMiles = + this.getField ("Home Base Miles") .value;

    var totalMiles = diff - homeMiles.

    If (diff<0) diff="">

    Event.Value = diff;

  • AMT-01190: the user is not authorized to perform the requested listener com

    Hi all
    I just reinstalled forms10g oracle and oracle 10 g rel 2 on windows vista. The first time I installed both software, I swithched d pc switched off without turning off the earpiece on my laptop. When I rebooted, I found that I could not start the two forms 10 g and oracle 10g database, not to mention loggin. I have therefore re-installed two prodcts. Whenever I try to turn off the listener I get error TNS-01190: the user is not authorized to perform the requested listener com. I tried several ways to turn this off, but every effort has failed. After reading several books on this subject, I learned that if you change the password for any user who knows the password should be able to turn off the listener. But I still get the same error when trying to add a password. Please can someone help me by telling me how I can deduct the oracle user who has administrative rights to perform this task.
    Pls forgive me for the long text. Thanks again. PLS, note I'm not an expert so pls be explicit in your explanations.

    see you soon
    AJ

    You are welcome.

    Another method could be this:
    -try to identify the Oracle home for the listener. This should be the same house where the DB.
    -Open a prompt on your vista, the ORACLE_HOME value this folder location, and then cd to this location of ORACLE_HOME.
    Now, enter the following text:
    lsnrctl start

    You should do as a user with administrator privileges.

    AMN

Maybe you are looking for

  • Why my ZTE open c Firefox OS Smartphone forget the wlan settings and does not sound the alarm?

    Sometimes it is even enough to go outside the trash to let my smartphone to forget the settings for the wireless LAN. When I come back, I have to re-enter my wlan router - not so short - code. Once the internet connection is running as it should. In

  • Maid in HDMI

    So far, in the forums, I see only review of Thunderbolt/MiniDP to HDMI Cable (http://www.focalprice.com/IM085W/Mini_Display_Port_to_HDMI_TV_Moitor_Adapter_for_Apple_Macbook_White...). Do you have someone at - he tried other options? I'm more interest

  • Player Windows Media won't play byte streams as files are damaged or corrupted

    which is a byte stream because my media player won't play it say files are damaged or corrupt

  • Number of updates applied to Windows 7

    It is said that Windows7 is delivered with a record of 32-bit and 64-bit disc. Can I use the 32-bit disk update of Windows XP on my desktop and the 64 - bit disk to upgrade Windows Vista on my laptop? Or do I have to buy 2 separate Windows7 to get a

  • Scanning software HP 6520?

    Simple... All I want to do is control my scanner to my computer rather than the scanner itself. I need the options only available when scanning from the computer. I got lost. The only shortcut created after installation wont even opened, "HP Photosma