Access the X-axis value from Flash Chart

Hi,
Is there a way I can access the X-axis value from Flash Chart to populate a report in another page? My X-axis is not a direct column in the table it is computed in the query.
X-axis is MON-YEAR computed from the Begin_Date column. I want to capture the MON-YEAR clicked by the user to populate a report for that Mon-Year.
Here is my chart SQL.
select 'f?p=&APP_ID.:18:&SESSION.:::::::' link,
to_char( "VIEW"."BEGIN_DATE",'MON-YYYY') label,
sum(decode(TYPE_Id,2,Value,0)) "Value-1",
sum(decode(TYPE_Id,1,Value,0)) "Value-2"
from "VIEW" where to_char( "VIEW"."BEGIN_DATE",'MON-YYYY')= to_Char(sysdate-100, 'MON-YYYY')
group by to_char( "VIEW"."BEGIN_DATE",'MON-YYYY'),
to_char( "VIEW"."BEGIN_DATE",'YYYY')
order by to_char( "VIEW"."BEGIN_DATE",'YYYY')
Any suggestions?
Thanks

Thanks Marco..
I did the same thing. I found this info at Re: Charts and links
in the forum.
Thanks for the help again.
Nimmi

Similar Messages

  • How To keep CNiKnob from going directly from the Min axis value to the Max axis value?

    When a user drags the pointer on a CNiKnob with the mouse, he/she is able to drag the pointer directly from the minimum axis value to the maximum axis value.
    This is obviously unacceptable. So is there a way to disable this behavior or a work around?

    Unfortunately, there is not an easy way to do this with CNiKnob. One way you could work around it would be to handle the CNiKnob's OnPointValueChanged event and keep track of the previous value, then detect if the value jumps from the min to the max or vice versa and if it does, set it back.
    If you migrate to .NET in the future, the Measurement Studio Windows Forms .NET Knob control lets you easily configure this and is the default behavior when you add a Knob to your form. For more info, see the documentation for the Knob.InteractionMode property.
    - Elton

  • Changing the custom XML for a flash chart dynamically

    Hello
    I am wondering if anyone has found a way to change the custom XML
    for a flash chart dynamically.
    For instance.
    On the www.anychart.com website their is a gallery with charts.
    I have studied one called "2Dlinetimechart. It has hours on the X-axis.
    When I view the XML for this chart.
    I found this enrty
    - <block color="0x0080C0" border_color="0x0080C0" name="Sales dept.">
    <set value="0" argument="0" name="00:00" />
    <set value="1" argument="0" name="01:00" />
    It uses the tag value to set the position on the X-axis. But the tag name to set the labels on the X-axis.
    I have not found a way to do this in application express 3.0.
    Therefore I wonder if I can change to XML dynamically, and build my own block based on the input I have.
    Or even build a chart, based on a xml that I create first then sends to the object that renders the chart.
    Hope this makes sence ?
    Ulf
    PS this is related to my question about
    http://forums.oracle.com/forums/thread.jspa?messageID=1887210?
    using dates on the x-axis.
    But would by nice to know a general method to rebuild the xml-file dynamically so I can change the chart within the limits of the xml-definition.

    String value = ResultSet.getObject("myfield").toString();
    String opvalue = "15";
    <OPTION Value=15 <%=((opvalue.equals(value))?"selected":"")%>>

  • Converting rotatation value from flash into svg

    hi,
    Advance thankx for helping me
    Here i am taking the rotation value from flash and
    transfering into svg by the forumlae and getting varibale fdeg then
    also it is not coming in the position seen in flash window which is
    not in svg file.
    And also check the formulae is right to convert the value
    from angle to degree.
    if We scale the object it comes in right scaled and right x
    and y position. only if We rotate the rotated object is in correct
    angle but not in correct x,y axis position
    Regards,
    R.Denesh Kumar
    [email protected]

    post as2 questions in the as1/as2 forum. and if you use code
    in a message avoid using [ i ] or your code will be difficult to
    read.

  • Values from Flash to PHP

    I am using AS2 and passing some values from flash to php,  flash files is on page file1.php   values are passing fine , it pass values when user click button
    when button is pressed {  var myVal:LoadVars = new LoadVars(); myVal.flieName = "fileid1 "; myVal.send("file1.php", "_parent", "POST"); }
    Problem: when it pass the values , it refresh the page and Flash File is also refreshed and Flash file start from frame 1 and all the values on flash becomes default  in other words when user click "file1.php" is sumbitted , so the page is refreshed What is the solution , that after passing values the page remains or flash reamins as it is ( not refresh the contents )

    use:
    var receiveLV:LoadVars=new LoadVars();
    receiveLV.onData=function(src){
    var myVal:LoadVars = new LoadVars(); myVal.flieName = "fileid1 "; myVal.sendAndLoad("file1.php", receiveLV,"POST"); }

  • Using an index to access the last n values of a certain combination

    I have a large table of the following form:
    Name Typ
    ID NUMBER
    M_DATE DATE
    M_LOC NUMBER
    M_ARTICLE VARCHAR2(30)
    M_TYPE VARCHAR2(30)
    M_MEASURE VARCHAR2(50)
    VALUE NUMBER
    In this table there is only a small number of different locations, articles, types and maesures but a large number of m_date values.
    I want to access the last 10 values for a certain combination of locations, articles, types and measures.
    I have an index
    create index i_res_2 on results (m_loc, m_article, m_type, m_measure, m_date);
    In my opinion it should be possible to access the last 10 values directly by this index, but
    when I do my select in the following way it seems to me that first all datasets with the same
    locations, articles, types and maesures are selected, then sorted by date and then the last 10
    dates are selected. As those datasets are spread over the whole table it needs a higher number
    of physical reads. Is there a way to have an index on m_date and an other form of this query
    that selects the requested values with less phyical reads? (Database version is 10.2)
    SQL> select
    2 id,
    3 m_date,
    4 value
    5 from (
    6 select
    7 id,
    8 m_date,
    9 value,
    10 rank() over (order by m_date desc) r
    11 from results
    12 where m_loc = '14001'
    13 and m_article = '11211-00-00'
    14 and m_type = '0002'
    15 and m_measure = '032')
    16 where r <= 10
    17 order by m_date asc;
    ID M_DATE Value
    3931958 05.03.10 69.00
    3931960 05.03.10 69.00
    3905712 10.03.10 68.60
    3999535 10.03.10 69.70
    3985125 11.03.10 69.40
    3957851 11.03.10 69.60
    3949799 21.03.10 68.70
    4017369 21.03.10 69.00
    3951981 22.03.10 68.80
    3983554 22.03.10 68.80
    Abgelaufen: 00:00:03.00
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 1 | 48 | 6 (34)| 00:00:01 |
    | 1 | SORT ORDER BY | | 1 | 48 | 6 (34)| 00:00:01 |
    |* 2 | VIEW | | 1 | 48 | 5 (20)| 00:00:01 |
    |* 3 | WINDOW SORT PUSHED RANK | | 1 | 39 | 5 (20)| 00:00:01 |
    | 4 | TABLE ACCESS BY INDEX ROWID| RESULTS | 1 | 39 | 4 (0)| 00:00:01 |
    |* 5 | INDEX RANGE SCAN | I_RES_2 | 1 | | 3 (0)| 00:00:01 |
    Predicate Information (identified by operation id):
    2 - filter("R"<=10)
    3 - filter(RANK() OVER ( ORDER BY INTERNAL_FUNCTION("M_DATE") DESC )<=10)
    5 - access("M_LOC"=14001 AND "M_ARTICLE"='11211-00-00' AND "M_TYPE"='0002' AND
    "M_MEASURE"='032')
    Statistiken
    1 recursive calls
    0 db block gets
    547 consistent gets
    474 physical reads
    0 redo size
    766 bytes sent via SQL*Net to client
    380 bytes received via SQL*Net from client
    2 SQL*Net roundtrips to/from client
    2 sorts (memory)
    0 sorts (disk)
    10 rows processed

    I found a solution, which is much better in terms of physical reads and consistent gets even if the optimizer calculates higher costs. But I still think, that there should be an easier way to do this:
    SQL> select
    2 id, m_date, value from results
    3 where
    4 (m_loc, m_article, m_type, m_measure, m_date)
    5 in
    6 (select m_loc, m_article, m_type, m_measure, m_date
    7 from (
    8 select /*+ first_rows(10) */ m_loc, m_article, m_type, m_measure, m_date
    9 from results
    10 where m_loc = '14001'
    11 and m_article = '11370-00-00'
    12 and m_type = '0002'
    13 and m_measure = '032'
    14 order by m_loc,m_article,m_type,m_measure,m_date desc
    15 ) where rownum < 10);
    ID M_DATE VALUE
    2495995 01.02.09 70,4
    2457657 19.01.09 66,9
    2556262 13.02.09 67,4
    2496232 01.02.09 67,6
    2465051 20.01.09 67
    2454994 19.01.09 67,4
    2545951 13.02.09 67,4
    2502216 01.02.09 67,5
    2497533 01.02.09 67,2
    9 Zeilen ausgewählt.
    Ausführungsplan
    Plan hash value: 3924867000
    | Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 1 | 122 | 8 (25)| 00:00:01 |
    | 1 | TABLE ACCESS BY INDEX ROWID| RESULTS | 1 | 39 | 3 (0)| 00:00:01 |
    | 2 | NESTED LOOPS | | 1 | 122 | 8 (25)| 00:00:01 |
    | 3 | VIEW | VW_NSO_1 | 1 | 83 | 4 (25)| 00:00:01 |
    | 4 | HASH UNIQUE | | 1 | 31 | | |
    |* 5 | COUNT STOPKEY | | | | | |
    | 6 | VIEW | | 1 | 31 | 4 (25)| 00:00:01 |
    |* 7 | SORT ORDER BY STOPKEY| | 1 | 31 | 4 (25)| 00:00:01 |
    |* 8 | INDEX RANGE SCAN | I_RES_2 | 1 | 31 | 3 (0)| 00:00:01 |
    |* 9 | INDEX RANGE SCAN | I_RES_2 | 1 | | 2 (0)| 00:00:01 |
    Predicate Information (identified by operation id):
    5 - filter(ROWNUM<10)
    7 - filter(ROWNUM<10)
    8 - access("M_LOC"=14001 AND "M_ARTICLE"='11370-00-00' AND "M_TYPE"='0002'
    AND "M_MEASURE"='032')
    9 - access("M_LOC"="$nso_col_1" AND "M_ARTICLE"="$nso_col_2" AND
    "M_TYPE"="$nso_col_3" AND "M_MEASURE"="$nso_col_4" AND "M_DATE"="$nso_col_5")
    Statistiken
    1 recursive calls
    0 db block gets
    36 consistent gets
    14 physical reads
    0 redo size
    748 bytes sent via SQL*Net to client
    381 bytes received via SQL*Net from client
    2 SQL*Net roundtrips to/from client
    1 sorts (memory)
    0 sorts (disk)
    9 rows processed

  • How can we read the screen field values from the report selection screen wi

    Hi expart,
    How can we read the screen field values from the report selection screen with out having an ENTER button pressed  .
    Regards
    Razz

    use this code...
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_posnr.
    **Read the Values of the SCREEN FIELDs
    CALL FUNCTION 'DYNP_VALUES_READ'

  • I would like to see and access the correct sound patches from my E-mu mps orchestral plus from inside of logic express.

    I would like to see and access the correct sound patches from my E-mu mps orchestral plus from inside of logic express.
    Right now , I have access to some of the sound files but most are missing and all are incorrectly labeled.
    Is it possible to ("Library") these sound files or access them from logic?
    Thanks
    J

    HI,
    I'm not quite sure who you think you are addressing here with your idea but this is a user to user forum. Apple don't come here.
    If you want to offer ideas or feedback to Apple, it would be best for you to do it here:
    http://www.apple.com/feedback/logic-pro.html

  • Error in accessing the sample application content from the OBIEE 11g

    I installed OBIEE 11g + Oracle 11g database on one machine. Everything went smoothly with no issues.
    I can connection to the database from SQLPLUS.
    Then I followed instructions to deploy sample app. After everything is done, when I try to access the dashboards, reports etc from the OBIEE 11g home page , I get the error below.
    I am stuc kand dont know how to proceed. I verified tnsnames.ora and everything seems good.
    In the SampleAPp.RPD, I set DB_SID as "ORCL" and DB_HOST as my computer name (along with domain name). No idea how to proceed from here..
    I really appreciate any help.
    Odbc driver returned an error (SQLExecDirectW).
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 43119] Query Failed: [nQSError: 17001] Oracle Error code: 12541, message: ORA-12541: TNS:no listener at OCI call OCIServerAttach. [nQSError: 17014] Could not connect to Oracle database. (HY000)
    Thanks

    Thanks for the replies.
    1) Was the oracle installed in multiple instances ? if yes set the Variable path correctly pointing to your right folder
    Yes, oracle had multiple instances. I tried copying the tnsnames.ora from my oracle home to the Oracle_BI1/network/admin directory as 11g apparetnly comes with a Oracle client as BIFACTs suggested in his/her reply. I put the same in the path variable
    2) Try to ping the service_name tnsping service_name(SID) from command prompt
    This works.
    3) check whether you may have "white spaces" in tnsnames.ora file at starting of entry
    No white spaces appeated
    I still see the same issue! I logged in as developer credentials as mentioned the sample app documentation.
    I get the same "cannot connect to database" error.
    I once in a while see an issue with javahost not starting. Not sure what is the impact of javahsot not running and all the other managed processes running.
    Please help....

  • New install of SQL 2014 Std MSDN. Get "The SQL Server product key is not valid. To proceed, re-enter the product key values from the Certificate of Authenticity (COA) or SQL Server packaging."

    Trying to install a new version of SQL 2014 Std 64 or x86. Installing on Windows 8.1Pro 64bit machine.
    I get:
    "TITLE: SQL Server Setup failure.
    SQL Server Setup has encountered the following error:
    The SQL Server product key is not valid. To proceed, re-enter the product key values from the Certificate of Authenticity (COA) or SQL Server packaging.
    Error code 0x858C0017."
    I looked at the summary log and that is the only error.
    I made sure there were no other instances of SQL on this machine. Uninstalled all VS2013 and sql instances just in case. IF there is somewhere to check if a previous version or license is causing the issue, i would be glad to check.
    Any help would be appreciated.

    Hi,
    Please read this thread with similar issue
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/bdd94577-515c-49fa-be44-008eacece057/installing-sql-server-2012-on-a-new-vm-error-code-0x858c0017?forum=sqlsetupandupgrade
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Articles

  • Accessing the Logon User Exit from the Internet using an ITS Service

    I can access the Logon User Exit (EXIT_SAPLSUSF_001) from R/3, but not from the Web using an ITS service. What am I missing in order to access the Logon User Exit from the Web. The ITS service was created from an ABAP screen program.
    Thanks
    david yee

    The SAPGui logon exit is called after successfull authentication has been completed and after a SAPGui session has been attached.
    If you logon via RFC, WebGui, ICM or the Wgate then this exit does not trigger.
    What are you wanting to add to your code after the logon ?
    An solution I have used is to create a wrapper RFC for a BAPI and create a webservice for the wrapper. Before calling the BAPI you can do whatever you want to from a security perspective.
    But for that you need to have an appropriate BAPI...
    Please explain what you want to do and what you would have wanted in the exit. Often there is a better way.
    Cheers,
    Julius
    ps: I moved this to the security forum.

  • How do I access the photos and videos from my computer that I backed up from my phone to verizon backup assistant plus?

    how do I access the photos and videos from my computer that I backed up from my phone to verizon backup assistant plus?

    You can download the PC (or mac) desktop application. 
    http://support.verizonwireless.com/clc/devices/knowledge_base.html?id=54607
    or you can sign into My Verizon ( http://www.verizonwireless.com/myverizon ) then navigate to MyVerizon/Manage & Store media.

  • My 7-year-old iMac died. I don't plan to replace it. It is backed up to Crashplan. Is it possible to restore my iPhoto library to the cloud, i.e. iCloud or Dropbox, so that I can access the photos as needed from my iPad or iPhone?

    My 7-year-old iMac died. I don't plan to replace it. It is backed up to Crashplan. Is it possible to restore my iPhoto library to the cloud, i.e. iCloud or Dropbox, so that I can access the photos as needed from my iPad or iPhone?

    Probably not - but that certainly does not involve iPhoto for the Mac - you need to look at Crashplan support for you options 
    And iCloud is not a place to store photos so that is certainly not a possibility
    If you restore your masters folder out of the iPhoto library you will have all of your original photos to do with what you please
    LN

  • What permission is needed for a login to access the restored database(backup from different server)

    what permission is needed for a login to access the restored database(backup from different server)
    frequently reach the situation, when vendor restores a database, but he cannot access it unless I remap or add his login to the restored database. What permssion can grant the vendor so that he can but only can access the database he restored, not all other
    databases.

    Hi George,
    According to your description, When you move a database from one server that is running SQL Server to another server that is running SQL Server, a mismatch may occur between the security identification numbers (SIDs) of the logins in the master database
    and the users in the user database. As other post, you can use the sp_change_users_login stored procedure to map SQL Server logins. Also , you can use the following statement after doing the restore database. It will
     fix the mis-mapped SID inside the restored DB.
    ALTER USER <username> WITH LOGIN = <username>
    For more information, you can review the following article.
    http://blogs.lessthandot.com/index.php/DataMgmt/DBAdmin/MSSQLServerAdmin/do-you-still-use-sp_change_users_login/
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • How can I use a timestring saved from LV as a csv spreadshee​t file as the x axis of a LV chart?

    I'm saving the timestring portion of a timestamp as HH:MMS  along with each set of data fields to a cvs spreadsheet file, i.e. each row of the file starts with the timestring followed by data in each remaining column. The first row contains data field headings. I can read this file back into LV with no problem and can remove the header row but cannot find a way to use that timestring as the x axis of a chart graph. I have no problem graphing the data in that format within Excel itself. Can anyone help?
    Thanks,
    DennisR

    Check the timestamp indicator, it is trying to write your time-stamp to your time-zone, so you will need to change the time-stamp to universal time. For the time-stamp indicator it is easy enough you just need to edit the indicator to display universal time, however for a purely data sense it is a bit odd, I have never found a straight forward way to do it so I use the conversion between Time in Seconds and Date/Time to do it for me.
    Attachments:
    Time Extract.png ‏21 KB

Maybe you are looking for

  • How do I duplicate custom print layouts across multiple pages?

    Hi there, brand new to LR. Using a Macbook Air. I understand that in order to print 3 4x6 images on one 8.5 x 11 sheet of paper I need to create a Custom Package Layout and then manually drag and drop each photo into a cell. That's fine, I've created

  • HT1926 I just tried to update to the latestItunes and now it wont open.

    After updating to the lastest version of Itunes now my computer will not open it. It says it is missing MSVCR80.dll and to reinstall. Then when I click ok it pulls up a box that says Error 7 (windows error 126) I tried reinstalling. I don't want to r

  • What command to use in command prompt inside HP Recovery Manager to recover hard drive?

    Hi, I'm trying to use HP's Recovery Manager to restore my hard drive to the original factory settings. When going into Recovery Manager via "F11" during computer startup, all of the options are greyed out except, "Run Computer Checkup." Inside that o

  • Column not allowed here

    HI, I have a function and i want t odo like this: create or replace function func( dbl varchar2,tr varchar2) return number is d2 timestamp :=sysdate; trc varchar2(4): dblnk varchar2(255); begin trc:=tr; dbllnk:=dbl; execute immediate 'insert into t@'

  • Problems accessing parameters, files - problems in general.

    I've been posting my problems to comp.lang.java.programmer but Google Groups is exceedingly slow to update and I've been stuck on this for nearly two whole days: I am developing what will be a series of web utilities for our company and our client's