How do I link to a table from a slice of a pie chart?

My project manager is after me to add a feature to a pie chart built on one of my tables. The code that selects from the table for the pie chart is this:
select 'http://apexdevapp1.ci.raleigh.nc.us:7777',activity_type,count(ID) total FROM eba_ver2_cust_activity
where ACTIVITY_DATE BETWEEN NVL(TRIM(:P23_START_DATE), '01-JAN-2001') AND NVL(TRIM(:P23_END_DATE),
'31-DEC-2099')
group by activity_type,'http://apexdevapp1.ci.raleigh.nc.us:7777';
She wants to be able to click on a slice of the pie ("activity_type") and link to another page showing a report limited to that activity_type, selected from the same table. I know how to link from one interactive report to another, but I don't know how to do it from a slice of a pie chart. Does anybody know how?
I'd appreciate some guidance on this.
Steve the n00b in Raleigh NC

Denes Kubicek wrote:
Have you compared that link with any of your apex application links in the browser? ;) :)
Denes Kubicek
http://deneskubicek.blogspot.com/
http://www.opal-consulting.de/training
http://apex.oracle.com/pls/otn/f?p=31517:1
http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
-------------------------------------------------------------------I may be missing the point of your question, Denes, but all my links are implemented from the Link Column section under Report Attributes. They are not mentioned anywhere in the Select statement, unlike yours.
Steve "the n00b" in Raleigh NC

Similar Messages

  • Pie chart from Largest slice of another pie chart.

    Greetings!
    I'm trying to come up with a method which will allow me to create a pie chart of the subgroups from the largest slice of an existing pie chart. The "parent" pie chart will change depending upon the parameters given in the report.
    declare @dataTable table (category varchar(10), task varchar(10), timeSeconds int)
    insert into @dataTable (category, task, timeSeconds)
    values
    ('Alpha','Scrub',100),
    ('Alpha','Sweep',100),
    ('Alpha','Polish',100),
    ('Bravo','Wash',200),
    ('Bravo','Dry',200),
    ('Bravo','Fold',200),
    ('Charlie','Paint',300),
    ('Charlie','Sand',300),
    ('Charlie','Spackle',300)
    In this example, when a pie chart is produced, Charlie would have the largest slice. I then want to produce a pie chart showing only the tasks contained within the Charlie category, but which has the flexibility to render if the Alpha or Bravo groups are
    the largest slice next time.
    Thanks

    For anyone else attempting the same thing: I wound up bringing in a reference to the largest slice using a subquery in the initial query, and using that column as a filter on the second pie chart.
    I was hoping for a solution from within SSRS itself, but settled on that. I'll leave the question open in the hope someone knows how to achieve the same result from within SSRS.

  • How to delete/drop all the tables from SQL Server Database without using Enterprise Manager?

    How to delete/drop all the tables from SQL Server Database without using Enterprise Manager?
    I tried using DROP Tables, Truncate Database, Delete and many more but it is not working.  I want to delete all tables using Query Analyzer, i.e. through SQL Query.
    Please help me out in this concern.
    Nishith Shah

    Informative thread indeed. Wish I saw it early enough. Managed to come up with the code below before I saw this thread.
    declare @TTName Table
    (TableSchemaTableName
    varchar
    (500),
    [status] int
    default 0);
    with AvailableTables
    (TableSchemaTableName)
    as
    (select
    QUOTENAME(TABLE_SCHEMA)
    +
    +
    QUOTENAME(TABLE_NAME)
    from
    INFORMATION_SCHEMA.TABLES)
    insert into @TTName
    (TableSchemaTableName)
    select *
    from AvailableTables
    declare @TableSchemaTableName varchar
    (500)
    declare @sqlstatement nvarchar
    (1000)
    while 1=1
    begin
    set @sqlstatement
    =
    'DROP TABLE '
    + @TableSchemaTableName
    exec
    sp_executeSQL
    @sqlstatement
    print
    'Dropped Table : '
    + @TableSchemaTableName
    update @TTName
    set [status]
    = 1
    where TableSchemaTableName
    = @TableSchemaTableName
    if
    (select
    count([Status])
    from @TTName
    where [Status]
    = 0)
    = 0
    break
    end

  • How to copy a set of tables from a database to another periodically?

    We have a 4 node RAC primary database(10.2.0.2) with a physical standby(10.2.0.2) on our production site. Offlate we noticed that one of the applications(APP2) is causing heavy loads due large data downloads on the primary database servers. Our primary database has 2 schemas,
    1) one being the main schema with all objects, (USER1)
    2) and the other has views that query some set of tables from the main schema. (USER2)
    The application APP2 uses USER2 views to query and download huge data periodically. We need to be able to give accurate data results to APP2, but in the same time take off the load from the database, as APP2 is not our main application.
    We would like to know if there are any cost effective options in oracle to do this, and if so, what is the best option? Anyone has any experience setting up something like this before?
    We have thought of creating another 10.2.0.2 database on a different server and giving it regular updates(like data feeds) from the current database. The current database data changes quiet often, so the data feeds would have to be done often to keep the data current on the new database. So, we are not exactly sure how to go about it. Would a COPY command help?
    Please advice.

    user623066 wrote:
    Our 4 node RAC is already busy with our main application, which has its connections spread across all 4 nodes.
    Our main applications services are the same on all nodes and use all 4 nodes in the same way.
    There are some other utilities that we run from one of the app servers that connect to only 1 of the nodes.
    APP2 uses all 4 servers, which is again controlled by connection pooling and distributes the load.Wouldn't separate services be more beneficial here? If APP2 is locked down to one node during normal operation, that ensures that other connections aren't going to be competing for hardware with APP2 on 3 of the 4 nodes. If APP2 is generating less than 25% of the total load, you can let the other applications use whatever hardware resources are left idle on the node APP2 is locked down to.
    By Large data downloads, I meant both increase in network traffic and the CPU load on the database nodes.
    We are already using resouce manager to limit the resources allocated to USER2 that APP2 uses.
    And we have also limited the large downloads to take place in the early hours of the day when the traffic from our main application is less.
    But this has still not been optimal for the usage requirements for APP2. APP2 is also doing queries all through the day, but has a limit for the number of rows downloaded during peak hours.Can you explain a bit more about why using Resource Manager hasn't been sufficient? That's normally a pretty good way to prevent one hungry user from drastically affecting everyone else. Perhaps you just need to tweak the configuration here.
    Logical Standby seems a good option. But we need to keep our physical standby in place. Is it possible to have a logical standby and a physical standby? (ofcourse on separate servers)Sure. You can have as many standby servers of whatever type you'd like.
    Could we use a COPY command to copy data for the set of tables to a new database? Or is that also a complex option?You could, yes. COPY is a SQL*Plus command that has been depricated for copying data between Oracle databases for quite a while. It only works from SQL*Plus and would only be designed for one-time operations (i.e. there is no incremental COPY command). I can just about guarantee that's not what you want here.
    How do materialized views work? Wouldn't they still reside on the main database? Or is it possible to have remote materialized views?You probably don't want materialized views, but if you decide to go down that path
    - You'd create materialized view logs on the base tables to track changes
    - You'd create materialized views on the destination database that select data over a database link back to the source database
    - You'd put those materialized views into one or more refresh groups that are scheduled to refresh periodically
    - During a refresh, assuming incremental refreshes, the materialized view logs would be read and applied to the materialized views on the destination system to update the materialized views.
    Justin

  • How do we link a new table to CRMC_OBJECTS?

    RE: CRM4
    I tried to use the BBP_PDIGP table in the CRMC_MAP transaction for UI Structure CRMT_ISALES_BASKETITEM_BBP, but it says that table is not part of CRMC_OBJECTS
    How do we make BBP_PDIGP table part of CRMC_OBJECTS?
    If we can link the BBP_PDIGP table to CRMC_OBJECTS, then I can map MATGROUP from the UI Structure above with CRMC_MAP to SCHEMA_TYPE. 
    Next, we need to map the SCHEMA_TYPE in CRM to the field in ERP that we have the data already.
    Sounds simple enough...but, I don't know how to do the linkages.
    Otherwise, how might we link the field SCHEMA_TYPE found in table BBP_PDIGP to one of the objects already found in the UI Structure CRMT_ISALES_BASKETITEM_BBP - Here's the available list:
    AC_ASSIGN     Settlement Account Assignment (CRM)
    ACCOUNTING     Account assignment
    ACTION     Actions
    ACTIVITY_H     Header data activity
    ACTIVITY_I     Activity Item Data
    APO_I     APO item data
    APPOINTMENT     Dates
    ATTACHMENTS     Attachment set, not BDS!
    BATCH     Batch Properties
    BILLING     Billing data
    BILLPLAN     Billing plan
    CANCEL     Cancellation
    CONDITION_COM     Communication structure condition det.
    CONDITION_H     
    CONDITION_I     
    CONDLINE     
    CONFIG     Configuration data item
    CONFIG_FILTER     Configuration filter item
    CONFIRM     Availability confirmation
    COPY     General copy control
    COUNTER_H     APO Item Data
    COUNTER_I     APO item data
    CREDITVALUES     Open Transaction Credit Values
    CRMD_CASE     CRM Case Management
    CUMULAT_H     Header totals
    CUMULATED_I     Item cumulation values
    CUSTOMER_H     Customer header data
    CUSTOMER_I     Customer item data
    CUSTTAB_H     Table-Like Header Data for Customer
    CUSTTAB_I     Table-Like Item Data for Customer
    DOC_FLOW     Document flow
    DYN_ATTR     Dynamic attributes
    EVENT     Event handler
    FINPROD_I     Financing product data item
    FREIGHTCOST     Shipment costs
    IPM_RCHAR     Rights Characteristics
    IPM_RCTRL_I     Rights Control Data
    LEAD_H     Lead Header Data
    LIMIT     Limit
    LINK     Link Handler
    MESSAGES     Message Handler
    OPPORT_H     Opportunity header data
    ORDER     General order processing
    ORDERADM_H     Administration header
    ORDERADM_I     Administration item
    ORDPRP_I     Connection PPR to transaction item
    ORGMAN     Organizational data
    PARTNER     Partner Set
    PAYPLAN     Payment Schedule
    PRICING     Pricing Data
    PRICING_I     Pricing data und results
    PRIDOC     Pricing document
    PRIDOC_COM     Communication with price determination
    PRODUCT_I     Item product data
    QUALIF     Qualification Requirement Set
    REFOBJ     Service Reference Object
    SALES     Sales data
    SCHEDLIN     Schedule lines
    SCHEDLIN_I     Scheduling lines item view
    SERVICE_H     Service header
    SERVICE_I     Service item
    SERVICE_OS     Service reference object subject
    SERVICEPLAN_I     Service Plan Item
    SHIPPING     Shipping data
    STATUS     Status
    STATUS_H     Header Total Status
    STRUCT_I     Item structure data
    SUBJECT     Service Subject
    SURVEY     Questionnaire
    TAX     Taxes
    TEXTS     Texts
    TOLERANCE     Tolerances

    Hi Mike,
    Will it be possible for you to let me knw how the entries come in table CRMD_LINK...??
    I am not getting the entry  of orgman in this table for item guid.
    Pls help.
    Thanks,
    SA

  • How to Move or Copy the Tables from One Database to Another Database ?

    HI,
          Can any one help me on this, How i can move or copy the tables from one database to another database in SQL server 2005 by using SQL query. Hope can anyone provide me the useful and valuable response.
    Thanks
    Gopi

    Hello,
    Maybe these links help you out
    http://www.microsoft.com/downloads/en/details.aspx?familyid=56E5B1C5-BF17-42E0-A410-371A838E570A&displaylang=en
    http://www.suite101.com/content/how-to-copy-a-sql-database-a193532
    Also, you can just detach the database make a copy and move it to the new server.

  • How to insert data into a table from an xml document

    using the XmlSql Utility, how do I insert data into a table from an xml document, using the sqlplus prompt.
    if i use the xmlgen.insertXML(....)
    requires a CLOB file, which i dont have, only the xml doc.
    Cant i insert directly from the doc to the table?
    the xmlgen examples I have seen first convert a table to a CLOB xmlString and then insert it into another table.
    Isnt there any other way?

    Your question is little perplexing.
    If you're using XML SQL Utility from
    the commandline, just use putXML.
    java OracleXML putXML
    null

  • How to export and import dependent tables from 2 different schema

    I have a setup where schema1 has table 1 and schema 2 has table2. And table 1 from schema1 depends upon table 2 from schema 2.
    I would like to export and import these tables only and not any other tables from these 2 schemas with all information like grants,constraints.
    Also will there be same method for Oracle 10g R1,R2 and Oracle 11G.
    http://download.oracle.com/docs/cd/B12037_01/server.101/b10825/dp_export.htm#i1007514
    Looking at this For table mode it says
    Also, as in schema exports, cross-schema references are not exported
    Not sure what this means.
    As I am interested in only 2 tables I think I need to use table mode. But if I try to run export with both tables names, it says table mode support only one schema at a time. Not sure then How would the constraints would get exported in that case.
    -Rohit

    worked for my 1st time I tried
    exp file=table2.dmp tables="dbadmin.temp1,scott.emp"
    Export: Release 10.2.0.1.0 - Production on Mon Mar 1 16:32:07 2010
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Username: / as sysdba
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Export done in US7ASCII character set and AL16UTF16 NCHAR character set
    server uses WE8ISO8859P1 character set (possible charset conversion)
    About to export specified tables via Conventional Path ...
    Current user changed to DBADMIN
    . . exporting table                          TEMP1         10 rows exported
    EXP-00091: Exporting questionable statistics.
    Current user changed to SCOTT
    . . exporting table                            EMP         14 rows exported
    EXP-00091: Exporting questionable statistics.
    EXP-00091: Exporting questionable statistics.
    Export terminated successfully with warnings.

  • How to update value in internal table from cdpos taking fname n value_new?

    hello everyone,
              i want to insert  value in internal table from cdpos table taking field name  from fname and value from value_new.but the problem is i am not getting how to map the corresponding field of internal table with fname value  which is the field name.
    for example
    i
    fieldname
    value
    name1
    raj
    name2
    sharma
    i want to update field name1. this name1 is there in fname with updated value in value_new  how to make name1 with fname value
    thanks and regards
    laxmikant soni

    Hi Laxmikant,
    If I have understood your requirement correctly, you need to update an internal table with latest 'value_new' from cdpos table where  'fname' = 'fieldname' .
    Hope the below logic will help you:
    FIELD-SYMBOLS: <wa_intab> LIKE LINE OF lt_intab.  "the internal table you want to change
    LOOP AT lt_intab ASSIGNING <wa_intab> .
       READ TABLE lt_cdpos INTO wa_cdpos           "lt_cdpos contains latest data selected from CDPOS
        WITH KEY fname = <wa_intab>-fieldname.
       IF sy-subrc = 0.
         <wa_intab>-value = wa_cdpos-value_new.    
       ELSE.
         "//logic if the name is not there in CDPOS
       ENDIF.
       CLEAR  wa_cdpos.
    ENDLOOP.
    If you wish to improve performance, I suggest using
    1. "transporting value_new" addition in READ TABLE,
    2.  select only the data which you require from CDPOS,
    3.  create the internal tables with only fields which you require,
    4.  when you are using SELECT,LOOP AT statements, limit records by using WHERE condition
    Regards,
    Kavya

  • How do i create a new table from a *.sql file in JSP

    <html>
    <%@ page language="java" import="java.sql.*" %>
    <%@ page errorPage="ExceptionHandler.jsp" %>
    <%
    Class.forName("com.mysql.jdbc.Driver").newInstance();
    String dbUrl = "jdbc:mysql://localhost/test?user=root";
    Connection conn = DriverManager.getConnection(dbUrl);
    Statement stmt = conn.createStatement();
    stmt.executeUpdate("\\. addresses.sql");
    %>
    how would i create a table from the addresses.sql file?

    stmt.executeUpdate("\\. addresses.sql");This, of course, will not work.
    You might even execute it the same way you do from command line with some Runtime.exec() jugglery but I would suggest you to work with my first suggestion unless someone else came up with something better.

  • How can I update a customized table from a text document?

    Hi,
    I am one sample file. The file is an text document. From this .txt file how can I update a customized table in SAP.
    How can I Update the fields in the Customized table.
    Thanks & Regards,
    NManohar.

    use the Function module GUI_UPLOAD or WS_UPLOAD and give the path and the file name from where the data has to be uploaded. in table parameter give the iternal table
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        filename                      =
      FILETYPE                      = 'ASC'
      HAS_FIELD_SEPARATOR           = ' '
      HEADER_LENGTH                 = 0
      READ_BY_LINE                  = 'X'
      DAT_MODE                      = ' '
      CODEPAGE                      = ' '
      IGNORE_CERR                   = ABAP_TRUE
      REPLACEMENT                   = '#'
      CHECK_BOM                     = ' '
      VIRUS_SCAN_PROFILE            =
      NO_AUTH_CHECK                 = ' '
    IMPORTING
      FILELENGTH                    =
      HEADER                        =
      tables
        data_tab                      =
    EXCEPTIONS
      FILE_OPEN_ERROR               = 1
      FILE_READ_ERROR               = 2
      NO_BATCH                      = 3
      GUI_REFUSE_FILETRANSFER       = 4
      INVALID_TYPE                  = 5
      NO_AUTHORITY                  = 6
      UNKNOWN_ERROR                 = 7
      BAD_DATA_FORMAT               = 8
      HEADER_NOT_ALLOWED            = 9
      SEPARATOR_NOT_ALLOWED         = 10
      HEADER_TOO_LONG               = 11
      UNKNOWN_DP_ERROR              = 12
      ACCESS_DENIED                 = 13
      DP_OUT_OF_MEMORY              = 14
      DISK_FULL                     = 15
      DP_TIMEOUT                    = 16
      OTHERS                        = 17
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    and finally use insert command to update the database table with the data

  • How do I copy a spreadsheet/table from one Pages document to paste to another?

    Hello:
    I am in graduate school and am working on an assignment that requires that I use two different 'templates,' or tables, to analyze data. Instead of filling them in separately and saving as multiple documents, I have created an assignment document with my header. I want to copy the tables from the two 'template' documents and paste them both to my assignment document. I've tried highlighting the table in the template document, clicking copy, and then pasting in my assignment document. Nothing is pasted.
    What am I doing wrong?

    What version of Pages?
    What OS, iOS or OSX?
    Are you sure you have the Table selected and not a cell or just contents?
    Peter

  • How to copy a physical Alias table from one rpd to another

    Hi
    I am copy pasting the physical tables from one rpd to another. I first copied the physical table and then tried to copy the alias table i get the message ' Unknown Error' when i click ok it says
    'Failed to copy from clip board"

    Identify the "class=MyStyle" string in the MTML code, and use the Multi-File Find and Replace feature to step through each topic and change the specific instances to "class=MyOtherStyle." (I doubt that you'll want to "Replace All".)
    Sorry, there's no silver bullet!
    Good luck,
    Leon

  • How to add a stand alone table from Physical layer to Business Model

    Hi,
    I have tables from 2 different database sources in my Physical Layer.
    My Business model currently uses only tables from one database. from my second database in teh physical layer I need only one table and that will be a stand alone table, to my Presentation layer.
    1. Does it have to go through my Business layer or can it be directly added to the Presentation layer. What are the steps?
    2. Can I restrict the permissions on that stand alone table only to the administrator?
    Thank you.

    1)create a view with single column using the sql (select 1 from dual) in physical layer and join it with the table using complex join in physical layer (1=1).
    Move that to BMM, set the column as key in both physical and bmm layer.
    2) You can restrict the access for the table presentation layer
    Double click the presentation layer table -> Permission -> there you can restrict the access by user or group
    Thanks,
    Vino

  • [JS] How to break link to paragraph style from script?

    I don't found the command break link to paragraph style from script.
    I want "unapply" the style from the text, but leave the formatting intact.
    Can help me?

    In the interface it's a separate command ("Break link to style"), but it seems in a script you have to use
    Paragraph.applyParagraphStyle (using:ParagraphStyle[, clearingOverrides:bool=true])
    You cannot use "null" or something similar for "ParagraphStyle", so I guess the idea is to use paragraph style #0 in your document (which is always "[No Paragraph Style]"). Be sure to set "clearing Overrides" to false, as it defaults to true.
    The following single line works on your current paragraph:
    app.activeDocument.selection[0].paragraphs[0].applyParagraphStyle (app.activeDocument.paragraphStyles[0], false);

Maybe you are looking for

  • 4.2.2 upgrade from 4.1 and images location issue

    I've just upgraded from 4.1 to 4.2.2, and am having an issue with the referenced location of the images directory (/i/) resources. I am running apex listener on weblogic server, and have copied the new images into the i.war that I use. I have an unus

  • In the middle of a clip, the audio starts playing from another part.... Help?

    So, I'm a bit of a technological noob, so I will describe this the best I can.  I have a clip (mp4) that runs about 1 hour 30 min long.  About 30 minutes into the clip, the audio from the beginning of the clip randomly starts playing, yet the video c

  • How to sort options by text if option value is int & option text is string?

    Hi All, I've an application in which on a jsp page has two html:select (listBox). Further 3 buttons are provided namely ADD,REMOVE and SAVE. On click of ADD the selected option from listBox 1 is transferred from listBox 1 to listBox 2. On Click of RE

  • Steps for ABAP Mapping

    Hello,      Can any one explain how to do ABAP mapping?and necessary trancsaction codes for this? Ex: I am sending PO to reciever system. And if posibel screen shots....plz Thank you

  • Error in Personnel change request workflow

    Hi all, I am using WS50000042 ie no approval process workflow for Request for Change of Working Time/Employee Group & Subgroup/ Personal Area  etc where in, once the manager initiates the request , it should directly go to the HR Administrator. The p