KPI's based on attributes

I would like to create KPI's based on attributes dimension.Making a singe example based on the SAMPLE db, the formula should look like this:KPI1 = Profit->True;"KPI1" & "Profit" are Accounts."True" is a member of the attribute dimension Cafeinated linked to the Product dimension.I would appreciate it if you could give me an idea or a workaround.Jana

ok, you want:KPI1 = Profit->True; You could try something like:Fix(@withattr(Caffeinated,"==",True))KPI1=Profit;EndfixYou could also fix using the @attribute.

Similar Messages

  • Filter master rows based on attributes in detail view.

    Hi,
    How do I set up VO's so that I can:
    1. filter master records based on attribute values in either the detail or master attribute values.
    and
    2. display each distinct master record with all its associated detail records.
    Stated another way, I want to list all the master records (with their associated detail records) filtered by the existence of qualifying detail records -- give me all departments which have assigned one or more employees who meet some criteria; list the departments and ALL the dept.'s employees (regardless of whether they individually meet the criteria).
    We've been struggling with this for a couple of weeks. I've been trying to accomplish this on 10.1.2, 9.0.5.2 and 9.0.3.3 with pretty much the same results on all three versions.
    To make queries based on values in either the master or detail records we created a database view that denormalizes the tables. This let's us include criteria based on either the master or detail tables, but of course rows from the master table may appear multiple times. We tried a DBMS global temporary table, but the inserted rows were not visible to the client; I'm assuming they're discarded with the session between queries or the queries establish separate sessions. I tried marking only the master record columns as selected and queriable and the detail columns as just queriable, but this causes the detail columns to be defined as transient VO attributes.
    TIA, for ideas or guidance.

    Hi,
    How do I set up VO's so that I can:
    1. filter master records based on attribute values in either the detail or master attribute values.
    and
    2. display each distinct master record with all its associated detail records.
    Stated another way, I want to list all the master records (with their associated detail records) filtered by the existence of qualifying detail records -- give me all departments which have assigned one or more employees who meet some criteria; list the departments and ALL the dept.'s employees (regardless of whether they individually meet the criteria).
    We've been struggling with this for a couple of weeks. I've been trying to accomplish this on 10.1.2, 9.0.5.2 and 9.0.3.3 with pretty much the same results on all three versions.
    To make queries based on values in either the master or detail records we created a database view that denormalizes the tables. This let's us include criteria based on either the master or detail tables, but of course rows from the master table may appear multiple times. We tried a DBMS global temporary table, but the inserted rows were not visible to the client; I'm assuming they're discarded with the session between queries or the queries establish separate sessions. I tried marking only the master record columns as selected and queriable and the detail columns as just queriable, but this causes the detail columns to be defined as transient VO attributes.
    TIA, for ideas or guidance.

  • XSD Validation based on attribute type value

    Hi,
    Can any one tell me how to validate xml element value based on attribute value.
    Ex:-
    my xml has the elements like this.
    <channel>
    <meta type="VideoTitle">Harding Park Golf Club</meta>
    <meta type="ReleaseDate">Wed, 03 Jan 2018 15:00:00 GMT</meta> </channel> I want to validate the xml based on meta type value using xsd. For "VideoTitle" i would like check for String type and for ReleaseDate" i want to check for date format. Thanks, Raj

    Try the below statement in “Competitor Lost To” picklist (IndexedPick2)
    IIf (([<ReasonWonLost>] = 'Lost to Competition' AND [<IndexedPick2>] IS NULL), N, [<IndexedPick2>])
    after you enter this do sign out and then sign in, then check
    PS: You need not change it to lookupvalue, the above statement will work as it is

  • How to Select Members Based on Attributes using Excel VBA

    Hi there,Does anyone know how to select members based on attributes using Excel VBA?I don't seem to be able to find macros or functions to do that.Panda

    you can use the Range or the Cells objects to get a reference to your range values
    in this sample the data is on A1 to B5
    Dim lineList(4)
    lineList(0) = Array(Cells(1, 1).Value, Cells(1, 2).Value)
    lineList(1) = Array(Cells(2, 1).Value, Cells(2, 2).Value)
    lineList(2) = Array(Cells(3, 1).Value, Cells(3, 2).Value)
    lineList(3) = Array(Cells(4, 1).Value, Cells(4, 2).Value)
    lineList(4) = Array(Cells(5, 1).Value, Cells(5, 2).Value)

  • Restrictions based on attribute

    Hi,
    Is it possible to do restrictions based on attributes?
    Procurement Type is an attribute of Material Plant View.
    I need to restrict Procurement Type to 'F'.
    How do i do this?
    Thanks,
    Arun KK

    Arun,
    You can do this if it is Navigational Attribute.
    If it is not, make it Navigational.
    --> Open that object in change mode > Uncheck the ATTRIBUTE OnLY check box and Activate again
    -->Open ur Infocube Navigational Attribute Tab > Check this Nav attr > activate the Cube
    --> Open your Query > Drag this Nav Attribute > Restrict.
    Regards,
    Ramkumar.

  • Is it possible to regroup data based on attribute value of a tag?

    is it possible to regroup data based on attribute value of a tag?

    Hi Rajeev,
    You can filter records during import if one of the Matching field is of type Lookup.
    In your case if you create City as flat lookup table in MDM & maintain lookup values in DM(Just as an example), then you can import only records where city is HYD.
    Map Name & City, Then in Match Records tab select both the fields (Combination)
    then right click on it & select Filter.. option.
    Now new pop up will open where you be able to see ur Lookup table values, from there select HYD and Add
    Now in default Import Action, set Create Action for None/None (All other will be skip)
    This way you will import only HYD records.
    But this is possible only on Lookup fields & not foe Text fields
    Hope this will help you
    Thanks & Regards,
    Mahi

  • Invoke different Summary Screen based on attribute value

    Hi Experts,
    I have a requirement to show different OPA landing summary page based on attribute value received from Siebel application. Is that possible?
    For e.g.: Create 2 summary screen
    Siebel field value opa_attr1 = A or B, if A I want to display summary screen 1 otherwise display summary screen 2.
    Thanks,
    Vinay

    Thanks you for your reply. The link is not what I want. My case is that I already have a map stored in Oracle database under obiee_navteq schema. I want to use OBIEE to display map by adding different image/icon at different cities based on the value of an attribute column. All the examples I can find is to use measure column as an condition, not by attribute column.
    Thanks

  • OBIEE Report based on attribute dim or say base attribute value

    Hi,
    I have OBIEE and Essbase implementation and have set of attribute dimensions. I am trying to understand how can I create reports in OBIEE where I can use the attribute values to filter, group, sum my fact data. For example I have a hierarchy for Dimension Supplier Geography as below -
    Geography (Gen1 - Dimension)
    (Gen2, Region)
    (Gen3, Country)
    (Gen4, Supplier Parent)
    (Gen5, Supplier) (Attribute as Company Name)
    Sample :
    Supplier Geography
    -- East
    -- C1
    -- PS1
    -- S1 (Comp1)
    -- S2 (Comp2)
    -- West
    -- C2
    -- PS2
    -- S3 (Comp1)
    -- S4 (Comp2)
    -- C3
    -- PS3
    -- S5 (Comp3)
    -- S6 (Comp4)
    -- North
    -- C4
    -- PS4
    -- S7 (Comp3)
    -- S8 (Comp4)
    -- South
    -- C5
    -- PS5
    -- S9 (Comp1)
    -- S10 (Comp2)
    Now, I would like to report where I can display information based on the attribute and display across different level. This would require to create drop down for this attribute values. For example -
    A drop down showing values are Comp1, Comp2, Comp3, Comp4. When user selects Comp1 and assume that I have fact as sales amount, it should show report as below -
    Comp1
    Region Sales Amount
    East - 10,000
    West - 5,000
    South - 7,000
    I don't want to add a level as company as it would result in lot of redundant information. Also, I have got almost half million members and it would explode the size if I add more levels. Is there any better way to achieve this? Can I model this using alternate hierarchy? If so how would this exposed in OBIEE again?
    Appreciate your inputs.
    Thanks

    If you are sure of the number of attributes the user will be using as criteria is fixed and will not change, you should able to bind the literals to page items like:
    select emp.ename
    from emp
    join attribute_value a1 on a1.empno = emp.empno and a1.att_name = 'DEPT'
    join attribute_value a2 on a2.empno = emp.empno and a2.att_name = 'SALARY'
    join attribute_value a3 on a3.empno = emp.empno and a3.att_name = 'HIREDATE'
    where a1.att_numeric_value = :P1_dept_value
    and   a2.att_numeric_value = :P1_salary_value
    and   a3.att_date_value = to_date(:P1_hiredate_value,'YYYY-MM-DD');or
    select emp.ename
    from emp
    join attribute_value a1 on a1.empno = emp.empno and a1.att_name = :P1_att1_name
    join attribute_value a2 on a2.empno = emp.empno and a2.att_name = :P1_att2_name
    join attribute_value a3 on a3.empno = emp.empno and a3.att_name = :P1_att3_name
    where a1.att_numeric_value = :P1_att1_value
    and   a2.att_numeric_value = :P1_att2_value
    and   a3.att_date_value = to_date(:P1_att3_value,'DD-MM-DD');What happens when your user wants to add another attribute and use it as search criteria. You have to:
    1) add a JOIN clause to the SELECT
    2) add to the WHERE clause to the SELECT
    Warning personal opinion to follow: I would give up binding (i.e.. skipping parsing os the SELECT statement) for the flexibility of generating the SELECT at runtime. If the user adds a new attribute, then the PL/SQL code that assembles the SELECT statement would not have to be changed. All the meta data is stored in the database as to what the new column is and which column in the attributes table to use (ATT_NUMERIC_VALUE or ATT_DATE_VALUE). If your method of displaying the attributes and receiving the user's criteria is dynamic like my example, then you would not have to change the application at all for new attributes.
    Just my 2 cents worth of opinion,
    Mike

  • How to realize Checkbox and Radio Buttons based on Attributes in JHeadstart

    Hy@ all,
    I try to redevelop the Summit Forms Demo in ADF.
    The module "ORDER" contains, among other things, a checkbox and radio buttons based on database columns(VARCHAR2).
    The column(checkbox) named PAYMENT_TYPE contains the values CASH and CREDIT and the column(radio button) called ORDER_FILLED contains the values Y and N.
    After creating the business components, I set in JHeadstarts Application Definition the Display Type of these two attributes to checkBox and radio-horizontal.
    I created a dymanic domain for the radio-horizontal and a static domain for the checkBox.
    The radio-horizontal within the dymanic domain works nearly correct.
    I set the Data Collection in this dynamic domain to the required Group and the Value and Meaning Attribute to the necessary Attribute.
    Within the JSF- Page the values are shown right but unfortunately there are too many radio buttons available. Instead of displaying the two radio buttons CASH and CREDIT were many CASH and CREDIT radio buttons shown.
    I can´t find any solution for this case.
    The problem with the checkBox is that therfore a static domain is required but I want to show the value of the checkBox based on the described attribute, like the handling of the radio horizontal.
    But I don´t know how to implement this, if it is possible.
    I´m using JHeadstart v10.1.3.2 and I´m pleased about any reply or solution.
    Best regards
    Chris

    Chris,
    If you run the application module tester, and query the view object usage underlying your dynamic domain, how many rows does it return? It should return only two rows, one for CASH and one for CREDIT. If more than two rows are returned, your query is wrong.
    What is the problem with using a static domain for the checkbox?
    Steven Davelaar,
    JHeadstart Team.

  • Sorting based on attributes

    In a content area folder is there a way to
    sort items based on regular/custom attributes?
    I know that we can sort based on title and size
    Thanks

    Not currently. We're considering this for a future release.
    Regards,
    Jerry
    null

  • Calculated Key Figures based on Attributes

    Hi
    In one of our queries we need to create a calculated key figure based on an attribute. Any suggestions on the best way to do this?
    I have looked at a Virtual Key Figure, but because our Cube name contains underscores (_) it shortdumps. Is there a way around this?
    Thanks in advance.
    Chami Herath

    Hi,
    what do you mean with calculated key figure based on an attribute? Is your attribute a characteristic in the cube or is it just a attribute of a characteristic? Let me know more details.
    regards
    Siggi

  • KPI Target based on Presentation Variable

    Using OIEE 11g 11.1.1.6.2 on a Windows XP machine
    I've created a KPI and also a watchlist. Added the watchlist to a dashboard that contains a Variable Value prompt. What I want is for the user to enter a target value and for that to be used within the KPI. So the variable is named KPITarget. I edited the KPI and changed the Target Value to be @{KPITarget}{90}. When I open the dashboard it uses the default of 90 for the KPI target. So then I enter a new value in the prompt and click Apply. The watchlist quickly refreshes (should take longer like it does when first opening), but does not change the Target value.
    Is there something I'm missing or do they not really work with Presentation variables even though they allow you to enter one?
    I tried using a Repository variable and that works fine, but that does not give me the ability to have the user change the target.
    Any suggestions of advice would be greatly appreciated.
    Thanks,
    Brad

    Hi,
    I am using 11.1.1.5
    Even my requirement is similar to yours where the target value needs to be refereshed based on the user inputs.
    But the KPI does not refresh the target value.
    please let me know how did you overcome your problem.
    Regards,
    HPR

  • Variable based on attributes of another variable (using Exit & CMOD)

    Hello,
    Another coding question (while I get the previous one to work!)
    I have a query with amongst others, 2 variables.
    one is a require year variable in the query only ZREQYEAR
    another is a module ZMODULE
    ZMODULE have two attributes
       Year of start ZYEAR_START
       Year of end ZYEAR_END
    I need to write a enhancement in CMOD which does the following.
    When the query runs, it asks the user for a year (ZREQYEAR), lets say they those 2010 for this example.
    Based on this, the enhancement needs to populate the variable for ZMODULE with entries where
    ZMODULE-ZYEAR_START = 2010
    OR
    ZMODULE-ZYEAREND = 2010
    and then display the query for just these modules.
    is this possible? if you can think of  better way then I am open!
    I am very new to CMOD and ABAP so please keep any responses in baby language!  THANKS!!

    Hi,
    You can follow the below given steps,
    1) You will have to do all the coding in enhancement RSR00001, for using this enhancement you will have to create a project in CMOD transaction and do the coding in the available EXIT.
    2) Inside the EXIT write your code for customer exit variable created on ZMODULE (You will have to create a customer exit variable on ZMODULE infoobject).
    3) In the exit use your variable name for doing coding,
    When "ZMODULE_VARIABLE".
      IF I_STEP = 2.
        Loop at i_t_var_range into wa_var_range where vname = "ZREQYEAR_VARNAME".
        wa_data-sign = 'I'.
        wa_data-option = 'EQ'.
        wa_data-low = wa_var_range-low.
        append wa_data to e_t_data.
        EXIT.
        endloop.
        Endif.
    The value of ZREQYEAR is assigned to variable created on module. You can use following document for reference,
    [http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/f1a7e790-0201-0010-0a8d-f08a4662562d]
    Regards,
    Durgesh.

  • Filter based on attributes

    I'm trying to filter a series of images based on a predefined
    attribute in an XML file. This works (partially):
    <div class="pic" spry:repeat="ds1">
    <div spry:if="'{@class}' == 'pt'">
    <img src="{@mainsrc}" class="{@class}" />
    </div>
    </div>
    - only images with the class "pt" are displayed, but it still
    displays all the rows in the dataset .
    In any case, I want to let the user click a button to
    re-filter using alternate values, so I think I need to use filter,
    but not sure how...
    Any suggestions?
    Paul

    Hello Paul,
    The answer to your first problem is to put the spry:if
    condition on the spry:repeat element itself so all the information
    from that repeat and not only the image to be hided:
    <div class="pic" spry:repeat="ds1" spry:if="'{@class}' ==
    'pt'">
    <div>
    <img src="{@mainsrc}" class="{@class}" />
    </div>
    </div>
    In case you want to create filters programmatically later you
    should study the different samples that show you the use of the
    filter():
    http://labs.adobe.com/technologies/spry/samples/data_region/DataSetObserver.html
    http://labs.adobe.com/technologies/spry/samples/data_region/MultipleFiltersSample.html
    http://labs.adobe.com/technologies/spry/samples/data_region/NonDestructiveFilterSample.htm l
    http://labs.adobe.com/technologies/spry/samples/data_region/SuggestSample.html
    Regards,
    Cristian MARIN

  • MDS Filter entity based on attribute from another domain

    Hi,
    I hope you could provide me with a solution to my problem. I have an entity (A), in which I use domain based attribute. The second entity (B) has several attributes. My problem is that, I would like to filter the first entity (A) based on an attribute that
    belongs to the second entity. The only way I can filter it (in MDS Excel add-in or Explorer) is by using Code or Name from the second entity.
    I have in mind a couple of solutions, but they require some coding with xml saved query from Excel.
    Is there out of a box solution that comes with MDS? 

    Hi,
    There is no out of box solution for the scenario you described. The MDS filtering is on single entity and to be precisely, the filtering to a select statement on view viw_SYSTEM_x_y_CHILDATTRIBUTES.
    So filter would only work on Name and Code attribute.
    One possible solution is create a business rule dependent on Domain attribute and copy the other DBA attribute value to current entity.
    For example,
    Entity A, Attribute A1 refer Entity B, And Entity B has Attribute B1.
    Then you can create attribute A2 on Entity A1 and setup a business rule to copy B.B1 to A.A2 when A.A1 changed.
    And can you show how dynamic xml query looks like?

Maybe you are looking for

  • How can I find my wife's iPhone? She has a different iCloud account from me.

    How can I find my wife's iPhone? She has a different iCloud account from me. I can find all of my devices on my iCloud account. But since the last software update we needed to set up separate iCloud accounts in order to be able to use iMessage indepe

  • Conversion of non - unicode ECC6 to unicode ECC6

    Hi, We are planning to upgrade/ convert the non unicode version of our current SAP system to an unicode version of ECC 6. Is there any standard guide line or road map which we can follow to make this conersion successful. Regards, Vadivelan.N.

  • I have received an error code of 150:30 in Photoshop CS4

    I have received an error code of 150:30 in my photoshop CS4 after getting a new hard drive installed in my MacBook Pro

  • Problems with downloading from Nikon D 5000

    I tried to download pictures from my Nikon D 5000 which has worked fine for the past year and all of a sudden Iphoto says it can't download the files because they are an unrecgonized format. I did the latest upgrade to my Macbook pro (intel) which is

  • Film lines

    Please excuse an obvious newbie question, but I am editing a fast action piece that desperately needs film lines. You know the ones, those lines that jump across the screen while watching an old movie? I have beeen trying to find a way to create thes