Charting Query Total results in WAD

Hello, I have a question regarding charting only the results in WAD. Currently, I have a % Lot Acceptance Calculated Key figure and in my Rows "Vendor" Upon executing, I get each individual Vendor counts which fall in the % Lot Acceptance bucket. I then retrieve the results, summed up view but when I chart this in WAD, I do not want any low level results but only the rolled up results. Any suggestions on what approach I should take? Should I possibly be pre-calculating the % Lot Acceptance in the Update rules and create a new field % Lot Acceptance which holds the "resulted" value? Should I utilize Virtual Characteristics/Key Figures? Thanks for your help in advance.

Andy,
Welcome to SDn ,
whhat you could do is to remove all the drill downs so that the query result matches what you want in the chart and then save the same as a view , then attach the view to a chart data provider.
Maybe posting it in the Business Explorer forum will be of more help...
hope this helps...
Arun
Assign points if useful

Similar Messages

  • Total result  & formula result  is wrong in query out put

    Hi BW gurus
    I have issue with total result and formula result
    my requirement
    Formula for hours is ( total time / Counter / 60)
    hours  column displaying
       14.2
         2.4
         3.4
    Total -
    5.6   not  20    then I setp calculate results to SUM  now total displying 20  perfect.
    Then I am using hours colum for calculation   here is my issue
    Qty rec per hour formula is = received / Hour
    Hours   Qty rec per hour          received
    14.2              100                            14200
    2..4               100                              2400
    3.4                100                              3400
    20                 300                              20000        result column for qty rec per hour is wrong . formula is not working on result for qty rec per hour
    Actually qty rec per hour result should be 20000/20  = 1000
    How to resolve this issue
    Thanks
    Rohan

    Hi BW Gurus,
    Thanks for your help .
    Let me explain my issue with examples :
    My report is by document date level ( Not at Po or PO line Level)
    I have a 3 Key figures
    1.  Hour -  is poulation at  PO Line level
    Ex :  4500001    1             5.30
                             2            5.30
                             3            5.30
    Then I am using counter to get single for time
    Hour/ Count  now my value is 5.30 in the report . hour column is perfect
    2. Po Qty  is fine
    3.  Qty Recd per hour ( Calculation)    PO QTy / Hour
    Now the issue is  each row caluculating perfect . but result row is not correct  Qty Received per hour . We don"t wont  sum of  Qty received per hour in result . We want  Caluclation result in the result
    Here is the issue
    If I have multiple POs for same document date  , each row is fine but system using division at Hour result also by COunter . because of thati am getting wrong hours in result for hour . this wrong result is using for Poqty receved per hour result  also .
    I put total for hour coulum result is perfect but for clauclation it is talking total hours/ total conter result .How to replace result caluculating by counter .This is our major issue .
    Appriciate your response
    Thanks
    Rohan

  • Chart only for result

    Hi all,
    I have a query with key figure SALES and drilldown for customer.
    I must to create a pie chart only for total row and key figure, but I need to keep customer drilldown.
    Is possible to do it in bex or web?
    How can I do, please?
    Thank you
    Gianmarco

    My problem is that I have some virtual key figure in the query and so if I remove the drilldown the result change.
    So I must to keep drilldown and create chart only for result row.
    The problem isn't the filter.
    Can you help me, please?

  • Query overall Result while using structures

    Hi all,
    I have 2 structures in my query, in both <b>rows and columns</b>. Now I want to display the total result for all the columns in my structure. How do I go about that?
    I cant use cell definition as I used the cell definition on a couple of cells to calculate and all other columns have been derived normally thru selections and formulas.
    Any insight or pointers would be appreciated and rewarded.
    Cheers,
    Sri

    Thanks folks - I figured it out.

  • Query with results always needed...

    Hi
    Would you please help me to get this query? I noew with Oracle 9i...
    What I need is to create a query Not empty or with rows always.
    I have a list below where I need to get the count and the sum grouped by Source in a Date range.
    - The fact is that if I change my date range (suppouse aprl/01/04 thru apr/30/04) the query will result with No rows, ok.
    I need to create a row for every group (SAP, CAC), with Zeroes on the Count and on the Sum...
    - If any group (SAP/CAC) have rows but the other one not also need to create a Zeroes row for the group that does not fall in the date range, suppose 03/03/2004...
    Source Payment Code_Emp In_Date
    SAP 100.00 001 01/01/2004
    SAP 100.00 001 01/01/2004
    SAP 100.00 001 02/02/2004
    SAP 100.00 001 02/02/2004
    SAP 100.00 001 03/03/2004
    CAC 100.00 001 01/01/2004
    CAC 100.00 001 01/01/2004
    CAC 100.00 001 01/01/2004
    CAC 100.00 001 01/01/2004
    CAC 100.00 001 02/01/2004
    CAC 100.00 001 02/01/2004
    Total for date range from 01/01/2004 to 01/31/2004
    Sum of Count
    Payments
    Totals for SAP 200.00 2
    Totals for CAC 400.00 4
    Difference –200.00 -2
    I GOT SOMETHING LIKE THIS, BUT THIS WILL RETURN ME MORE THAN 2 ROWS, ONE FOR SAP OTHER FOR CACE AND OTHERS WITH NULLS....
    SELECT Source,
    NVL(Count(code_Emp),0) T_Payment_Req,
    NVL(ROUND(Sum(payment),2),0.00) T_Payment_Amount
    FROM ApDetail
    WHERE Reconciliation_Id is Null
    AND In_Date BETWEEN To_Date('01/01/2004','MM/DD/YYYY')
    and To_Date('01/31/2004','MM/DD/YYYY')
    GROUP by Source
    union
    SELECT Source, 0, 0
    FROM ApDetail
    WHERE Reconciliation_Id is Null
    KIND REGARDS.

    SELECT
    Count(SAP.code_Emp) SAP_T_Payment_Req,
    Count(CAC.code_Emp) CAC_T_Payment_Req,
    ROUND(NVL(Sum(SAP.payment),0),2) SAP_T_Payment_Amount,
    ROUND(NVL(Sum(CAC.payment),0),2) CAC_T_Payment_Amount,
    ROUND(NVL(Sum(CAC.payment),0),2) -
    ROUND(NVL(Sum(SAP.payment),0),2) Difference
    FROM ApDetail CAC, ApDetail SAP
    WHERE
    (SAP.Reconciliation_Id is Null
    AND SAP.In_Date BETWEEN To_Date('01/01/2004','MM/DD/YYYY')
    and To_Date('01/31/2004','MM/DD/YYYY')
    AND SAP.SOURCE = 'SAP')
    AND (CAC.Reconciliation_Id is Null
    AND CAC.In_Date BETWEEN To_Date('01/01/2004','MM/DD/YYYY')
    and To_Date('01/31/2004','MM/DD/YYYY')
    AND CAC.SOURCE = 'CAC')
    This Query ALWAYS return ONE record.

  • Chart Query and Failed to parse SQL query

    Hi,
    first of all, this is not a question. It is a reminder for me and maybe for someone with the same problem.
    I just fell over this for the 123124 time.
    I have a 3D Chart Query
    select sum(order_ok) value,
          count(*) maximum_value
    from      v_dialer_campaign
    where campaign_uuid = :P300_CAMPAIGN_IDSaving fails with
    "1 error has occurred Failed to parse SQL query!" ...
    Saving the query without validation works, but does not show any result in the chart.
    v_dialer_campaign is a view selecting from a view in a mssql db over database link and HS.
    running the select in sqlplus or toad works.
    Without any trace on freetds/unixodb/hs side, i would have not found the following line:
    [FreeTDS][SQL Server]The data types nvarchar and text are incompatible in the equal to operator.[FreeTDS][SQL Server]Statement(s) could not be prepared.
    Solution:
    with q as (select :P300_CAMPAIGN_ID val from dual)
    select     sum(order_ok) value,
         count(*) maximum_value
    from     v_dialer_campaign
    where     campaign_uuid in ( select val from q)Maybe the error output when validating the query should be included in the APEX error message.
    Same solution applies for dynamic LOV's reading from HS using a where clause.

    I tried your first query on Apex 3.2 and it created a nice dial chart.
    Is there any ORA-xxxxx error along with the "failed to parse SQL query" message? Did you double check column & table name spelling?
    P.S. The second query is invalid (a superfluous comma after the second column).

  • Can not retrive total result for 0HDCNT_LAST(number of  employee)

    Dear all:
    We tried to create query from cube 0PA_C01. We used 0ORGUNIT and Number of Employees(0HDCNT_LAST) in the row and column.Also we created a formula to get total result of number employees by SUMGT (0HDCNT_LAST). But when we executed this query, there is no cumulative value appeared in the "total result" of bottom row. And we are not able to catch total result by formula as well. The setting for infoObject of 0HDCNT_LAST is integer and cumulative.
    Can anyone tell me what is going wrong?
    Thank you very much
    BR
    SF

    Hi Jasprit,
    I am loading the headcount (0HR_PA_0) to Actions & Headcount cube. As a part of load I have used all the standard fields of the cube. Apart from that I have populated the functional group value from Employee-Org Masterdata. As this is an time dependent.
    0HDCNT_LAST is an non-Cumulative key figure in the cube which is get populated from the 0HR_PA_0.
    I required a headcount report by functional group. So I have pulled 0HDCNT_LAST & Period into the Columns and Functional Group into Rows.
    When I run the report for headcount by function group it is showing very less value. But if run the same report by including the Employee and the functional group in the rows then it is showing the correct headcount in the result.
    I am not sure where I am missing.
    Regards,
    Tony

  • Chart Query problem

    Hi all ,
    I am a newbie to Oracle apex and have stuck in an issue . I am using this query for my Chart Source
    select NULL link, count() Count VALUE , to_char((TRUNC(ORDER_DATE)),'Month') "Month"*
    from  "HR"."OEHR_ORDERS"
    group by to_char((TRUNC(ORDER_DATE)),'Month')
    order by 1 desc
    but it gives this error when i click next
    1 error has occurred
    Failed to parse SQL query!
    select NULL link, count() Count VALUE , to_char((TRUNC(ORDER_DATE)),'Month') "Month" from "HR"."OEHR_ORDERS" group by to_char((TRUNC(ORDER_DATE)),'Month') order by 1 desc*
    Certain queries can only be executed when running your application, if your query appears syntactically correct, you can save your query without validation (see options below query source).
    what should i do and what am i doing wrong ? as this query gives the correct result if i run it in SQL window
    thanks for the help in advance

    In your first query, you gave the count(*) column two names COUNT and Value. That I think was your only mistake.
    The column ordering might not matter if you only have one value column, but if you want a single chart query to represent more than one line, then the ordering matters.
    In my application I use an Apex item to hold the entire query as text, including v(...) bindings, and displays 1 to 50 lines, dynamically depending on the number of value columns. The names of the lines are derived from the column names.
    /kenny

  • Pie Chart on Overall result only

    Hi
    I have records like below
    Profile  TotalOrders    ErrorsOrders         NoErrorOrders
    AllTel    20                  15                        5
    Cellco    64                  34                       30
    Overall
    Result    84                   49                       35
    I want the Pie Chart on Overall Result only . So i created the WebTemplates for it and i included the Chat and Table webitem .
    So how can i get the chart on only overall result .
    Regards
    Suresh

    You want to display both on the same chart item ?
    In this case, you've to define the query with display of the overall result, and change the properties of the chart item, to say that you display the results. Don't know if it's flagged on or off by default. No need of 2 DP. I thought you wanted to display a chart with details on one side, and an overall result on the other side.

  • How to have total result of CKF use the formula of the CKF

    Hello experts, in a couple of BI reports we need that a Calculated Key Figure's total result use its same formula, instead of using the different calculations that are offered for totals. Let me explain:
    We have the following report (please ignore the "-"):
    Month----Entries---Exits----Percentage
    Jan--82--
    25%
    Feb--63--
    50%
    Mar--81--
    12.5%
    Result--226--
    Percentage is calculated as "Exits / Entries * 100", or "Exits %A Entries" (in the latter case, the default calculation of total is "average", while in the former it is "sum") and has an exception aggregation of "Average" with reference characteristic "Calendar Month". The problem we have run up with is that we want the result of Percentage calculated the same way, which is somewhat similar to an average. However, the result is always calculated based on the individual results. This gives us different numbers.
    Result Percentage = Total Exits %A Total Entries = (6 / 22) * 100 = 27.27% (CORRECT)
    Result Percentage = Average of individual Percentages = (25 + 50 + 12.5) / 3 = 29.16% (INCORRECT)
    I've tried different approaches, such as changing the reference characteristic and exception aggregation, selecting "average" as the method of calculating results or individual values, checking the "cummulated" and "Also apply to results" checkboxes, etc. but I was unsuccessful.
    Any thoughts?

    I'll post sample data and give a more thorough explanation of both queries (the one that works correctly and the one that does not). Both queries come from the same infocube:
    The correct query: it is a monthly report of entries vs exits for all store types but one (called "general" which should not be included here) in a base country (so if base country is, for example, France, then all stores in France). The query structure and sample data (ignore the "-"):
    January--February--
    Exits--EntriesPercentageExitsEntries--
    Percentage
    Store type 1--52025%918--
    50%
    Store type 2--41822.22%320--
    15%
    Store type 3--125621.43%1360--
    21.67%
    Total--2194
    22.34% -2598--
    25.51%
    This query is initially restricted by the base country and the store type "general" (so that it is not considered).
    The incorrect query: it is a monthly report of entries vs exits for store type "general" ONLY, outside the base country. The query structure and sample data (for ease of analyzing, I am repeating the data in the key figures, changing the store for the calendar month):
    Country 1--Country 2--
    Exits--EntriesPercentageExitsEntries--
    Percentage
    January--52025%918--
    50%
    February--41822.22%320--
    15%
    March--125621.43%1360--
    21.67%
    Total--2194
    30.33% -2598--
    28.89%
    This query is initially filtered by the store type "general" and the base country (so that it is not considered).
    As you can see, the percentage can change quite a lot. What confuses me is that in both cases I am using the same CKF "Percentage" with "Average" as exception aggregation and "Calendar Month" as Reference Characteristic.
    Percentage = Exits %A Entries
    When dealing with individual results, everything is ok. It is only when dealing with totals that the query miscalculates, calculating the totals as the "Percentage" average (the sum of individual values / the number of values).
    I modified the incorrect query to match the correct query, so that it looked like a copy of it, and the results were calculated correctly. Then, when I modified it again to return it to its original form, the results were calculated incorrectly again.
    Any suggestions? Do you think this could be a configuration issue or something like that?

  • Get total results

    hi experts,
    we can get each quanlity field total result at the bottom of the searched results by bps basic function,but I wanna know how to exclude some special fields,not all the quanlity fields should get the total result
    Best regards
    zlf

    In query designer, right click the characteristic -> property, you will find "suppress result"
    Reference: http://help.sap.com/saphelp_nw2004s/helpdata/en/1a/25213c9cffa027e10000000a11402f/frameset.htm

  • Can't create chart from totals in Row Categories!!

    hi folks,
    My table has a about 50 vendors, and each vendor has 5 -20 individual salesmen. I did not create a header/total row for each vendor and instead, I opted to create categories, which collapsed the rows and gave me totals for each vendor.
    The problem is that I had wanted Numbers to create a chart with the vendor totals to track how they are doing month to month, but the program doesn't allow me to click on the chart icon. The icon only becomes active if I expand each category and select individual rows.
    Any suggestions?
    Many thanks!!

    Wow! Thanks so much for your lighting fast response!
    Ok, bear with me, as I'm not the brightest lightbulb when it comes to spreadsheets.
    Here's what I have so far:
    The column headers are: Vendor, Region, Type (Big Box, Mom + Pop, etc), Employee, January - December, and finally, YTD.
    I would love to:
    1) chart each vendor total through the year (not each employee)
    2) chart regional totals through the year
    3) chart type totals through the year
    And then at some point, compare years (that'll be in 2012).
    What I would not like to do:
    1) enter data twice or three times
    Any suggestions are much appreciated. Thanks SO much for your time.

  • Legend needs to display Prompt values / Remove filters from chart query

    Hi
    I have 2 questions for the same chart so I hope it's OK to add them in one post.
    Firstly I have created a chart & added three Select List filters which work fine, the query is below, problem is that when I change back to '-ALL-' I get no data, it has filtered out all records as no data matches the value of '-ALL-' does anyone know the code to get around this?
    My chart query;
    select null link, P_MONTH AS MONTH, SUM(CALLS) AS data
    from DATA.MAIN_DATA
    WHERE WAREHOUSE = :P1_WAREHOUSE
    AND ANS_UNANS = :P1_ANS_UNANS
    AND PRODUCT = :P1_PRODUCT
    GROUP BY P_MONTH
    As I will have several queries like the one above for different options on the same chart, I would like the Legend to show what the user has chosen each time the options are changed ie;
    Something like the bolded text in the query to display the chosen values in the legend;
    select null link, P_MONTH AS MONTH, SUM(CALLS) AS *'P1_WAREHOUSE' || 'P1_ANS_UNANS' || 'P1_PRODUCT'*
    from DATA.MAIN_DATA
    WHERE WAREHOUSE = :P1_WAREHOUSE
    AND ANS_UNANS = :P1_ANS_UNANS
    AND PRODUCT = :P1_PRODUCT
    GROUP BY P_MONTH
    Any ideas/suggests?

    Woof777 wrote:
    Any ideas/suggests?Try the APEX forum ;)

  • Main Query modification result Report builder crash [Solved]

    Hi,
    I want to modify main Query of report builder because (it shows two columns which are not generated by query and when I run report it raises error that columns not found) but when I modify the query it result in report builder crash, plz give me any solution, I had experience same issue a month ago and I created new query with all formula columns but this time I have too much CF and CP columns is there any way to drop it from one group to another.
    Thanks and Regards, Khawar.
    Details:
    OS windows XP/2000
    Report Builder 10.1.2.0.2
    ORACLE Server Release 10.1.0.4.2
    Oracle Procedure Builder 10.1.2.0.2
    Oracle ORACLE PL/SQL V10.1.0.4.2 - Production
    Oracle CORE     10.1.0.4.0     Production
    Oracle Tools Integration Services 10.1.2.0.2
    Oracle Tools Common Area 10.1.2.0.2
    Oracle Toolkit 2 for Windows 32-bit platforms 10.1.2.0.2
    Resource Object Store 10.1.2.0.2
    Oracle Help 10.1.2.0.2
    Oracle Sqlmgr 10.1.2.0.2
    Oracle Query Builder 10.1.2.0.2 - Production
    PL/SQL Editor (c) WinMain Software (www.winmain.com), v1.0 (Production)
    Oracle ZRC 10.1.2.0.2
    Oracle XML Developers Kit 10.1.0.4.2 - Production
    Oracle Virtual Graphics System 10.1.2.0.2
    Oracle Image 10.1.2.0.2
    Oracle Multimedia Widget 10.1.2.0.2
    Oracle Tools GUI Utilities 10.1.2.0.2
    Message was edited by:
    S. Khawar

    Hi,
    I saved the report in JSP format and did the required change and it works great.
    Regards, Khawar.

  • Unable to edit wizard created SVG chart query

    Hi,
    I have a problem with an SVG chart that one of the HTML DB wizards created.
    On the generated page the wizard created a selection list item named P30_SHOW.
    This item allows to choose a table column based on which an SVG pie chart is generated.
    The automatically generated chart query is:
    select 'f?p=106:26:&SESSION.:::RP,26:P26_CHART_FILTER,P26_VALUE:'||:P30_SHOW||','||"&P30_SHOW.",
    "&P30_SHOW.", count(*)
    from "TESTTABLE"
    group by 'f?p=106:26:&SESSION.:::RP,26:P26_CHART_FILTER,P26_VALUE:'||:P30_SHOW||','||"&P30_SHOW.",
    "&P30_SHOW."
    The page with selection list and chart worked fine at first.
    But then, when I edited the chart's width on the respective 'SVG Chart Attributes' tab and pressed
    the 'Apply Changes' button I got the following error:
    'Query cannot be parsed, please check the syntax of your query. (ORA-01741: illegal zero-length identifier)'
    I only changed the chart's width, I did not touch the chart's query at all.
    My theory is that HTML DB tries to validate the correctness of the chart's query.
    However, the query references a session variable (P30_SHOW) that is
    not defined in my development session. Consequently, the query is not valid in the
    development context and is refused by HTML DB.
    Now I have two questions:
    1. Is my analysis correct, or are there different reasons for the error I do encounter?
    2. How can I get around the problem? I'd like to use the automatically generated charts,
    but also want to be able to edit them.
    Thanks in advance for helpful comments.
    Regards Holger

    Scott,
    I imported the application using the import/install process. A new application ID was created but was not changed in the chart query. The link was generated by the application wizard. The chart query link is below:
    select 'f?p=103:2:&SESSION.:::RP,2:P2_CHART_FILTER,P2_VALUE:'||:P6_SHOW||','||"&P6_SHOW.", "&P6_SHOW.", count(*)
    from "O_DATA_COLLECTION_POINTS"
    group by 'f?p=103:2:&SESSION.:::RP,2:P2_CHART_FILTER,P2_VALUE:'||:P6_SHOW||','||"&P6_SHOW.", "&P6_SHOW."
    The new application id is 101. It is impossible to modify this query because of message:
    "1 error has occurred
    Query cannot be parsed, please check the syntax of your query. (ORA-01741: illegal zero-length identifier"
    This happens even if nothing is changed in the query but just the apply changes button is pressed.
    I had a similar problem with the breadcrumbs menu. The link was also pointing to the old application id 103 instead of the new application id 101. The way I got round that was to delete the breadcrumb template and create a new one. I then had to go through all the pages that referenced that and reset the breadcrumbs menu template in the region definition.
    Thanks Arjen

Maybe you are looking for

  • Where can i buy an extended charger

    I'm looking for a charger for my macbook pro 13" that i bought in 2011. The length of my current one is too short and I can't be far from the plug. Also, if my macbook has been charging all day and I take it off the charger automatically it is at 98%

  • How to restrict cs12 bom explostion and how to download excel in back groun

    i have using bom explosion report like using cs13. but it get cs12 bom explosion also. how can i restrict it then i would like to run this report in background and also download it into excel format i tried using fm download but i gave the input 1 to

  • Page Content Disappears When Adding WebPart SP 2010

    I have been working on a project (wiki page).  I have added WPs.  There are only 2 on the page.  One day one of the WPs was not there I am trying to upload the same one.  When I do, the entire page disappears.  So I close it without editing it and it

  • REM Scenario

    Dear All, I'm into REM Manufacturing Scenario... I want to do GI after posting GR through MFBF Transaction against Planned Order. Once the Planned Order Quantity is completed I cannot do GI as the Planned Order is already reduced. I have also tried t

  • I am using the newest firfox 7.1 and i can not click on any tab or link within an inch below the toolbar.

    i am using the newest firefox 7.1 and i can not click on any tab or link within an inch below the toolbar. It is like that area of the screen is a deadzone. I can see links and info but can not click or access anything in that zone. so on facebook i