How to create an if statement in Insight?

I'm just starting with Insight, and want to take a look at some basic completeness data.  Running into an error every time I try an if statement.  In the Insert New Metric GUI, the error reads "The formula for the derived metric is incorrect"
The current syntax is If([Company] = "Some Name", 1,0)
This seems to be the syntax asked for by the function wizard.  Company is included in the report.
I have been able to create some other metrics such as percentages of two fields.
Other than the two Eloqua insight report guides, are there any other resources which go into depth for formula creation?

I don't recall ever seeing anything quite that detailed. The only documentation in existance for insight (links need to be updated to the new Topliners portal):
http://topliners.eloqua.com/community/know_it/blog/2012/07/24/eloqua-insight-analyzer-user-guide-introduction
http://topliners.eloqua.com/community/know_it/blog/2012/07/24/eloqua-insight-reporter-user-guide
http://topliners.eloqua.com/community/know_it/blog/2012/07/31/eloqua-insight-advanced-analyzer-user-guide
ELOQUA INSIGHT Report Details Guide: http://topliners.eloqua.com/docs/DOC-3375
http://topliners.eloqua.com/community/know_it/blog/2012/08/29/eloqua-insight-database-health-dashboard-faq-and-glossary
Using Attributes and Metrics with Eloqua Insight: http://topliners.eloqua.com/docs/DOC-4987
Eloqua Insight Data Model: Attributes and Metrics: http://topliners.eloqua.com/docs/DOC-3392
If you don't find your answers in any of the documents above then the documentation for it does not exist or something new was written in the past month.
Generally they store everything that exists here: Know It
or here: http://docs.oracle.com/cloud/latest/marketingcs_gs/OMCAA/index.html#Help/Insight/Insight.htm%3FTocPath%3DInsight%2520(Re…
-Alexander Huzar

Similar Messages

  • How to create nested CASE statements in PL/SQL

    Can anyone please tell how to create Nested CASE statements in PL/SQL with proper syntax?
    It would be better if you can help with an example.
    Thank you!

    Something like this:
    SQL> set serveroutput on
    SQL> declare
      2    v1 number := 2;
      3    v2 varchar2(1) := 'C';
      4  begin
      5    case v1
      6      when 1 then dbms_output.put_line('First');
      7      when 2 then begin
      8                    case v2
      9                      when 'A' then dbms_output.put_line('Found A');
    10                      when 'B' then dbms_output.put_line('Found B');
    11                      when 'C' then dbms_output.put_line('Found C');
    12                      else dbms_output.put_line('NONE');
    13                    end case;
    14                  end;
    15      else dbms_output.put_line('Else');
    16    end case;
    17  end;
    18  /
    Found C
    PL/SQL procedure successfully completed
    SQL> If you have further doubts regarding syntax you can read the docs on the Case statement here:
    http://download.oracle.com/docs/cd/E11882_01/appdev.112/e10472/case_statement.htm

  • How to create a 3-state button (similar look as OK button) that toggles between 3 different colors.

    How do I create a 3-state button that looks similar to the OK button except it changes to 3 different colors every time it is pressed. Does anyone have such a control ready for use that I can just drop in my front panel?

    With a picture ring you can implement a 3 color button without any code. Look at the attached customized control.
    I have imported the picture of a boolean in three different items and
    colored them. I centered the text and hide/made transparent uneeded
    graphic elements. I set the size of the decrement arrow to cover all
    the picture and made it transparent so when you click on the control
    you decrement the value of the ring and change the picture/color
    Edit: you'll notice that the picture is not fullt covered by the
    decrement arrow so if you click near the bottom of the button, the
    picture ring will show its normal behavior displaying all 3 available
    items
    Message Edité par Jean-Pierre Drolet le 07-07-2005 10:07 PM
    LabVIEW, C'est LabVIEW
    Attachments:
    3COLORSBUTTON.vi ‏8 KB

  • How to create a three state approval workflow in SharePoint 2013 using visual studio 2013

    Hi Everyone,
    i have a requirement like 3 state to approve. Here is the details:- when the item added into the list it will go for reviewer. Once the reviewer review the item, he will assign the task to concern person/department(Parallel process more than two persons).
    Once they will approve the request again it will come back to reviewer and he will assign the task to team member(parallel process). Once the team member accepted then workflow terminate.
    i want develop this workflow using visual studio 2013 only, not using designer.. 
    Thanks in Advance.....
    Mallesh

    Hello,
    you can find multiple sample on the web like those
    http://www.splessons.com/2013/12/create-state-machine-workflow-in-sharepoint-2013-using-visual-studio-2012/
    http://msdn.microsoft.com/en-us/library/ee231606.aspx
    I don't think that's very different using VS2013 or VS2012
    Best regards, Christopher.
    Blog |
    Mail
    Please remember to click "Mark As Answer" if a post solves your problem or
    "Vote As Helpful" if it was useful.
    Why mark as answer?

  • How to create an if-statement in ANT

    Hopefully many of you build with ANT and can help be with my problem. I want to put an if-statement within my ANT script.
    Ex) if(flag) execute(something);
    I have been searching the documentation and can't find anything useful.
    Thanks!

    Hello,
    There is a very nice ANT add-on which is called Antelope:
    http://antelope.sourceforge.net/manual/bk03.html
    It offers <if>, <switch> and other useful ANT tasks.
    Regards,
    Slava Imeshev
    Viewtier Devenv
    http://www.viewtier.com/devenv/
    Set your development environment

  • How to create active state or current state in spry menu ?

    i have build a vertical menu with spry menu widget, Just
    wondering if any one can guide me how to create an active state or
    current state in the menu.
    I want the visitor to understand which page they are on, so
    just want to change the colour of the active link.

    <helpful but self-serving too>
    There are several ways to do this, but the easiest way, if I
    may say so,
    is to use my divaGPS Extension. It works with virtually any
    menu type
    and is designed to accomplish precisely what you are asking
    for quickly
    and easily.
    </back to our regularly scheduled programming>
    E. Michael Brandt
    www.divaHTML.com
    divaPOP : standards-compliant popup windows
    divaGPS : you-are-here menu highlighting
    divaFAQ : FAQ pages with pizazz
    www.valleywebdesigns.com
    JustSo PictureWindow
    JustSo PhotoAlbum

  • How do you create Text Hover States - inDesign cs5 table of contents?

    I cannot figure out how to create text hover states in the table of contents. I want it to act like a hyperlink on websites where you hover over a link and it changes color. Any ideas?

    Hello,
    This forum is for questions about Adobe FormsCentral (http://formscentral.adobe.com). Please re-post your question to the InDesign forum:
    http://forums.adobe.com/community/indesign
    Best of luck!
    Rebecca

  • How Do I create a health state dashboard for a group of servers in SCOM 2012 R2

    I am aiming to create a health state dashboard which would show the agent health for a particular group of server. But unable to find the option for the appropriate widget. Can somebody suggest how should I proceed on this?

    There is state widget for show status of computer health or warning or critical
    http://blogs.technet.com/b/antoni/archive/2013/05/13/operations-manager-2012-dashboard-widgets.aspx
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer"Mai Ali | My blog:
    Technical | Twitter:
    Mai Ali

  • How to create MIN/MAX limitations in SELECT statement ??

    Hey,
    I have a table which rank90 (city population ranked from 1>*) and state_abrv which has the corresponding state for each city rank.
    Is there a way to select only the maximum AND minimum ranks for each state ??
    I realise there is a max and min function, but i need to do it for EACH state_abrv.
    An example say Los Angeles is ranked 2, San Diego is ranked 6, and San Fransico is ranked 14 (All of these citys are in california (CA)). How do i display a table which lists only Los Angeles (Highest rank) and San Fransico (lowest rank) but DOESNT list San diego ??
    Thanks, you guys are helping me heaps and im starting to learn a lot more :P
    Message was edited by:
    user495524

    SQL> create table t (state varchar2(2), city varchar2(20), n number);
    Table created.
    SQL> insert into t values ('CA','San Francisco',14);
    1 row created.
    SQL> insert into t values ('CA','San Diego',6);
    1 row created.
    SQL> insert into t values ('CA','Los Angeles',2);
    1 row created.
    SQL> insert into t values ('NY','Buffalo',4);
    1 row created.
    SQL> insert into t values ('NY','Syracuse',7);
    1 row created.
    SQL> insert into t values ('NY','Mt Kisco',2);
    1 row created.
    SQL> insert into t values ('NY','Albany',5);
    1 row created.
    SQL> select * from t order by state, n desc;
    ST CITY                          N
    CA San Francisco                14
    CA San Diego                     6
    CA Los Angeles                   2
    NY Syracuse                      7
    NY Albany                        5
    NY Buffalo                       4
    NY Mt Kisco                      2
    7 rows selected.
    SQL> select state, city, n from
      2    (
      3    select t.*, min(n) over (partition by state) min_n,
      4      max(n) over (partition by state) max_n from t
      5    )
      6  where n in (min_n, max_n) order by state, n desc;
    ST CITY                          N
    CA San Francisco                14
    CA Los Angeles                   2
    NY Syracuse                      7
    NY Mt Kisco                      2
    SQL>

  • How to Create Step By Step Sequential And State Machine Workflows?

    Hi All,
    I am very new to workflows, can any one help me to how to create workflows step by step using visual studio.
    Can any one explain with example.

    Hello,
    Here is the MSDN article for your ref:
    Sequential WF:
    http://msdn.microsoft.com/en-us/library/office/gg265727%28v=office.14%29.aspx
    State Machine WF:
    http://msdn.microsoft.com/en-us/library/office/gg508985%28v=office.14%29.aspx
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • ADF with JSF: How to execute a Sql statement created in a form

    Hello to every body,
    I'm working in JDeveloper 11.1.2.1.0, I have to do a development when the user can create a SQL statement and I have execute that before to do commit to the DB(Oracle DB).
    Example:
    The user create the next query:
    "+Select id_boss, boss_name from boss where boss_salary>5000+"
    I don't know how to do that with the current persistence and without create a Connection Method.

    The video tutorial is excellent but I have a problem because I'm working with Release 2 and when I try to do something like the video I had the next error:
    FachadaConsultaLocalImp cannot be cast to ApplicationModule
    the code to try to create a ViewObject is the next:
    DCDataControl dc = this.getBinding().findDataControl("FachadaConsultaLocal");
    String dataProvider=dc.getDataProvider().toString();
    ApplicationModule appModule = (ApplicationModule)dc.getDataProvider();
    Some idea?

  • How to dynamic create Select SQL statements.

    Hi frnds,
    I want to make a SELECT statement in which all values I will get dynamically. Like i have two fields on selection screen, one for table name and one for field name. Now I need to make my ITAB according to the table selected and field name selected. So finally my ITAB will be having the field which I chosen from selection screen.
    Now how can I make a dynamic ITAB and how to create a dynamic SELECT statement?
    It wud be great if you can help me.
    Thanks
    Arpit

    Here is a sample program....
    This will get you started in programming a dynamic internal table as well as dynamic select.
    report zrich_0002.
    type-pools: slis.
    field-symbols: <dyn_table> type standard table,
                   <dyn_wa>,
                   <dyn_field>.
    data: alv_fldcat type slis_t_fieldcat_alv,
          it_fldcat type lvc_t_fcat.
    type-pools : abap.
    data : it_details type abap_compdescr_tab,
           wa_details type abap_compdescr.
    data : ref_descr type ref to cl_abap_structdescr.
    data: new_table type ref to data,
          new_line  type ref to data,
          wa_it_fldcat type lvc_s_fcat.
    selection-screen begin of block b1 with frame title text .
    parameters: p_table(30) type c.
    selection-screen end of block b1.
    * Get the structure of the table.
    ref_descr ?= cl_abap_typedescr=>describe_by_name( p_table ).
    it_details[] = ref_descr->components[].
    loop at it_details into wa_details.
      clear wa_it_fldcat.
      wa_it_fldcat-fieldname = wa_details-name .
      wa_it_fldcat-datatype = wa_details-type_kind.
      wa_it_fldcat-intlen = wa_details-length.
      wa_it_fldcat-decimals = wa_details-decimals.
      append wa_it_fldcat to it_fldcat .
    endloop.
    * Create dynamic internal table and assign to FS
    call method cl_alv_table_create=>create_dynamic_table
                 exporting
                    it_fieldcatalog = it_fldcat
                 importing
                    ep_table        = new_table.
    assign new_table->* to <dyn_table>.
    * Create dynamic work area and assign to FS
    create data new_line like line of <dyn_table>.
    assign new_line->* to <dyn_wa>.
    * Select Data from table.
    select * into corresponding fields of table <dyn_table>
               from (p_table).
    * Write out data from table.
    loop at <dyn_table> into <dyn_wa>.
      do.
        assign component  sy-index  of structure <dyn_wa> to <dyn_field>.
        if sy-subrc <> 0.
          exit.
        endif.
        if sy-index = 1.
          write:/ <dyn_field>.
        else.
          write: <dyn_field>.
        endif.
      enddo.
    endloop.
    Regards,
    Rich Heilman
    Message was edited by: Rich Heilman

  • How to create State machine workflow?:

    How to create State machine workflow

    Hi,
    According to your post, my understanding is that you want to send email to Assigned to person when item is created in Task List.
    You can set E-Mail Notification to Yes under your Workflow Tasks list > Settings > Advanced Settings. By doing so user specified in AssignedTo will receive e-mail notification when task is created.
    Here is a similar thread for your reference:
    https://social.technet.microsoft.com/Forums/office/en-US/44f63c3c-8dfc-4f02-b627-a92249404ae3/task-list-advance-settings-email-notification-send-email-when-ownership-is-assigned-or?forum=sharepointgeneral
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • How to create result state target in DC

    Hi,
    Currently i am able to create the result state for the callable object in Development Component.. But after adding the callable object into Guided Procedure, I'm not able to define the Target for the result state as there is no dropdown list control for me to select. (e.g. if success, target to Action A.. if failure, target to Action B)
    May i know how can i code the target state in development component, so that when i add the callable object i am able to define the target..
    Thanks,
    Cindy

    Hi Cindy;
    Could you explain your problem in detail.
    If you want to bring in a result in a webdynpro CO add the follwing codes in the getdescription Method in the interface controller.
    IGPCOResultStateInfo resultStateSuccess     = technicalDescription.addResultState("RESULT_NAME_FAILURE");
              resultStateSuccess.setNameKey("FAILURE_KEY");
              resultStateSuccess.setDescriptionKey("FAILURE_DESCRIPTION_KEY");
    And the following code in the complete method in the component controller
    IWDTextAccessor textAccessor = wdComponentAPI.getTextAccessor();
              IContextElement contextElement = wdContext.currentContextElement();
              IGPExecutionContext executionContext = contextElement.getExecutionContext();
              try
              executionContext.setResultState("Failure");
                             executionContext.processingComplete();
              catch(GPInvocationException e)
                   String localizedMessage= textAccessor.getText("ERROR_SETTING_PARAMETERS");
                               wdComponentAPI.getMessageManager().reportSuccess(e.getMessage());
              catch(GPEngineException e)
              String localizedMessage = textAccessor.getText("INTERNAL_ERROR");
    I hope this will solve your problem.
    Kindly let us know the result
    Regards
    Sivaprasath

  • How to create state diagram (for state machine)

    Hallo  all.
    In my previous visit here, i saw picture of state diagram (bubbles with connection),
    How to create that in labview (if there is such option) ?
    or, which other software create state diagram.
    thanks  

    There is the State Diagram Toolkit (additional tool from NI for LabVIEW) with good interface and unreadable code
    It gives you a State Diagram Editor at Functions palette.
    It is very good tool for state diagram visualization, but readability of the code is controversial.
    When you will get a clear picture of a diagram from State Diagram Editor, I suggest use classic state diagram pattern: case structure driven by typedef enum in while loop.
    Regards
    Mikrobi (Zbigniew St. Sobków)____________________________________________________________
    "You can lead a horse to water, but if you can get him to float on his back you've got something."

Maybe you are looking for

  • How do I get my iMessages off from my email and back to my iPhone??

    When people send or receive I messages from me it gives them my email instead of my phone number!? How do I change it back to my phone number instead of the email

  • Plug a Swing-based development tool into Eclipse

    This article teaches you how to integrate a stand-alone Swing-based editor into the Eclipse Platform as a plug-in. Using simple techniques, you can share resources between the Swing tool, the Eclipse Platform, and various SWT widgets -- and these res

  • How do I get the back cover off?

    Hey guys I just bough a new GE70 2PE Apache Pro (Ge70 2PE-010US to be precise) and I want to add an SSD to it. How do I get the back cover off so I can open it up?

  • Steps in IN-BOUND IDOC?

    Hi Experts, I know that the EDI Out Bound Process comprises of the following. steps Selection Program Message Control The Port Definition The RFC Destination The Partner Profile So, pls let me know the same in the same manner (broder way) for IN BOUN

  • Printing spreads

    Anyone know if there's a way to print spreads from Pages - not much good having facing pages if you can't, I've tried the layout option in print dialog, but 2-up adds extra margin space - not true spread printing.