How to get the 6th element of a C.V. value column

Hi all

I use Oracle Business Intelligence 11.1.1.7.131017.

I have a column with the following formula: C.V. ("Tickets". "Number of tickets"), but since we want to only show the values advocated by the past 6 months and which is an accumulative column, we added the rank function in the filter and placed as: grade (C.V. ("Tickets". " Number of tickets')) < = 6 and for the final formula, we need the minimum value that is placed in 6th place...

My problem is how to get the value assigned to this position?

Here's the column values:

30719 (value I pretend-> min)

31357

32025

32595

33652

34616 (I also use this value-> max)

Any idea on how to get the value placed on tier 6?

Thanks for the help and have a good week.

Kind regards

Frederico.

I found a solution (poor, but it works)...

As a minimum I want is always located in the row = 6 I put a case when row = 6, then returns the value I'm pretending, else return 0, so after that I need only the max of all values, as they are 0 or the value that I'm pretending, like this:

MAX (CASE WHEN (GRADE (C.V. ("Tickets". "Number of tickets')) = 6) THEN of C.V. (FILTER ("Tickets"." Number of tickets' using 'status '. ((("" Resolved "="Resolvido")) END ELSE 0)

I want to thank you all for the help, normally I post in the forum of the ADF but its good to know I can get a lot of support here as well...

Many thanks to all,

Frederico.

Tags: Business Intelligence

Similar Questions

  • How to get the child elements of the ArrayCollection collection?

    Hi all

    I want to analyze collection ArrayCollection and want the child node element.

    How to parse the arraycollection collection?

    for (var i: int = 0; i<>

    {if (arrayCollectionObject.getItemAt (i). Item is "requireditem")}

    your code

    break;

    }

    }

    Let me know if it helps

  • How to get the first element of a list?

    Hello

    I have the following hierarchy:

    A (first level)
    -A1 (A child)
    -B1 (A child)
    -B11 (B1 child)
    -B12 (B1 child)

    I have a UDA on B11 and B12 members who have the same name as the A1, and I want to assign values to A1 to B11 and B12. After that, I want to consolidate the hierarchy so I can have B1 and with values.

    I would like to use the ancestors function to do but the ancestors need a member as a parameter and the only relationship between A1 and B11, B12 is the UDA.

    I can't do @ANCESTORS (@UDA (%{dimname/}, 'A1')) because of this, so I would use a function to get at least 1 member with the UDA, I want and use ancestors on this subject, but I can't seem to find a function that returns the first member of a list.

    Can someone help me on this?

    Thank you

    Bummer, I finally shot to the top of my 11.1.2.1 instance of cloud and tried. You have (unfortunately) reason - I can spend real members names in @LANCESTORS and use it outside of a DIFFICULTY, but the minute I put in @ATTRIBUTE or @UDA he has poured out. Disappointment, because I thought that was a really cool thing.

    I think still if you know z is always the parent you want to consolidate, a @IDESCENDANTS("Z") would do the trick, but maybe with inefficient - certainly less than a full size AGG.

    Kind regards

    Cameron Lackpour

    Published by: CL 4 June 2012 10:13
    Arrgh, and it's in the docs with underlining added by me:
    If the function @LANCESTORS is used alone (not in a statement to FIX), you must use the function @LIST and specify names of members.

  • How to get the name element and xml comment in a page?

    I need to list all the name element and comment on a page

    You can use below methods.

    IXMLUtils::GetElementIndices()

    IFrameList::QueryFrameContaining()

  • How to get the numbers to remember a list of answers column on nine or more tables using the same format

    I'm new to numbers but were mainly use it to organize only a simple way to display the cases that arise in a criminal background check. So for a table, I can type driving while license revoked (DWLR) as the load and from there on the charge will fill itself or offer similar responses after typing a single key.  A well appreciated time saver but problems I can sort and summarize the criminal history for 10 people or more at a time and need to do it urgently often.   However when I opened a new table I have to cross and type a new the precise wording of a charge, its disposal (Guilty, voluntary dismissal etc.)  and just know that there is an easy way for the numbers to know in a new table that, if finished it is a list annoyingly long term broken criminal code list and do not have to do that in each new table so that it can take.  I know I'm missing something very basic, but any help would save hours for me and the other poor interns who spend twice as long just to undestand the case and troubleshoot.  Thanks for all the ideas!

    David

    Hi D,

    The AutoComplete feature provides suggestions picked on data entered in the cells above the one you are working in. You can automate the process by preparing a "full menu" table containing ALL the possible inputs for each column in the rows below the header lines.

    The checkbox in cell A1 is a switch, is used to insert the word HIDE in the cell that contains the list of AutoComplete terms. Cells in this area are filled with bright red to draw attention to them when indicated.

    A rule to reorganize (shown and applied below) hiding these lines when the box is checked.

    Hide the lines does not affect the operation of auto-complete, as shown in the table below:

    When the form is competed, action depends on how the result will be recorded and filed.

    If there is no need to edit/modify the file, it can be converted to a PDF using the print dialog. This produces a copy of the displayed part of the document only.

    If the document will require more editing, you can remove the lines containing AutoComplete suggestions. Clear the check box, select all the red lines filled, click the triangle in the row reference tabs and choose Remove.

    Formula in A2 - A10: = IF(A$1,"HIDE","")

    Kind regards

    Barry

  • How to get the result of a single line in several columns

    I have a scenario where I asked five different columns in a table and it would still look back one line.

    So, for example: the query would be
     Select user1, user2, user3, user4 from table1 where tblkey= 2 
    So, this would mean 1 row with the value of their respective areas.

    In my code, I have a common function I can call to send an email to the list of people (User1, User2, user3, user4).

    So rather than call this function each time for each user, is there a way I can display the output to 4 different rows and use the loop For to call this function only once.

    In this way, the loop For running 4 times (if not nulls for all users) and call this function of e-mail.

    Really, I'd appreciate if someone could give me an idea of this scenario.

    Thank you
    AR

    If the number of columns is fixed you may be able to use this:

    SELECT  DECODE
            (
                    RN
            ,       1,USER1
            ,       2,USER2
            ,       3,USER3
            ,       4,USER4
            )       AS USERS
    FROM    TABLE1
    CROSS JOIN (SELECT ROWNUM RN FROM DUAL CONNECT BY ROWNUM <= 4)
    WHERE   TBLKEY = 2
    

    This UN-pivot results.

    Here's an example of it in action:

    SQL> CREATE TABLE TABLE1
      2  (
      3          TBLKEY  NUMBER
      4  ,       USER1   VARCHAR2(1)
      5  ,       USER2   VARCHAR2(1)
      6  ,       USER3   VARCHAR2(1)
      7  ,       USER4   VARCHAR2(1)
      8  );
    
    Table created.
    
    SQL> INSERT INTO TABLE1
      2  SELECT  ROWNUM
      3  ,       SUBSTR(OBJECT_NAME,1,1)
      4  ,       SUBSTR(OBJECT_NAME,2,1)
      5  ,       SUBSTR(OBJECT_NAME,3,1)
      6  ,       SUBSTR(OBJECT_NAME,4,1)
      7  FROM    ALL_OBJECTS
      8  WHERE ROWNUM <= 10;
    
    10 rows created.
    
    SQL> SELECT * FROM TABLE1 WHERE TBLKEY = 2;
    
                  TBLKEY USER1      USER2      USER3      USER4
    -------------------- ---------- ---------- ---------- ----------
                       2 I          _          U          S
    
    SQL> SELECT  DECODE
      2          (
      3                  RN
      4          ,       1,USER1
      5          ,       2,USER2
      6          ,       3,USER3
      7          ,       4,USER4
      8          )       AS USERS
      9  FROM    TABLE1
     10  CROSS JOIN (SELECT ROWNUM RN FROM DUAL CONNECT BY ROWNUM <= 4)
     11  WHERE   TBLKEY = 2
     12  /
    
    USERS
    -------------------------
    I
    _
    U
    S
    

    HTH!

    Published by: Centinul on February 24, 2010 11:21

  • How to get the workflow rule to copy a picklist value in another field?

    I'm trying to copy the selected value in a list, which we will call "OldField" in the accounts and duplicate exactly in another version of this list of choices, that we will call "NewField" (with all the values in the drop-down list exactly copied). OldField is a required field, but this isn't NewField.

    NewField is configured with a default value of OldField, and I created a new rule of workflow as follows:

    * (IfNull (PRE ("< NewField > '"), 'Y') = 'Y') OR (PRE ("< OldField > '") <>[< OldField >]) *.

    When this condition is met, I created an action to a value equal to NewField * [< OldField >] *.

    When I edit an existing account, it copies the value very well, but when I create a new account record and click on save button duplication, fails to occur.

    Does anyone have any advice as to what I should do to correct my workflow rule?

    Published by: [email protected] on April 3, 2009 08:04

    Add the default value to the new field and check the default post.

  • How to get the balance of an element value

    Hello

    I have a requirement to obtain related information with balance. I am able to read the information on the element except balance.how to get the value of the particular item balance.

    for the application-> transfer and process-> queries with trust-> value the month selected and chosen balances button and queries with the obtained item name break it down the value of the balance.

    These values I want in my query.i tried backend with calling package by passing parameters like the number of transfer, balance the id and date but iam getting value "0".

    IAM new to hrms, Please help me on how to get this balance of values

    Thank you

    Hello

    It is not very clear what you want to display in the form of balance for a given range of dates.

    It depends on how you have configured your balances and periods and balance which you are referring.

    The API allows for a given only date that matches the date earned.

    Say, for example, that you have a "basic salary" defined with a "Treatment period assignment to Date" dimension and feed of the element that corresponds to the base salary.

    "If you need get the 'wage base Total' (balance?) for the period February 1, 2015 ' to March 31, 2015", then you need get dates earned for payroll passes made during that period and call the package above with the appropriate settings.

    Another way is by querying the tables/views directly: you can use, for example - it's perhaps easier to your situation:

    Select sum (nvl (pbv.value, 0))

    of pay_balance_values_v the VB.

    where pbv.balance_name = 'base salary.

    and pbv.database_item_suffix = '_ASG_PTD. '

    and pbv.assignment_id =

    and pbv.effective_date between to_date (' 01/02/2015 ',' dd/mm/yyyy')

    and to_date (' 31/03/2015 ',' dd/mm/yyyy');

    Kind regards
    Rajen

  • Win version first elements 14 rather than Mac version you downloaded. Serial number does not work. How to get the right serial number

    Win version first elements 14 rather than Mac version you downloaded. Serial number does not work. How to get the right serial number?

    It is unclear what problem you are facing... the wrong version or the wrong serial number.  The serial number is likely for the other version.  You don't want the serial number of Windows or the Mac version?

    One of the following conditions may be useful...

    You can exchange languages/platforms for a newer version product if you follow the instructions on the following link:

    l http://helpx.adobe.com/x-productkb/Policy-Pricing/Order-Product-Platform-Language-swap.htm

    To the link below, click on the still need help? the option in the blue box below and choose the option to chat...
    Make sure that you are logged on the Adobe site, having cookies enabled, clearing your cookie cache.  If it fails to connect, try to use another browser.

    Serial number and activation support (non - CC) chat
    https://helpx.Adobe.com/contact.html?step=PHSP-PHXS_downloading-installing-setting-up_lice nsing-activation_stillNeedHelp

  • I can't find my serial number for Photoshop Elements version 8. It came with a HP computer I bought in 2010. I recently had to do a recovery, it has been uninstalled. I moved since then and don't know how to get the serial number.

    I can't find my serial number for Photoshop Elements version 8. It came with a HP computer I bought in 2010. I recently had to do a recovery, it has been uninstalled. I moved since then and don't know how to get the serial number.

    Please explain how I can get the serial number?

    James, if it came with the machine and you are not registered, then you can't get it from the dealer where you purchased the machine. PSE 8 is now end of life and we have limited resources for the same thing, make sure you check the system requirements | Adobe Photoshop Elements if you try to install it on a new machine.

    If you want to upgrade to the latest version, you can check: photo editor, change the images. Adobe Photoshop Elements 13

    Atul_Saini

  • How do I get the separate elements of a table in a bean method?

    Hey everyone, how are you?

    I use Jdeveloper 12.1.2.0.0.

    I have a bean method that gets the items on a table-adf and I need the separate elements (of a given attribute) this table to highlight in the other table.

    For example: my table elements:

    ID name Tecnolgy

    1 oracle ADF

    2 oracle Jdeveloper

    3 Microsoft Visual Studio

    And I need the separate names in this table:

    Oracle; Microsoft

    So I highlighted them in another table.

    Normally I use an iterator and I will one by one and highlight what I want (as you can see, with a large table it can take a long time) and I wanted only to get the separate elements.

    My method of beans as something like this:

    DCIteratorBinding conIter = ADFUtils.findIterator ("VFactSalesNewView1Iterator");

    Line r [] = new Row [conIter.getAllRowsInRange () .length];

    r = conIter.getAllRowsInRange ();

    for (int i = 0; i < conIter.getAllRowsInRange () .length; i ++)

    {

    long productsInt = (Long) r [i] .getAttribute ("FkProduct");

    ...

    matchEmFactSalesProducts (r [i]);

    ..

    }

    I was wondering if it was possible to put a query and return the items in the request as lines (as I do with the iterator) or another possibility here.

    The request for my first table (the one in the example) is the following:

    SELECT VFactSalesNew.N_SALES,

    VFactSalesNew.QUANTITY,

    VFactSalesNew.ID_ANO,

    VFactSalesNew.QUARTER

    OF V_FACT_SALES_NEW VFactSalesNew

    WHERE

    ((nvl(:var_dimCoin,'0') = '0' OR FK_COIN IN (select * from THE (select cast (in_list(:var_dimCoin) as mytableType) double) a)))

    and the table I emphasize only has a select * from tableX;

    Any ideas?

    Kind regards

    Frederico.

    Hi Frederico,

    Hope you are well. Your VFactSalesNew table is filtered by any chance? Approach, you could do is to try to create a new VO with the following query:

    SELECT DISTINCT (yourTable.NAME)

    From yourTable

    But if your table is filtered, then I recommend you create a method in your implementation ViewObject that returns a LIST and there you iterate over the result set. In all cases, you will need to browse the whole list to get distinct values.

    Concerning

  • How to get the desired TableCell element of TableView?

    Hello
    I implement an editable table view.
    I put the cell factory to generate editable cells in each column. Double click on any cell, the 'startEdit()' of my Tablecell method is called and a textfield appears.
    My current role is on the text box TAB, the next cell in the column of the row must be in editable form. (that is to say I have to call the method startEdit() of the next collection of the TableCell element).

    But I don't get how to get the element of the next column TableCell object.

    Can someone help me get this behavior. ? If there is also another way to get this feature please let me know. ?

    Here is the code I am trying to get with on the text field.
    textField.setOnKeyPressed(new EventHandler<KeyEvent>() {
                @Override public void handle(KeyEvent t) {
                    if (t.getCode() == KeyCode.TAB){
                         System.out.println("Focus on next column....");
                         //getTableRow().getAlignment();
                         //getIndex();
                         //getTableView().getItems().get(getTableRow().getIndex());
                         //TableCell cell = (TableCell)getTableRow().getChildrenUnmodifiable().get(1);
                         
                    }
                }
            });
    Thanks in advance.
    SAI

    Maybe, I'm not entirely understand your question, but could you not call tableView.edit (line, column) of your article and have this as the StartEdit method call for you?

    -Jonathan

  • How to get the name of the element when running from popup menue?

    Hello

    I am using the 10.2 forms and a form with 2 listitems (mouse and keyboard navigable = No./false) with the same popup menu.
    When I'm currently running then menu-trigger point: system.mouse_item is not defined and: system.cursor_item the value von hase something else.

    How to get the itemname of the element that is currently leading the context menu?

    Robert

    Hello!
    Can create a PRE-POPUP-MENU trigger on block level
    with a call to go_item (: system.mouse_item)
    You know, you're on what item in the list when the context menu is active.
    Concerning

  • How to get the element selected listfield and goto next page?

    Assalaamualikum

    I try parsing the XML from a url and show in listfield.

    problem:

    How to get the selected item and passing the variable and than goto next page?

    my code:

    package parsepack;

    import java.io.IOException;
    import java.io.InputStream;
    import java.util.Vector;

    Import javax.microedition.io.Connector;
    Import javax.microedition.io.StreamConnection;

    Import net.rim.device.api.system.Bitmap;
    Import net.rim.device.api.system.Display;
    Import net.rim.device.api.ui.DrawStyle;
    Import net.rim.device.api.ui.Field;
    Import net.rim.device.api.ui.FieldChangeListener;
    Import net.rim.device.api.ui.Graphics;
    Import net.rim.device.api.ui.Manager;
    Import net.rim.device.api.ui.UiApplication;
    Import net.rim.device.api.ui.component.ListField;
    Import net.rim.device.api.ui.component.ListFieldCallback;
    Import net.rim.device.api.ui.container.MainScreen;
    Import net.rim.device.api.ui.container.VerticalFieldManager;
    Import net.rim.device.api.xml.parsers.DocumentBuilder;
    Import net.rim.device.api.xml.parsers.DocumentBuilderFactory;

    to import org.W3C.DOM.document;
    Import org.w3c.dom.Node;
    Import org.w3c.dom.NodeList;

    extends xmlparsing public class UiApplication implements ListFieldCallback, FieldChangeListener
    {

    Public Shared Sub main (String [] args)
    {
    xmlparsing app = new xmlparsing();
    app.enterEventDispatcher ();
    }

    public long mycolor;
    Connection _connectionthread;
    private static ListField _list;
    private static Vector listElements is new Vector();.
    public display display = new MainScreen();
    MainManager VerticalFieldManager;
    VerticalFieldManager subManager;

    public xmlparsing()
    {
    Super();
    pushScreen (screen);

    final Bitmap Imagearriereplan = Bitmap.getBitmapResource ("blackbackground.png");

    mainManager = new VerticalFieldManager(Manager.NO_VERTICAL_SCROLL |) Manager.NO_VERTICAL_SCROLLBAR)
    {

    public void paint (Graphics graphics)
    {
    graphics.drawBitmap (0, 0, Display.getWidth (), Display.getHeight (), Imagearriereplan, 0, 0);

    Super.Paint (Graphics);
    }

    };

    subManager = new VerticalFieldManager(Manager.VERTICAL_SCROLL |) Manager.VERTICAL_SCROLLBAR)
    {
    protected void sublayout (int maxWidth, maxHeight int)
    {
    int displayWidth = Display.getWidth ();
    int displayHeight = Display.getHeight ();

    Super.sublayout (displayWidth, displayHeight);
    setExtent (displayWidth, displayHeight);
    }
    };

    Screen.Add (mainManager);

    _list = new ListField()

    {

    public void paint (Graphics graphics)

    {
    graphics.setColor ((int) mycolor);
    Super.Paint (Graphics);

    }

    };
    myColor = 0x00FFFFFF;
    _list. Invalidate();
    _list.setEmptyString ("* only supplies not available *", DrawStyle.HCENTER "");
    _list.setRowHeight (50);
    _list.setCallback (this);
    mainManager.add (subManager);
    listElements.removeAllElements ();
    _connectionthread = New Connection();
    _connectionthread. Start();
    }

    protected boolean navigationClick (int status, int time)
    {
    Try
    {
    Here, go to another screen if you need.

    }
    catch (System.Exception e)
    {
    System.out.println ("Exception:-: navigationClick()" + try ());
    }
    Returns true;
    }

    private class login extends thread
    {
    Public connection()
    {
    Super();
    }

    public void run() {}
    Doc document;
    StreamConnection conn = null;
    InputStream is = null;
    try {}

    Conn = Connector.open (StreamConnection) ("http://ec2-54-248-241-248.ap-northeast-1.compute.amazonaws.com/koperasi-akr-trial/cgi-bin/gw-pinjama...

    DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance ();
    docBuilderFactory.setIgnoringElementContentWhitespace (true);
    docBuilderFactory.setCoalescing (true);
    DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder ();
    docBuilder.isValidating ();
    is = conn.openInputStream ();
    doc = docBuilder.parse (is);
    doc.getDocumentElement () .normalize ();
    List of NodeList = doc.getElementsByTagName ("ID");
    for (int i = 0; i)< list.getlength();="" i++)="">
    Node node = list.item (i) .getFirstChild ();
    listElements.addElement (textNode.getNodeValue ());
    }
    } catch (Exception e) {}
    System.out.println (try ());
    } {Finally
    If (is! = null) {}
    try {is.close ();
    } catch (IOException ignored) {}
    } If (conn! = null) {}
    Try {conn.close () ;}
    catch (IOException ignored) {}
    }} UiApplication.getUiApplication () .invokeLater (new Runnable() {}
    public void run() {}
    _list. SetSize (listElements.Size ());
    subManager.add (_list);
    Screen.Invalidate ();
    }
    });
    }

    }

    ' public void drawListRow (list ListField, Graphics g, int index, int y, int w)
    {
    Your string = (String) listElements.elementAt (index);
    int yPos = 0 + y;
    g.drawLine (0, yPos, w, yPos);
    g.drawText (, 5, 15 + y, 0, w);
    }

    public {get {Object (ListField list, int index)
    {
    Return listElements.elementAt (index);
    }
    public int indexOfList (String prefix, ListField list, int, string)
    {
    Return listElements.indexOf (prefix, string);
    }
    public int getPreferredWidth (ListField list)
    {
    Return Display.getWidth ();
    }
    public final void insert (String toInsert, int index) {}
    listElements.addElement (toInsert);
    }

    ' Public Sub fieldChanged (field field, int context) {}

    }
    }

    Thank you.

    I told you that replace the navigationclick() method where initialize you your listfield

    as I think that changing your code and then answer me

    _list = new ListField()
    {
    protected boolean navigationClick(int status, int time)
    {
      Dialog.inform("hi");
      return true;
    }
    
    public void paint(Graphics graphics)
    {
    graphics.setColor((int) mycolor);
    super.paint(graphics);
    }
    };
    
  • How to get the id of the CustomObjectData to a Datacard of elements using api BULK?

    Hello

    I would like to know how to get the id of CustomObjectData (3237 in the sample) for each entry in a data card. I am able to get this information, if I use the REST API. (See below) but I need to be able to get this information using the API as a WHOLE.

    Any ideas?

    URI: https://secure.eloqua.com/Api/rest/2.0/data/customObject/ {identifier}

    Answer:

    {

    "items": [{}

    'type': 'CustomObjectData ',.

    'id': "3237",

    "fieldValues can only be": [{}

    'type': 'FieldValue ',.

    "id': '192."

    'value': "Mr."

    },

    {

    'type': 'FieldValue ',.

    'id': '191 ',.

    'value': '{name} '.

    },

    {

    'type': 'FieldValue ',.

    "id": "190"

    'value': 'Brian '.

    },

    {

    'type': 'FieldValue ',.

    "id': '189."

    'value': '{email} ".

    }]

    .....

    }

    Thank you

    SAI

    Here's how:

    If you use the following statement when you create the export model, you should be able to get the id of the entry of the data card.

    {{Objetpersonnalise [30].}} ID}} instead of {{Objetpersonnalise [30].}} Field [190]}}

    I don't know how to get the date of creation and the date of update information. Any ideas?

    Thank you.

Maybe you are looking for

  • OfficeJet 4620 analysis no or copy but no print

    My Officejet 4620 analysis no or copy but no print. The top is out, but I had reset (I hope). Unable to get above where take place tie scan and copy.

  • string of worksheet to not convert table

    I modified the series read continuous write example to read in the string csv from a serial port and analyze the data in a table.  He works for the 10DOF table, but it does not work for the GPS array. I have attached a photo of a screenshot that disp

  • VI of the railways in the libraries when it is deployed

    I have a VI in a library that looks like the following with two screws MyLibrary.lvlib\VIs\Private\Ref.vi MyLibrary.lvlib\Main.vi When I run the 'current path of the VI' I get the following result: In the Mode of development: C:\ni-rt\startupMyLibrar

  • Unable to connect to internet tv (NSZ - GS7) to wifi

    Hi, we bought the sony internet tv NSZ - GS7 to the United States. I'm trying to use it in India. But I am not able to connect to my wifi. But I was able to connect to an unsecure wifi which was available in one of the neighbors (not sure whose wifi

  • install the Telnet Service for remote access

    How do we install the telnet service on my pc I can access the pc from anywhere under the same gateway.