Request for 3D stacked column chart

Hello

I had two 3D histograms. Each table has separated the SQL statement, which are very similar only difference is in the WHERE clause. Now I would like to combine the bottom two codes into one and create only a single 3-d stacked column chart.

CODE 1:

Select

link null, label RECEIVED_DATE, COUNT (TICKET_ID) as "received".

Of

QTMT_TICKETS

where

RECEIVED_DATE BETWEEN sysdate-7 AND sysdate AND

BATCH = 1

Group

RECEIVED_DATE

order by

RECEIVED_DATE / / desc

CODE 2:

Select

link null, RECEIVED_DATE, COUNT (TICKET_ID) label as "rejected."

Of

QTMT_TICKETS

where

RECEIVED_DATE BETWEEN sysdate-7 AND sysdate AND

BATCH = 11

Group

RECEIVED_DATE

order by

RECEIVED_DATE / / desc

Would you please so kind and help me with this? I tried to do it, but failed.

Thank you very much and best regards,

Vladimir

Refer to this link to add an additional series: How to create a stacked bar chart

Thank you

Tony Miller
Software LuvMuffin
Ruckersville, WILL

Tags: Database

Similar Questions

  • Display the values of the 2D stacked column chart

    Hello

    I use the following sql which shows the percententage of errors in a month
    SELECT NULL
    ,      TO_CHAR(MA.DATE_LOGG,'Mon'),
    sum(decode(el.error_type,'On',1,0)) "Ons", 
    sum(decode(el.error_type,'Pa',1,0)) "Prt",
    sum(decode(el.error_type,'No D',1,0)) "No D",
    sum(decode(el.error_type,'Sys',1,0)) "Sys",
    sum(decode(el.error_type,'Oth',1,0)) "Oth"
    FROM
           table1 MA, table2 EL, table3 CR
           WHERE
                     MA.ERROR = EL.ERROR
           AND       MA.ERROR IS NOT NULL
           AND       MA.COUNTRY = CR.COUNTRY_CODE         
          AND       TO_CHAR(DATE_LOGG,'YYYY') = nvl(:P5_FILTER,to_char(sysdate,'YYYY'))
          AND       CR.REGION_CODE = NVL(:P5_REGION,CR.REGION_CODE)
    GROUP BY TO_CHAR(MA.DATE_LOGG,'Mon'),  trunc(ma.date_logg, 'Month')
    ORDER BY  trunc(ma.date_logg, 'Month')
    Now the values are displayed correctly, however, the stacked bar displays the real percentage value, for example 60% on stacked bar. When we mouse over the bar it shows "No D", Sys, Oth. Is there a way to display permanently type Decode and percentages?

    Apex 4.1 / 11g

    Thank you
    Sun

    Hi Sun,.

    If you would like to add the series name in the values displayed in the bar of the items themselves, then you will need to customize the XML graph and update the tag to embed {% SeriesName}. I've added an example for my sample application, indicating where the XML code must be changed: http://apex.oracle.com/pls/apex/f?p=36648:90. For a complete list of available AnyChart keywords, such as % SeriesName, please see the AnyChart online documentation: http://anychart.com/products/anychart/docs/users-guide/label-text-formatting.html?fromtree.

    I hope this helps.
    Kind regards
    Hilary

  • How to get the date of request for a date column

    I have a requirement where I need to filter the data between two guests to date. I have only a single column of date and the date in the guests should be chosen by the calendar.
    I saw may approaches to do this, and I have one where two columns of fictitious date must be declared in the repository and used to define the guests of the date.

    but by using other methods I couldn't schedule option in the command prompt.

    but y at - it another way to get the guests with calndar selection without set dummy columns in the repository

    Thank you

    Try adding a column of similar date first and then edit the formula in the column

  • request for a date column is greater than one year

    Hi all

    I had a table:

    order date
    1 4/4/2010-09:10:09
    2 5/6/2011 09:10:09


    my select statement must return a line that is more than a year

    and the date is the timestamp data type (3) (taking into account leap years to)

    can someone help me

    Thanks in advance!

    Published by: 846773 on April 11, 2011 13:21

    What is "more than a year until today?"

    If you want the lines where the ORDER_DATE is older than 1 year

    SELECT *
      FROM your_table
     WHERE order_date < add_months( sysdate, -12 );
    

    or

    SELECT *
      FROM your_table
     WHERE order_date < sysdate - interval '1' year 
    

    Justin

  • Stacked column linking question

    APEX 4.0
    Anychart 5


    Setting SQL shaped for a stacked column or a bar chart is pretty simple.

    SELECT
    link,
    label,
    Value1,
    [value2],
    [value3,]...
    Of...


    This will allow your entire column/bar become a link.

    Is there a way to allow each value in a column/bar to post a link to another location?

    For example -.
    In view of the data set:

    Label: balls football: baseballs: Tennisballs
    East: 100:30:20
    West: 40:50:60
    North: 50:50:50

    A stacked bar will create three bars, each with three regions. If a link was specified according to the format described above, each region in the East bar link to the same place. Ditto for the bars of the West and the North. However, I have a 9 different links for this data set. Is this possible?

    Austin

    Hi Austin,.

    Yes, it is possible to define a different link to each item in your series on the chart. It goes down just in the way you write the query in the chart series. You can use a CASE statement to define a different link according to the value of the LABEL of your query, or you could make a UNION of several statements, with a different link defined in each select statement. Using your example data set, I've implemented the following example on my sample application - http://apex.oracle.com/pls/apex/f?p=36648:59 - and I have stressed the three queries used to generate the graph. The query of the 1 series uses a CASE statement, and other queries of two series are a UNION of several select statements. Is looking to achieve?

    I hope this helps.

    Kind regards
    Hilary

  • Multiple values per column in the stacked bar chart

    I want to use a bar chart stacked in a dashboard of the process, but I am wondering how I can add multiple values per column, because through the available methods, you can only add one value per column. I add some values to hardcode and I get the chart but, for example, I want to add series anocher in the table named 'Closed' and values for this in each column (January, February, etc.)

    Data source for filling
    result as a Fuego.Chart.DefaultXYDataSource
    result = Fuego.Chart.DefaultXYDataSource ("Opened");

    addValue result
    using
    value = 5,
    columnHeader = "January".

    addValue result
    using
    value = 10,
    columnHeader = "February".

    addValue result
    using
    value = 15,
    columnHeader = "March".

    addValue result
    using
    value = 7,
    columnHeader = "April".


    I enjoyed your collaboration if you have worked with graphics stacked bar.

    Hello

    You were very close.

    Try to use the Fuego.Chart.XYZDataSourceImpl object. This will give you the third dimension that your stacked bar chart needs and these attributes in the addValue method:

  • value
  • rowHeader (maybe that's where you set your month name)
  • columnHeader (maybe it's where set it to 'Open' or 'Closed' in your example)

    Dan

  • How to make a stacked cluster chart?

    I am creating a cluster diagram, classified by different emails sent to customers (let's call them 1, 2 and 3 Email) and has each kind of stacked e-mail based on the answer (opened, clicked).  Is it possible to have your chart be grouped and stacked?  The x-axis are labeled by the day of the week, and I would be more group by email (1, 2 and 3) every day.

    Thanks in advance for the help!

    Numbers isn't a stacked column cluster chart. But you can use a 3D stacked column and can 'cheat'similar to the way you would in Excel.

    The trick is to leave blank lines in the table of data which, when the fill color is removed, the differences between the clusters form.

    I don't understand how to get the labels for each cluster in the right place.  When the two left columns are defined as cluster labels column headers appear where it is indicated in the screenshot, is not ideal.  It is possible that the days of the week may have to be manually labeled with text boxes.

    SG

  • Impossible request for Toshiba Bluetooth SDK

    Hi all
    I am trying to send a request to have downloaded the kit of development of Toshiba Bluetooth using this interface. At the end of the page its asking me to enter the text from the Captcha image, but I do not see the image. I've tried this in Firefox and IE it doesn't show much in one of em. All solutions?

    Yes, it s working again
    [Request for Toshiba Bluetooth Stack SDK | https://aps2.toshiba-tro.de/bluetooth_sdk/Bluetooth.aspx]

  • API requests a list of columns?

    I'm looking for documentation on how to apply for the available columns in the system.

    I would like to create a plug-in for gravity forms where the user might be a form of gravity fields Eloqua columns.

    Is it possible to request a JSON of column names array?

    Steve

    Hello Stephen,

    The post following (How to set up your import) includes an example of how retrieve fields of contact of the API. The API response is a JSON array. Please let me know if you need more information.

    Thank you

    Fred

  • How to set the color for a particular column in the table in advance?

    How can we set the color for a particular column in advance table based on a few feteched of vo in process request query parameter?

    Hello

    Reference http://oraclearea51.com/blog/dynamically-color-the-rows-in-an-oa-framework-advanced-table.html

    and prev thread. Can color us the lines in the column of a table

    It will be useful.

    Kind regards
    GYAN

  • Using cfchart stacked bar chart?

    Are there examples of code for a stacked using cfchart in MX7 bar chart? I googled and searched without result.

    Thank you!

    Never mind! I found the 'secret': use several tags chartseries within a cfchart tag.

  • Several series - alignment of the line/column chart

    In one of the pages of the cartographic section of the online help of Adobe's Flex,

    http://livedocs.Adobe.com/Labs/Flex3/HTML/Help.HTML?content=charts_types_12.html#227567

    There is a photo near the top shows a line chart superimposed on a column chart, and the ends of the line segments are centered horizontally in each bar.

    There are two examples of code more far in the page of similar graphics, but the bars are only half as large as they are in the first image, and the result is that the segment of line ends coincide with the straight edges of the bar instead of the bar of the centres.

    I wonder how to produce a chart as the first photo. I tried different combinations of columnWidthRatio, but nothing seemed to help. If I add more series online for examples, the bars become thinner, as if the ColumnChart determines the bar width according to the number series, not only the serial number of the column total .

    I thought about trying to add an ItemRenderer for the ColumnSeries, but it seems like it should be an easier way. Any ideas? -Bruce

    Found the answer here:

    http://tech.groups.Yahoo.com/group/flexcoders/message/83539

  • Request for responses with multi-Select fast

    Hello

    Hoping someone can help - I need to create a prompt in a request for answers to allow users to choose a customer - I need this to be similar to a multiple selection in a dashboard command prompt so that the user can type begins by and find the customer what they want. Currently, the only options of answers is to scroll through the entire list or type the value directly. The application is simply posted as a link on a page of dashboard - I'd rather not have to create another page of dashboard if possible.

    I would be grateful for any ideas.

    With our thanks,
    Patricia

    Patricia, you try to do this more difficult it must be. Of after what you say, just use value Interaction > Browse the report which lists all the names "begins with Pat. Put "is invited" on the name of the destination report cust column and it will give you the "last step" you are looking for.

    P.S. a lot of useful tips in this thread. It would be nice to price messages with points.

  • Filter for the bearing column week on number of possibilities

    Hi all - I am trying to create a report that shows the number of projects for the past weeks 13 with a column for each week.

    I can get the correct filter for the current week, but I don't know how to revise my expression sql for the previous weeks.

    I use the 'In between' operator on the column of date with the following sql expressions:

    TIMESTAMPADD (SQL_TSI_DAY,-(DAYOFWEEK (CURRENT_DATE)-1), CURRENT_DATE)
    and
    TIMESTAMPADD (SQL_TSI_DAY, 7-DAYOFWEEK (CURRENT_DATE), CURRENT_DATE)

    As I said, this works to get the data for the current week. Does anyone know how I would revise to search beforehand for the week or two weeks earlier?

    Thanks for any help!
    Lacey

    Hello!

    If I understand correctly, you want to get a report showing the number of project per week for the current week and 12 weeks before? But according to what date? The date of project creation (I guess you have a field like that)?

    In this case, you will need to place a filter by saying something like:

    Where "Date of creation" between "Current date" and "Date of the day - 12 weeks.
    * Date Opened. Date BETWEEN TIMESTAMPADD (SQL_TSI_WEEK-12, CURRENT_DATE) AND CURRENT_DATE *.

    I guess you'll have to use the TIMESTAMPADD function with interval SQL_TSI_WEEK, the current date and the value 12.

    I tested the service request creation date to have the number of service request for the last 5 weeks, it worked...

    I hope this will help, do not hesitate to ask for more!

    Max

  • How can I prevent any request for download on icloud in clock mode?

    How can I prevent any request for download on icloud in clock mode?

    What is "clock"? Do you mean when you have an active clock on the screen? Applications where?

Maybe you are looking for