SAPUI5 Viz select Xaxis and Yaxis values

The following code gives me a nice line chart as shown below:
//Code snippet to create dataset 
var oDataset1 = new sap.viz.ui5.data.FlattenedDataset({ 
dimensions : [{axis : 1,name :'BUSINESS_DATE', value :"BUSINESS_DATE"}] 
measures :  [{name : 'Profit', value : '{Profit}'}],//Define the Y-axis parameter 
data :   {path : "/GRAPHDATA",filters: [oFilter1,oFilter2,oFilter3],parameters: {select: 'BUSINESS_DATE,PROFIT'}}}); //set the data and filter
Define line chart:
var oLineChart = new sap.viz.ui5.Line({width : "100%",height : "300px", 
  //plotArea : {'colorPalette' :['#748CB2','#FFC200']}, 
  title : {visible : true,text : 'BusinessDate Vs Profit'}, 
  dataset : oDataset1, 
  selectData : function(oEvent) { 
alert("Need to extend code");                    
Now, when I click on a single data point, I need to get the values of both X-axis and Y-axis of that data point selected. Is there a possibility of such thing in SAPUI5?
I am already trying this:
selectData : function(oEvent) {
  var yAxisIndex= oEvent.getParameter("data"[0].data[0].ctx.path.dii_a1);
  console.log(yAxisIndex);
  console.log(oModel3.getProperty("/GRAPHDATA"+('"+yAxisIndex+"')"+"/BUSINESS_DATE")); }
But the problem I am facing with this, I have explained it here Re: selectData SAPUI5 viz
Could anyone suggest how this could be done? Any example solutions. Thanks in advance.

Hello
See if you can start from here, rather than selectData use attachSelectData
var oLineChart = new sap.viz.ui5.Line({width : "100%",height : "300px",   
  //plotArea : {'colorPalette' :['#748CB2','#FFC200']},   
  title : {visible : true,text : 'BusinessDate Vs Profit'},   
  dataset : oDataset1,   
  attachSelectData: function(oEvent) {   
alert(oEvent.mParameters.data[0].data[0].val);                      
I haven't done much with this but, tell me if it works for you

Similar Messages

  • How can I get the values on Xaxis and Yaxis?

    Hi, I would like to get the values that are on the axis X and Y or to get the base value and the ticks interval for calculating the values.

    You can get the base values and intervals via the following properties:
    XAxis.MajorDivisions.Base
    XAxis.MajorDivisions.Interval
    XAxis.MinorDivisions.Base
    XAxis.MinorDivisions.Interval
    YAxis.MajorDivisions.Base
    YAxis.MajorDivisions.Interval
    YAxis.MinorDivisions.Base
    YAxis.MinorDivisions.Interval
    Note that calculating the values from these properties will only work if the axis AutoSpacing property is false. Otherwise, the ticks and labels are automatically determined by the graph depending on the available space to present something that always looks nice.
    - Elton

  • Unable to get xAxis and yAxis label in report

    Hi,
    I am creating a timeSeriesChart under Report tab for one of my Plugin. As per the management plugin guide, I am trying to get a display label against my X-axis and Y-axis coordinates. But in the final report there are no labels displayed for X axis and y axis.
    l_param_values := MGMT_IP_PARAM_VALUE_LIST();
    l_param_values.extend(4);
    l_param_values(1) := MGMT_IP_PARAM_VALUE_RECORD(
    'oracle.sysman.eml.ip.render.elem.sqlStatement',
    'SELECT MD.COLUMN_LABEL, MD.COLLECTION_TIMESTAMP, MD.Value
    FROM MGMT$METRIC_DETAILS MD WHERE MD.TARGET_TYPE=''my_custom_plugin''
    AND MD.METRIC_NAME=''SNChasActualTemperature''
    AND MD.TARGET_GUID=??EMIP_BIND_TARGET_GUID??
    ORDER BY MD.COLLECTION_TIMESTAMP'
    l_param_values (2) := mgmt_ip_param_value_record (
    'oracle.sysman.eml.ip.render.elem.ChartParamController.chartType',
    'timeSeriesChart'
    l_param_values (3) := mgmt_ip_param_value_record (
    'oracle.sysman.eml.ip.render.elem.ChartParamController.width',
    '400'
    l_param_values (4) := mgmt_ip_param_value_record (
    'oracle.sysman.eml.ip.render.elem.yAxisLabel',
    'Degree Celcius'
    l_param_values (5) := mgmt_ip_param_value_record (
    'oracle.sysman.eml.ip.render.elem.yAxisLabel',
    'Time'
    l_curr_order := l_curr_order + 1;
    l_curr_row := l_curr_row + 1;
    l_element_guid := mgmt_ip.add_element_to_report_def (
    p_report_guid => l_report_guid,
    p_element_name_nlsid => 'IPMSG_USER_CHART_FROM_SQL',
    p_element_type_nlsid => 'IPMSG_ANY_TARGET_TYPE',
    p_header_nlslid => 'Chassis Actual Temperature',
    p_element_order => l_curr_order,
    p_element_row => l_curr_row,
    p_parameters => l_param_values ,
    p_targets => null
    Any pointers would be surly of great help.
    Regards
    Sanjay

    Hi Sanjay,
    Use 5 instead of 4 in the l_param_values array declaration line:
    l_param_values.extend(4);
    Also, "oracle.sysman.eml.ip.render.elem.yAxisLabel" should be "oracle.sysman.eml.ip.render.elem.ChartParamController.yAxisLabel". The extensibility guide doc has a typo (does not include ChartParamController in the namespace) and this will be addressed in the next update.
    and you have "yAxisLabel" twice. I assume one of these you intend to be "xAxisLabel" except "xAxisLabel" is not supported (this value is implicit).
    Regards,
    -- Craig
    Edited by: cfowler on Feb 4, 2010 1:49 PM

  • Checkbox selects client and inserts value in table

    Hi,
    I have requirement where I need to create form which displays all Client Names with checkbox infront of them
    so that user can select client for whom they want to process orders.
    I have created checkboxes and trying to insert client in a table but it is not working. Here is my code.
    Any help will be greatly appreciated.
    IF :block.checkbox='Y' THEN
    insert into client values(:block.client,600,user,sysdate);
    Thanks
    Sandy

    Sorry but it didnt work. I am getting error 'Another Order is running please exit' and client could not get inserted in client_log table when client_count !=0 BUT when I give say Client_count>5 then it will insert client in table but then again one problem suppose i have checked 2,5,9,10 clients it will be inserted in table in 2,10,9,5 sequence. Can we make it in same sequence in which I have checked in form.
    Here is my code in When_Button_Pressed trigger. I have two blocks Client and Detail.
    Client data block has Checkbox, client name and detail data block has Process Button.
    PACKAGE BODY CLIENT_PKG IS
    Procedure process_call is
    client_count number;
    return_value number:= NULL;
    begin     
    select count(*) into client_count from client_log
    where log_group_source_id= 600;
    if client_count !=0 then
         message('Another Order is running please exit');
    else
         go_block('Client');
    first_record;
    loop
    if :Client.Checkbox = 'Y' then
    insert into client_log values(:client.client,600,user,sysdate);
    end if;
    exit when :system.last_record = 'TRUE';
    next_record;
    end loop;
    first_record;
    commit;
    if form_success or sqlcode = 0 then
         message('records successfully saved into database');
    message(' ',no_acknowledge);
    else
    message('Error saving records: '||sqlerrm);
    message(' ',no_acknowledge);
    end if;
         process_pkg.process_orders(600,return_value);
              message('Process Called');
         if return_value =0 then
              message('Successful processing');
         else
              message('there is some problem with'||2);
         end if;
    end if;
              end;
    END;
    Edited by: sandy162 on Mar 23, 2009 8:12 AM

  • Effecient select statment and null values

    Can some one tell me how to make the below query effecient.It is taking me 2 hour to complete.
    Insert into emp_transaction
    From
    (Select e.emp_name,e_dept from employee e where e.emp_no > 1000 and (emp_id) not in (select emp_id from removed_employee));
    Other problem with this query is if emp_id is null in employee it ignores that record completely even though emp id is never null in removed_employee table.
    Please help.

    To add-on (and correct missing the A.EMP_ID > 1000)
    If there are NULL employee.emp_id records, and you want to capture them, then you could use a FULL OUTER JOIN:
    SELECT A.EMP_NAME, A.DEPT
    FROM EMPLOYEE A FULL OUTER JOIN REMOVED_EMPLOYEE B
    ON A.EMP_ID = B.EMP_ID
    WHERE B.EMP_ID IS NULL
    AND (A.EMP_ID > 1000 OR A.EMP_ID IS NULL)
    Not sure what the Explain Plan will show, but it may be more efficient than the other query.

  • Select lists and deactivated values

    Consider the following simplified test case.
    1. create tables like this
    create table lov_values
      lov_pk number primary key
    , name varchar2(10)
    , active varchar2(1) not null
    insert into lov_values valeus ( 1, 'A', 'Y' );
    insert into lov_values valeus ( 2, 'B', 'Y' );
    insert into lov_values valeus ( 3, 'C', 'Y' );
    commit;
    create table trx
      trx_pk number not null primary key
    , lov_fk number not null foreign key references lov_values
    ) ;2. Create an APEX Insert/Update form on the trx table. Define the LOV_FK item as a select list with this query
    List of values definition:
      select name d, lov_pk r
      from   lov_values
      where  active = 'Y' ;
    Display Extra Values: Yes3. Users use the APEX form to create records like this:
      trx( trx_pk, lov_fk ) = ( 10, 1 )   -- users sees LOV_FK value as "A"
      trx( trx_pk, lov_fk ) = ( 20, 2 )   -- users sees LOV_FK value as "B"
      trx( trx_pk, lov_fk ) = ( 30, 3 )   -- users sees LOV_FK value as "C"4. A year later an admin deactivates lov_value 2/B by setting active to 'N'.
    5. When a user queries trx row 10 they still see "A".
    6. When a user queries trx row 20 they now see "2".
    7. When a user queries trx row 30 they still see "C".
    In step 6 I'd like the user to see "B" whenever they query old data with that value but I never want them to be able to create new trx rows with 2/B or update the LOV_FK value of existing rows to be 2/B. I'd also like to avoid using a pick list with a popup window just for selecting from a list of two (could be a few) values.
    Just wondering how others have dealt with this scenario in their APEX apps.

    I actually just found a simpler way in Select list filter in a tabular form problem forum thread. In the query that defines the tabular form I added a column called HIDDEN_FK_VALUE as follows.
    select
    "TRX_PK",
    "TRX_PK" TRX_PK_DISPLAY,
    "LOV_FK",
    APEX_UTIL.SAVEKEY_NUM("LOV_FK") hidden_fk_value
    from "#OWNER#"."TRX"Then I modified the the Select List query to look like this.
    SELECT name d, lov_pk r
    FROM lov_values
    WHERE (active = 'Y' OR lov_pk = APEX_UTIL.KEYVAL_NUM )Works like a charm. Thanks everyone for your input.

  • Min and MAx Value in a SELECT Statement

    Hi,
    I have a scenario where I am Selecting the values BETWEEN MIN and MAX values:
    SELECT * FROM ABC WHERE CODE BETWEEN MIN(CODE) AND MAX(CODE)
    ITS GETTING Error as:ORA-00934: group function is not allowed here
    Any help will be needful for me.

    select substr(no,1,3)||to_char(substr(no,4,1)+1) "first missing number"
    from
    with t as
    (select 'ABC1' no from dual
    union select 'ABC2' from dual
    union select 'ABC3' from dual
    union select 'ABC5' from dual
    union select 'ABC6' from dual
    union select 'ABC8' from dual
    select no, lead(no,1,0) over (order by no) next_no from t
    where substr(next_no,4,1) - substr(no,4,1) > 1
    and rownum = 1;

  • Display and return value in select list.

    hi,
    i want to display the value in select list coming from this quary .
    select student_id from class_record where class_id =:p1_class_id and SECTION =:p1_section
    minus
    select student_id from STUDENT_TYPE_DETAILS where class_id =:p1_class_id and SECTION =:p1_section;
    but i want f_name and last name with student_id .f_name and l_name store in table s_per_det.student is also in that table.
    how can i define display value and return value in this quary using 3rd table s_per_det.
    How can i do this.
    Thanks
    manoj

    Ooh, MINUS.... Can you not use a NOT EXISTS in this case, could have a big effect on the execution plan?
    Something like this perhaps?
    SELECT f_name||' '||l_name,
           stundent_id
    FROM class_record a,
         s_per_det b
    WHERE a.student_id = b.student_id
    AND   a.class_id   = :P1_CLASS_ID
    AND   a.section    = :P1_SECTION
    AND   NOT EXISTS(SELECT 'X'
                     FROM student_type_details c
                     WHERE a.student_id = c.student_id
                     AND   c.class_id = :P1_CLASS_ID
                     AND   c.section = :P1_SECTION)Cheers
    Ben
    http://www.munkyben.wordpress.com
    Don't forget to mark replies helpful or correct ;)

  • Bind Variable in SELECT statement and get the value  in PL/SQL block

    Hi All,
    I would like  pass bind variable in SELECT statement and get the value of the column in Dynamic SQL
    Please seee below
    I want to get the below value
    Expected result:
    select  distinct empno ,pr.dept   from emp pr, dept ps where   ps.dept like '%IT'  and pr.empno =100
    100, HR
    select  distinct ename ,pr.dept   from emp pr, dept ps where   ps.dept like '%IT'  and pr.empno =100
    TEST, HR
    select  distinct loc ,pr.dept   from emp pr, dept ps where   ps.dept like '%IT'  and pr.empno =100
    NYC, HR
    Using the below block I am getting column names only not the value of the column. I need to pass that value(TEST,NYC..) into l_col_val variable
    Please suggest
    ----- TABLE LIST
    CREATE TABLE EMP(
    EMPNO NUMBER,
    ENAME VARCHAR2(255),
    DEPT VARCHAR2(255),
    LOC    VARCHAR2(255)
    INSERT INTO EMP (EMPNO,ENAME,DEPT,LOC) VALUES (100,'TEST','HR','NYC');
    INSERT INTO EMP (EMPNO,ENAME,DEPT,LOC) VALUES (200,'TEST1','IT','NYC');
    INSERT INTO EMP (EMPNO,ENAME,DEPT,LOC) VALUES (300,'TEST2','MR','NYC');
    INSERT INTO EMP (EMPNO,ENAME,DEPT,LOC) VALUES (400,'TEST3','HR','DTR');
    INSERT INTO EMP (EMPNO,ENAME,DEPT,LOC) VALUES (500,'TEST4','HR','DAL');
    INSERT INTO EMP (EMPNO,ENAME,DEPT,LOC) VALUES (600,'TEST5','IT','ATL');
    INSERT INTO EMP (EMPNO,ENAME,DEPT,LOC) VALUES (700,'TEST6','IT','BOS');
    INSERT INTO EMP (EMPNO,ENAME,DEPT,LOC) VALUES (800,'TEST7','HR','NYC');
    COMMIT;
    CREATE TABLE COLUMNAMES(
    COLUMNAME VARCHAR2(255)
    INSERT INTO COLUMNAMES(COLUMNAME) VALUES ('EMPNO');
    INSERT INTO COLUMNAMES(COLUMNAME) VALUES ('ENAME');
    INSERT INTO COLUMNAMES(COLUMNAME) VALUES ('DEPT');
    INSERT INTO COLUMNAMES(COLUMNAME) VALUES ('LOC');
    COMMIT;
    CREATE TABLE DEPT(
    DEPT VARCHAR2(255),
    DNAME VARCHAR2(255)
    INSERT INTO DEPT(DEPT,DNAME) VALUES ('IT','INFORMATION TECH');
    INSERT INTO DEPT(DEPT,DNAME) VALUES ('HR','HUMAN RESOURCE');
    INSERT INTO DEPT(DEPT,DNAME) VALUES ('MR','MARKETING');
    INSERT INTO DEPT(DEPT,DNAME) VALUES ('IT','INFORMATION TECH');
    COMMIT;
    PL/SQL BLOCK
    DECLARE
      TYPE EMPCurTyp  IS REF CURSOR;
      v_EMP_cursor    EMPCurTyp;
      l_col_val           EMP.ENAME%type;
      l_ENAME_val       EMP.ENAME%type;
    l_col_ddl varchar2(4000);
    l_col_name varchar2(60);
    l_tab_name varchar2(60);
    l_empno number ;
    b_l_col_name VARCHAR2(255);
    b_l_empno NUMBER;
    begin
    for rec00 in (
    select EMPNO aa from  EMP
    loop
    l_empno := rec00.aa;
    for rec in (select COLUMNAME as column_name  from  columnames
    loop
    l_col_name := rec.column_name;
    begin
      l_col_val :=null;
       l_col_ddl := 'select  distinct :b_l_col_name ,pr.dept ' ||'  from emp pr, dept ps where   ps.dept like ''%IT'' '||' and pr.empno =:b_l_empno';
       dbms_output.put_line('DDL ...'||l_col_ddl);
       OPEN v_EMP_cursor FOR l_col_ddl USING l_col_name, l_empno;
    LOOP
        l_col_val :=null;
        FETCH v_EMP_cursor INTO l_col_val,l_ename_val;
        EXIT WHEN v_EMP_cursor%NOTFOUND;
          dbms_output.put_line('l_col_name='||l_col_name ||'  empno ='||l_empno);
       END LOOP;
    CLOSE v_EMP_cursor;
    END;
    END LOOP;
    END LOOP;
    END;

    user1758353 wrote:
    Thanks Billy, Would you be able to suggest any other faster method to load the data into table. Thanks,
    As Mark responded - it all depends on the actual data to load, structure and source/origin. On my busiest database, I am loading on average 30,000 rows every second from data in external files.
    However, the data structures are just that - structured. Logical.
    Having a data structure with 100's of fields (columns in a SQL table), raise all kinds of questions about how sane that structure is, and what impact it will have on a physical data model implementation.
    There is a gross misunderstanding by many when it comes to performance and scalability. The prime factor that determines performance is not how well you code, what tools/language you use, the h/w your c ode runs on, or anything like that. The prime factor that determines perform is the design of the data model - as it determines the complexity/ease to use the data model, and the amount of I/O (the slowest of all db operations) needed to effectively use the data model.

  • Selecting both static and dynamic values in a report.

    Hello,
    I am using the following LOV for a select list in a form based on another post (Re: Static and Dynamic LOV ordering
    It is presenting five static values along with a dynamic LOV.
    select d, r
    from (select n, d, r
    from (select 1 as n, 'NAME_A' d, 1 r
    from dual
    union all
    select 1 as n, 'NAME_B' d, 2 r
    from dual
    union all
    select 1 as n, 'NAME_C' d, 3 r
    from dual
    union all
    select 1 as n, 'NAME_D' d, 4 r
    from dual
    union all
    select 1 as n, 'NAME_E' d, 5 r
    from dual
    union all
    select 2 as n,
    (LNAME || ', ' || FNAME || ' (' ||
    to_char(DOB, 'MM/DD/YYYY') || ')') display_value,
    ID return_value
    from my_name_table)
    ORDER BY n, r asc)
    The static display and return values do not exist in my_name_table, but the static return values are recorded in my_main_table when the user submits the form.
    The tables look like this:
    my_main_table:
    record_id
    name_id
    my_name_table:
    name_id
    fname
    lname
    How can I present the display values associated with the static return values recorded in my_main_table along with the dynamic display values in a report? I am currently presenting the dynamic portion in a report using the following select statment:
    select
    (my_name_table.LNAME||', '||my_name_talbe.FNAME) AS Name
    from my_name_table
    WHERE my_main_table.NAME_ID = my_name_table.NAME_ID
    I have the additional problem that the static return values are not in my_name_table so the join in the last statement will not find the static values in my_name_table.
    Edited by: mterlesky on Feb 24, 2009 9:51 AM

    1. You will need to add an outer join to return all the values in the Main table.
    2. Then decode the values for the static LOV.
    Something like (this is not tested, but should give you the idea)
    select
    decode(my_main_table.NAME_ID,1,'NAME_A',2,'NAME_B',3,'NAME_C',4,'NAME_D',5,'NAME_B',(my_name_table.LNAME||', '||my_name_talbe.FNAME)) AS Name
    from my_name_table
    WHERE my_main_table.NAME_ID = my_name_table.NAME_ID(+)
    This will all break if any of your static LOV ID values clash with your dynamic LOV ID values.
    I am now going to give you a long lecture about hard coding values ..... ;)
    Related info: http://simonhunt.blogspot.com/2009/02/how-to-cope-with-list-of-values-lovs.html
    I hope that helps
    Shunt

  • Multiple selection list and passing that value to oracle reports

    Hi
    I need to create a multiple selection list and then based on use selection, I need to pass that value to oracle reports. Can any one help with steps on how I can do this. Thanks

    Hi
    Concatenate the multiple values into a string separated by comma and then pass that string to report as a parameter.
    In report query, you have to use the lexical parameter using ' & '
    regards
    SD

  • Right-click on browser.xul.error_pages.expert_bad_cert and select Toggle. The value will change to true.

    I am working with Firefox 30. I get a certificate error on each webpage I go to. I have reset and uninstalled the browser to no luck. I have also did the following:
    Open a new Firefox window, and type this into the address/URL:
    about:config
    - You'll probably see a warning that changing the config can be dangerous. Click the button to accept the warning and proceed, but BE CAREFUL from here on!
    - A table will appear showing various Firefox settings ("Preference Names") and their current values.
    - In the Filter box type: broswer.xul
    - There should now be a shorter list of settings, including one named browser.xul.error_pages.expert_bad_cert with a value of false.
    - Right-click on browser.xul.error_pages.expert_bad_cert and select Toggle. The value will change to true.
    - Exit completely from Firefox (i.e. close all windows), and then restart it.
    This has not worked either. Does anyone have any other thoughts?

    Any idea why you are getting these errors?
    If you expand the technical details section of the error page, there should be some kind of explanation or code there. Can you copy/paste that into a reply?
    If it says something along the lines of "sec_error_unknown_issuer" this can indicate one of these situations:
    (1) Incomplete security software installation
    Some security suites include a feature to intercept and scan your web traffic, including secure connections. In order to do this, they must present a fake certificate to Firefox, which of course, Firefox rejects. Programs such as ESET and Kaspersky provide a way to either turn off this feature, or import a master certificate into Firefox so that Firefox will trust these programs.
    Does that sound relevant?
    (2) Malware
    Unfortunately, some malware also will intercept your secure connections. Often they can do this invisibly in IE and Chrome because they can inject certificates into the shared Windows certificate store. Because Firefox uses its own certificate file, you may get errors in Firefox that you do not get in IE and Chrome.
    To distinguish these, it's helpful to inspect the "Issued by" section of one of the certificates from a site that works in IE but not Firefox.
    When you get the error page in Firefox, you can expand the "I understand the risks" section, and click the button to Add Exception. You don't need to actually save an exception to inspect the certificate, so you can cancel after viewing the certificate.
    Check the "Issued by" section to see what you find there. For example:
    * Name associated with your security software, such as ESET, BitDefender, Kaspersky, etc.
    * Sendori (indicates unwanted software from Sendori)
    * FiddlerRoot (indicates unwanted software named similarly to BrowserSafeguard, BrowserSafe, SafeGuard)
    * Something else
    What do you see?

  • Multi-select lists, their return values and showing their display value

    I have a multi select list which is dynamic. The display and return values are pulled from a table where the return value is the Primary Key.
    When people select a few options, the value is stored in session state as 11:12:13 (etc...). From here, I run these numbers through a process which takes a report ID and the multi-select string, and saves individual rows as Report_id, individual multi select value until there are no more multi select values.
    This is great, they're tied in as a foreign key to the LOV lookup table, and they are easily search able.
    I have trouble where I want to list a report's entire multi-select list. I have a function combine the numbers with a : in between them and RTRIM the last one, so I have an identical string to what a multi-select table uses. 11:12:13 (etc..)
    When I assign it to display as an LOV in a report, it just shows the 11:12:13 instead of listing out the values.
    Single number entries, where someone only selected one option in a multi select, display fine.
    Am I doing this wrong?

    Scott - you're right on the money. I did this initially because I thought assigning an LOV display value to a report column would yield the results I wanted.
    I want to do this without referring to the original table... meaning I don't want a function to have to go out and get the names, I'd like my LOV assignment to do it. This saves headache of having to change something in 2 places if it ever changed.
    Am I not going to be able to do this?
    I created a test multi-LOV page, it doesn't work with original(not processed in my function) LOV assignments either, unless you only select one.

  • I want to select a specific rectangular position from intensity graph to extract the x and y values

    I want to select specfic rectangular postion from an intensity graph to extract the X and Y values at that specific position.
    Is this possible using LabVIEW?
    @nk

    Hi nk,
    Is this possible using LabVIEW?
    Yes.
    I want to select specfic rectangular postion from an intensity graph to extract the X and Y values at that specific position.
    Just select the positions! What's your problem in doing so?
    Btw. when you select positions you already know their XY values!? I don't get the point of your task...
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • To fetch column values based on selected month and year

    Hi,
    I have a requirement where I have 2 prompts Fiscal Year and month on a report.
    Therefore when I select Year and the month I should get the ID's for the selected month till the first month of that fiscal year.
    E.g By selecting July  and year 2013 I should get all the id's in the report from Jan 2013 till July 2013.
    How to acheive his in OBIEE. Please help.

    what is the column for comparing these two dates ? I am considering CALENDAR_DATE
    CALENDAR_DATE BEWEEN
    CAST(concat('01-JUL-', (CASE WHEN pv_month in ('JAN', 'FEB', 'MAR') THEN CAST(((CAST(RIGHT(pv_Year),4) AS INT) -1) as CHAR) ELSE CAST((RIGHT(v_Year),4) as CHAR) END)) AS  DATE)
    AND
    CAST(concat(concat(concat('01-', v_month),'-'),(CASE WHEN v_month in ('JAN', 'FEB', 'MAR') THEN CAST(((CAST(RIGHT(v_Year),4) AS INT) -1) as CHAR) ELSE CAST((RIGHT(v_Year),4) as CHAR) END) AS DATE)
    This logic might work, just play around type casting..
    Regards,
    Srinivas

Maybe you are looking for

  • New iPad is not working for iMessage and FaceTime ?? Help

    Just purchased the new iPad today it will not let me sign on to iMessage and FaceTime but I am connected on wifi .... Help.

  • Recomended report to identify inactive Netuser accounts on NCS prime 1.3

    hi i have two 5508 running 7.4 being monitored by  NCS prime 1.3 Using local net users created origionally on the wlc but now from prime. we are looking for a report that will show inactive users to assist with housekeeping. rgds Graham

  • Problem creating documents using BAPI_DOCUMENT_CREATE2

    Dear all, I am using BAPI_DOCUMENT_CREATE2 to create a quality document attachment ( PDF file)  for one of our dynpro screen.. then  I retrive the document information using  'BAPI_DOCUMENT_CHECKOUTVIEW2 and show the document using function module CV

  • SXMB_MONI -- Runtime Table

    Hi, In SXMB_MONI -->  Inbound -> SOAP Header --> RunTime I can see this values below (HOST is most interesting). I have problems debugging (SXMB_MONI)  in order to see which table(s) data is stored. <SAP:RunTime xmlns:SAP="http://sap.com/xi/XI/Messag

  • Viewing Merged Data in Forms

    I have set up my form using forms wizard and connected it with an Excel spreadsheet for the data.  When I open my form, I can view the first row or record in my spreadsheet.  How do I view the other records?  I would like to print each record.