Page Item Ignored In Pie Chart

Hi,
I want to run the following SQL to populate my PIE chart:
SELECT null link, 'Clean', clncnt FROM lstlstsum WHERE lstidd1 = :P27_LSTIDD1
UNION
SELECT null link, 'Conversation', trmcnvcnt FROM lstlstsum WHERE lstidd1 = :P27_LSTIDD1
UNION
SELECT null link, 'Awaiting Retry', rtycurcnt FROM lstlstsum WHERE lstidd1 = :P27_LSTIDD1
UNION
select null link, 'Future Retries', rtyfutcnt FROM lstlstsum WHERE lstidd1 = :P27_LSTIDD1
UNION
select null link, 'Awaiting Callback', bckcurcnt FROM lstlstsum WHERE lstidd1 = :P27_LSTIDD1
UNION
select null link, 'Future Callback', bckfutcnt FROM lstlstsum WHERE lstidd1 = :P27_LSTIDD1
UNION
select null link, 'Completed Max Retries', trmmaxcnt FROM lstlstsum WHERE lstidd1 = :P27_LSTIDD1
UNION
select null link, 'Passed', trmpascnt FROM lstlstsum WHERE lstidd1 = :P27_LSTIDD1
UNION
select null link, 'Invalid', trminvcnt FROM lstlstsum WHERE lstidd1 = :P27_LSTIDD1
UNION
select null link, 'Barred', trmbarcnt FROM lstlstsum WHERE lstidd1 = :P27_LSTIDD1;
However when I do it returns no data, the Item :P27_LSTIDD1 is populated from a select list but seems to be ignored in this statement.
Also if I try and validate this sql statement at design time i get the error ORA-00911: invalid character. Can anybody tell me why?
Regards
Simon

Try removing the semicolon.
I'd be tempted to modify this using a view which you can then query once with P27_LSTIDD1 to make things a bit clearer...
create view vllstlstsum as
select 'Clean' lst_type, clncnt lst_count, lstidd1
union
select 'Conversion', trmcnvcnt, lstidd1
union
then your SQL for the pie just needs to refer once to lstidd1

Similar Messages

  • Charts based on page items

    Hello,
    I want to create a Pie chart based on page items. There are 3 page items that I want to use for an Pie chart. The page items are calculated in an page process PL/SQL block and they are numbers. I want all PL/SQL in that page process and from there built the Pie chart. Is this possible to use the page items for the pie chart, I can only find information to build charts with querys.
    I use apex 4
    Edited by: Martijn Brands on 1-sep-2010 2:46

    I have used an function with three values as input and returning an pl/sql table with the three values.

  • Pie Chart / Query : Top 3 and Remainder

    Hi
    I am trying to develop a template, which shows various exception information to the end user. There are approximately 20 exception scenarios which are analysed each night and data stored in the cube. This information is then related back to the end user via a simple web template.
    I can show that data in a table nicely.
    I have created an additional query with a "Top 3" condition applied, which results in the 3 exceptions that contribute the mos to the total being displayed. This query can then be used as the source for a pie chart, so the user can see graphically which are the most important exceptions to address.
    I have now been asked to include a "remainder" item in that pie chart, or not have the pie chart add up to 100%. What the user wants to see, is what the top 3 exceptions were, and what all the other exceptions added up to, essentially the difference between 100% and the sum of the contribution (%) of the top 3.
    I can write a query which displays the top 3, and include in that a result row which shows the sum of the percentages. So, for example, it will display the 3 and the total will be 87%, meaning the remaining errors contributed 13%, but how would I get this as an additional row in the query?
    Alternately, is it possible to have a pie chart that doesn't add up to 100%. A pie chart that is incomplete in essence?
    Any advice would be appreciated.
    Cheers,
    Andrew

    Hi Andrew,
    To show the value as a percentage and not have the total be 100%, you need to calculate the value in the query. Create a key figure to calculate the percentage and use a condition to only show the top 3. Conditions wont effect the totals or percentages so the total percentage won't add up to 100.
    I don't think it's possible to show a 'other' value with the remainder.
    Kind regards,
    Alex

  • Overlay a graphic on a Pie Chart, & Rotate text in a Pie Chart

    Is it possible to overlay a graphic on a pie chart?
    I've tried manipulating the Wrap Inspector, but regardless, when I paste a graphic on topic it drops below the pie chart and deletes one segment of the pie.
    In a related pie chart question, is it possible to rotate the text to face into the central axis, think spokes in wheel (vs. the default horizontal). I can rotate the pie chart in about 3 dif. inspectors, but no luck here...and my texts is just a little too long to fit nicely in the default (and too hard to read if I reduce the font size).
    Thanks

    I assume you want to have a graphic that sits over the chart, and that you see the values underneath? Something like a shine, worn texture or logo?
    If you are wondering what happened to your particular 'missing slice' open the Graph inspector and select that section. Chances are you have changed the tiled image which was assigned to that particular piece of the pie chart.
    To overlay a graphic, draw a circle shape. In the graphics inspector assign an image fill to that shape. Choose tiled or scale to fit as required (a png. file with transparencies will show the underlying values, as will setting the opacity of the circle)
    Turn the wrap off for the circle (It sounds like your pie chart may be set to 'moves with text' instead of 'locked to page') And then place it overtop of the pie chart. Resize to fit. Since this is now 'locked to page' and above the pie chart, any movement of the pie chart means you will have to reorient your overlay. To avoid this, set the pie chart to Locked to Page as well.
    At this point you can set the wrap for the pie chart so the text moves around it if you like. Your overlay and the pie chart will remain in sync if they are both fixed to page.
    Regarding your text question, no. You can't set that. What you can do is use a numerical, letter or symbolic value and include a legend manually to indicate the true names of the portions using a text box.
    (I've seen someone with a pie chart whose segments were labeled with seven words, the last two of which were the only ones that changed. I suggested using the unchanging portion as the graph title and the changing portion as the individual slices. Not sure if that would apply to your project.)

  • Pie chart legend showing digit "1" when we set "ignore blank cells"property

    All,
    We have pie chart in Xcelsius 2008 that shows the data with legend value and we have also set the ignore blank cells property to ignore the blank value from column. but once we set this property, it displays the digit "1" in the legend when there is no data.
    we are expecting that nothing should be displayed in pie chart legend when there is no data for the pie chart.
    Thanks,
    Sourabh

    hi Sourabh,
    I could replicate your scenario.
    Workaround is to create a duplicate of this chart. Go to properties of this new chart.
    Go to Appearance ->
    Uncheck
    - Legend
    - Mouse-over values
    - Data Labels
    for this chart.
    Write a logic in excel using 'IF' to verify if your data is empty.
    Use 'Dynamic Visibility' feature to display this chart only when your data is empty.
    Display your original chart if your data is not empty.
    Regards,
    Vamsee

  • Pie Chart select event fires all items instead of selected

    Hi,
    I would like to fire an event from the select on a particular element in a pie chart.
    The Flash Debugger shows that the select is sending all items to the data service. I only want to send the selected item to the data service
    I am using SP8.
    Any suggestions.
    Thanks.
    Dick
    --- Debug Logger ---
    21:  [AAD4] schedulePlan(SELECT)
    20:  [AAD4] schedulePlan(FORM5_SELECT)
    19:  [AAD4] raiseEvent(FORM5, SELECT)
    18:  [AAD4] Number of rows in Response is: undefined
    17:  [AAD4] Threshold number of rows is:
    16:  [AAD4] receiveADC4()
    15:  [AAD4] schedulePlan(SELECT)
    14:  [AAD4] executeNext(shift plansQueue - length:0)
    13:  [AAD4] executeNext([STEP10])
    12:  [AAD4] Sent request: <Request type="executeFunction" function="getBorrowerByName_R" system="BorrowerFinal2" systemType="WebServicesFactory" manageConnection="N" encode="Y" commit="N" convert="N" dsmid="Administrator:com.myComp.myProduct.4.Digital_dashboard.par:1166609751870"><Input name="INPUT" shape="OBJ" appName="INPUT" ><Meta><field name="arg0" appName="arg0" type="string"/></Meta><Row arg0="Hirsch"/><Row arg0="Boston"/><Row arg0="New York"/><Row arg0="Macy's"/><Row arg0="Sears"/><Row arg0="Hedges"/></Input><Output name="Response" appName="OUTPUT___sp___Response" shape="OBJ" capacity="0"></Output><Output name="RETURN" shape="ROW" capacity="1"/></Request>
    11:  [AAD4] checkStep([STEP10])
    10:  [AAD4] [PLAN17] Invoke ADC4
    9:  [AAD4] executeNext([STEP3])
    8:  [AAD4] checkStep([STEP3])
    7:  [AAD4] [PLAN17] Map CHART2 -> ADC4.INPUT
    6:  [AAD4] executeNext([STEP11])
    5:  [AAD4] [PLAN17] Reset ADC4
    4:  [AAD4] executeNext([STEPundefined])
    3:  [AAD4] schedulePlan(CHART2_SELECT)
    2:  [AAD4] Engine fire infoset change event, notify to: GRID6
    1:  [AAD4] raiseEvent(CHART2, SELECT)

    Hi Marcel,
    I am surprised that you got this to work.  How did you configure your pie chart?
    >You have to assign an event to the data mapping between the chart and the data provider (write select for the event name).
    I did this (look at the Flash debuggerinfo  in the initial post) but this didn't help.  Can you post the Flash debugger info from your pie chart?
    Thanks.
    Dick

  • Navigation to a page from Pie Chart (or DVT component) on mouse click

    ADF Mobile: I have a pie chart on page_1. How to open a new page (page_2) when a slice of the pie chart is clicked in ADF Mobile?
    Edited by: 969936 on Jan 24, 2013 9:17 PM
    Edited by: Jugal Madhavan on Jan 25, 2013 9:21 PM

    Thank you Mr. Frank for your reply.
    I am using JDev11gR2 (Studio Edition Version 11.1.2.3.0 Build JDEVADF_11.1.2.3.0_GENERIC_120914.0223.6276.1) to create a Mobile Application (ADF).
    Here, i dont have "Action" property for any DVT Components.
    But if we are creating a web application, "ClickAction" property is available for DVT components which can be used to perform some action.
    Kindly request you to share further inputs.

  • Changing pie chart to 3D pie causes it to lose the master page scheme and become rock patterns instead.

    When I change my Keynote pie chart to a 3D pie chart it loses the master page color scheme, becoming rock patterns instead. I haven't been able to get it to return to the original color scheme.

    Thanks for the response.
    On the first issue, unfortunately formatting the legend using that technique results in no change to the legend. The only way I was able to get it to resize was by resizing the entire chart area.
    On the second point, I must be missing something. Do you mean that there is no way to format a chart such that all slices have the desired formatting at runtime unless the report is always run with the same parameters? I might as well just draw a static picture :/

  • Problems pasting pie chart from Numbers into Pages table

    Hello,
    I'm trying to paste a pie chart from Numbers into a table cell in Pages 09 but it doesn't allow me. Would you know why?
    Thanks,
    Pedro

    Probably because it is a smart object connected back to the Numbers document.
    If you want it purely as a graphic, try copying the chart in Numbers switching to Preview.app and going command n which will make it a pdf file, then copy that and paste that into Pages. But it will no longer be a live chart.
    Peter

  • Copying Graphs and Pie Charts generated in Analysis View to Email item using Excel VBA Macro Code

    Hi
    I am currently working on an exce VBA macro code that would help me take snapshots of the Graphs and Pie charts generated in QC for a particular application and copy the same to an email item using excel VBA macro code.
    I was able to write the code to create an email item. But I have no clue of how i can take snapshot of the graphs in Analysis View using excel VBA
    Any help would be highly appreciated.
    Thanks in Advance
    Regards
    Amit

    useramit,
    You are in the consumer end products forum.  You will also want to ask your question over at the Enterprise Business Community.
    Click the plus sign (+) next to Discussion Boards to drop down all the options for servers, networking and any other professionally related problems.
    http://h30499.www3.hp.com/

  • Charting a page item

    I´d like to use the line chart function to chart a previously selected page item;
    I´d like to do something like this:
    select null l,
    TIME,
    VAR
    from(select
    to_char(timestamp, 'HH24:MI:SS') TIME, P100_PAGEITEM VAR
    from TABLE
    where VARIABLE2 = x
    order by TIME)
    where the P100_PAGEITEM is pulled from a selector box on the page.
    Sergio, if you´re reading this, it´d be like a one variable ad hoc chart function...
    Any ideas on how to do this?

    This basically means that there is an object that has its top left corner at x: 34 y: 488 which is too large to be rasterized, it could be due to any large object that is extreme wide or tall.
    Try to check page content and then resize it to verify the behavior. Please let me know how it goes.
    Thanks,
    Sanjit

  • Creating a custom pie chart

    Hey,
    If I have a table worksheet created with the following headings:
    TotalVisitor Male Female
    -------5------------3-------2 (Ignore the ---)
    How would I go about creating a pie chart using only the Male and Female columns? I don't want to use the total column. Also, is there any way to display both the count and percentage of Males and Females on the graph, so for example the male slice of the pie would be labeled something like 3 - 60%, or etc?
    Any suggestions?

    hi user445907--
    your link column in your chart query seems to us the correct syntax, so i'd imagine the issue is with your data/query or the item name in question...
    check the query and data: make sure your query returns valid values to be passed of to P21_DD_SALESORG. if so, you should see your links correctly formed as you hover your mouse over the individual slices. if your links look good then check your item names.
    item names: if your links above look okay, then might you be setting the value of the incorrect item? please confirm that. after clicking a pie slice to get to page 21, check to see that P21_DD_SALESORG is correctly set by clicking the Session link in the developer toolbar.
    basically, i'm suggesting that because your link column in your query looks okay, you'd want to see at what point the NULL value is being passed/set. try tracing things from the chart query over to page 21 (and try going backwards if you have to). if you can't find the disconnect, please feel free to set up an example on an instance, where i can take a look.
    thanks,
    raj

  • Pie chart bug in Numbers 3.0 on OS X?

    When I select a range and try to make a pie chart, the pie chart always shows 100% full for the first item, and completely ignores the other items to be included in the chart.
    I tried to do a 95% / 5% pie chart and no matter what I do, the pie chart only comes out as 100% full.

    Hi Rafagon,
    Try clicking the chart, then the blue 'Edit Data References' box, then in the lower left of your screen, change Plot Rows as Series to Plot Columns as Series, or vice versa.
    SG
    (That's a trick Ian taught me in the old Numbers, where the rows/columns switcher was in a different position.)

  • Creating a SVG Pie Chart With Different Portion Linking To Different URL

    Is it possible to create a SVG pie chart in which different portion will point to different URL. on HTML DB version 1.5.1.00.12
    For example i've tried something like this:
    on page 20 i have a svg pie chart
    select
    'f?p=&APP_ID.:21:#APP_SESSION#::::P21_DD_SALESORG:'||region,region,code from demo_region;
    i have a query in page 21 like this:
    select country from demo_country where region= :P21_DD_SALESORG;
    so when i click on a particular region on the pie chart on page 20 the value of item
    P21_DD_SALESORG on 21 should be set.
    but the value of P21_DD_SALESORG is always getting passed as NULL from the pie chart.
    I've tried it on HTML DB version 1.5.1.00.12
    Look for an early reply
    Thanks & Regards,
    Rupak
    Message was edited by:
    user445907

    hi user445907--
    your link column in your chart query seems to us the correct syntax, so i'd imagine the issue is with your data/query or the item name in question...
    check the query and data: make sure your query returns valid values to be passed of to P21_DD_SALESORG. if so, you should see your links correctly formed as you hover your mouse over the individual slices. if your links look good then check your item names.
    item names: if your links above look okay, then might you be setting the value of the incorrect item? please confirm that. after clicking a pie slice to get to page 21, check to see that P21_DD_SALESORG is correctly set by clicking the Session link in the developer toolbar.
    basically, i'm suggesting that because your link column in your query looks okay, you'd want to see at what point the NULL value is being passed/set. try tracing things from the chart query over to page 21 (and try going backwards if you have to). if you can't find the disconnect, please feel free to set up an example on an instance, where i can take a look.
    thanks,
    raj

  • Drill down pie chart using SVG

    Having read several posts in this forum regarding SVG, pie charts and drilling down, I get the impression that it is possible, using the "link" column in the chart query, to drill down to another page.
    My requirement is similar in that given a pie chart, the user can click on one of the sections of the pie and see more detail in another pie chart. The difference is that the page should not change (ie: other graphics and content ought not change when the pie chart is clicked).
    Has anyone worked out a solution for something like this?
    Is it, for example, possible to, on clicking the pie chart, have a conditional display set for a previously hidden chart and hide the original chart?
    Your replies are appreciated.

    I just re-read this and realize you want it on the same page. Same logic applies. Create a hidden item, a second chart region taking in the parameter from the first, and set it to show only when the hidden item is not null.
    Let me know what you think:
    http://htmldb.oracle.com/pls/otn/f?p=20332:1
    Code for the first chart is:
    select 'f?p='||:APP_ID||':1:::::P1_DRILLDOWN:'||cu.customer_id,
           cu.cust_first_name || ' ' || cu.cust_last_name,
           count(ord.order_id)
      from demo_orders ord,
           demo_customers cu
    where cu.customer_id = ord.customer_id
    group by 'f?p='||:APP_ID||':1:::::P1_DRILLDOWN:'||cu.customer_id,
    cu.cust_first_name || ' ' || cu.cust_last_name2nd Chart:
    select null,
           product_name,
           count(ite.product_id)
      from demo_orders ord,
           demo_order_items ite,
           demo_product_info pro
    where ord.order_id = ite.order_id and
           ite.product_id = pro.product_id and
           ord.customer_id = :P1_DRILLDOWN
    group by product_nameModify as necessary.

Maybe you are looking for

  • Distinguishing Open and Closed Purchase Orders

    We have a BI query which shows all Purchase Orders split by line item. We would like to be able to determine which of those Purchase Order line items is closed within the core SRM system and which are still open. Is anybody aware of an InfoObject tha

  • File adapter dynamic configuration - Multiple filenames

    Hi Can anyone explaing the following. We are using the sender file adaper to pick up files from an ftp location. The dynamic config is used to store the filename. We are getting 1 PI message per file, but the dynamic config in SXMB_MONI is sometimes

  • Is it possible to make MIRO against multiple documents???

    Dear experts , Is it possible to make an invoice verification against multiple delivery notes / or multiple POs?? Pls let ma  know Thanks & regards Anis

  • PS3 Gamepad Support in Mavericks - do I need the cable every time to avoid the flashing lights?

    I now have an early 2011 Macbook Pro, 17".    I kind of wanted to play a few games without resorting to the keypad, and had heard that PS3 controllers worked out of the box with Mavericks.  I followed the instructions found online in various places -

  • Set path for emacs

    Hi The emacs located in /opt/sfw/bin But how to set path for that so i can use emacs or other software in any other directory. I put set path=(/opt/sfw/bin $ path) in my home dir /export/home/joanna/.cshrc but it did not work. Which file should i mod