Interactive report "group by" endsum is only a page-sum!

Interactive report "group by" endsum (total for a numeric column) is only the sum of the values of the last page! Is this a bug?
You can test on the page: http://apex.oracle.com/pls/otn/f?p=1949:1 User/password = apex/apex
You see a sample - as png picture - on the page: http://progkor.inf.elte.hu/a/GroupByEndSum.png
Albert

john2013 wrote:
Anybody installed the latest APEX? i believe it's 4.2.3.
You can find out for yourself by requesting a workspace on apex.oracle.com, which always runs the latest production release.
Could you please tell me
is the limitation for interactive report "group by" action increased?  (3 columns max for my 4.2 version)
No. Patch releases like 4.2.3 are never likely to include significant changes in functionality. They only provide bug fixes.
I consider this is a major drawback...
Interactive reports follow the 80/20 rule. They satisfy 80% of the requirements of 80% of users 80% of the time. If your requirements fall into any of the remaining 20% categories then you have to build something yourself. APEX is a development tool after all...

Similar Messages

  • Interactive report Group By functions support Number

    Dear All,
    I developed an interactive report that retrives its data from a package. Now i want to use a group by and use Max function.Since my columns' types are STRING, I cant use Max function.Does anyone know any solution for that?
    MAny thanks in advance.
    Best regards,
    Zahra

    john2013 wrote:
    Anybody installed the latest APEX? i believe it's 4.2.3.
    You can find out for yourself by requesting a workspace on apex.oracle.com, which always runs the latest production release.
    Could you please tell me
    is the limitation for interactive report "group by" action increased?  (3 columns max for my 4.2 version)
    No. Patch releases like 4.2.3 are never likely to include significant changes in functionality. They only provide bug fixes.
    I consider this is a major drawback...
    Interactive reports follow the 80/20 rule. They satisfy 80% of the requirements of 80% of users 80% of the time. If your requirements fall into any of the remaining 20% categories then you have to build something yourself. APEX is a development tool after all...

  • Interactive Report "Group By" Limitation

    Hi,
    Anybody installed the latest APEX? i believe it's 4.2.3.
    Could you please tell me
    is the limitation for interactive report "group by" action increased?  (3 columns max for my 4.2 version)
    I consider this is a major drawback...
    Thanks,
    John

    john2013 wrote:
    Anybody installed the latest APEX? i believe it's 4.2.3.
    You can find out for yourself by requesting a workspace on apex.oracle.com, which always runs the latest production release.
    Could you please tell me
    is the limitation for interactive report "group by" action increased?  (3 columns max for my 4.2 version)
    No. Patch releases like 4.2.3 are never likely to include significant changes in functionality. They only provide bug fixes.
    I consider this is a major drawback...
    Interactive reports follow the 80/20 rule. They satisfy 80% of the requirements of 80% of users 80% of the time. If your requirements fall into any of the remaining 20% categories then you have to build something yourself. APEX is a development tool after all...

  • Interactive reports grouping issue.

    Hi
    I have a few interactive reports.
    I need to be able to remove the GROUP BY clause on any field when that field is removed from view by using the Select Fields feature in interactive reports.
    How can this be achieved?
    Regards
    Adam

    Hi!
    This is not possible with CRM interactive reporting unless you assign every employee to a manager role in the CRM Org Model (which would contradict it's purpose). Unfortunately, your request would contradict the central authorization principle behind interactive reporting.
    Due to this fact and because the expected data volume would also probably be too large to be handled by interactive reporting, I recommend to use BW reporting instead. BW is much better designed for large data volumes, and you do not have the Org Model restrictions as in interactive reporting.

  • Interactive Reports - group by in SQL - download reports doesn't work

    Hi,
    I have the following SQL as the region source of an interactive report.
    select SERVICELEVEL, SUM(CONTRACTVALUE), SUM(DOLLARVALUE), count(SERVICELEVEL) from "ACSPROD"."CONTRACT" where CONTRACTSTATUS='Active' group by SERVICELEVEL
    The report shows exactly as expected. I have also integrated BI Publisher 10.1.3.4.1 with APEX 3.2.0.00.27
    Problem 1
    The report download doesn't work for any of the formats (CVS/XLS/PDF/RTF). When I rewrite the SQL without the group by clause (not the wanted results), then the report downloads work.
    What am I doing wrong?
    Problem 2
    Irrespective of the above issue - when I add a sum aggregate and download the report (any format) - it doesn't show the summed value.
    What am I doing wrong?
    Please advise!
    Cheers
    Mynhardt

    Hi Pratadamski ,
    I could reproduce this issue at my end. This is a bug. So, I have filed on your behalf (6432429).
    When i use tables ( not views) directly in my SQL and use column alias for computed column, it does work fine!
    i.e., this query is good with databinding at designtime and runtime:
    SELECT ALL trip.PersonID,
                        COUNT(*) AS Num_Trips
    FROM trip
    GROUP BY trip.PersonIDThanks & Appreciate your feedback,
    Sakthi

  • Interactive Report does not maintain / remain on current page

    Fellow APEX gurus,
    In my APEX application (APEX 4.0), I have an Interactive Report that displays rows of data and each row has an EDIT link which on clicking pops up a Form (Dynamic HTML Page) on top of the Interactive Report Report.
    The problem is -- when on the Interactive Report page, when I navigate to next page of records (Page 2 or above), and EDIT a row on that page, the resulting Form pops up correctly on top of the Interactive Report, however, in the background, the Interactive Report navigates back to Page 1.
    There is only one default branch on the Interactive Report page and I have "Save State before branching" checked.
    How do I maintain the current Page and not allow APEX to navigate back to the First Page of the Interactive Report?
    Thanks,
    Ed

    Mini,
    I already had the Reset Pagination Unchecked. I did uncheck the "save state before branching" but the behavior was the same.
    Once again, I have only one "Unconditional" Branch on this page with the following settings:
    reset pagination for this page - unchecked
    include process success message - checked
    save state before branching - checked
    Anything else to look for?
    Thanks,
    Ed.

  • Public / Sharing of Interactive Reports

    The new Interactive Reports are a great feature that will be extremely helpful for both our development team and our users. However, currently when a user saves an interactive report, there's no way to share it with other users or to make it a public report that can be viewed by everyone. This is because the report is saved with the user's name and can only be viewed by that particular user. This really limits the usefulness of the interactive reports. For example, we would like to enable our power users, administrative users, and even regular end users to be able to create and modify reports and share them with others. In addition, our company has several hundred Crystal reports that we would like to replace with interactive reports. However, if our development team creates all of these as interactive reports (using the “Save Report” feature, not as separate pages), there is no way to make them public so that all of our users can then access them. I've read several requests in this forum for this type of enhancement. I've also read that the apex team intends to implement this sharing feature soon. In the meantime, I've figured out a work-around. This work-around saves and retrieves all interactive reports using a generic, fictitious user name. Using the Page Sentry Function under the Authentication Scheme, we switch the APP_USER to a generic, fictitious user only for the interactive report pages, and set APP_USER back to the original, correct user on the other pages. Here's the code I'm using in the Page Sentry function:
    declare
    c owa_cookie.cookie;
    begin
    if :app_page_id in (1,51,52) then
    APEX_CUSTOM_AUTH.SET_USER('REPORT_USER');
    else
    c := owa_cookie.get('LOGIN_USERNAME_COOKIE');
    APEX_CUSTOM_AUTH.SET_USER(c.vals(1));
    end if;
    return true;
    end;
    This code will set the APP_USER to "REPORT_USER" on pages 1, 51, and 52. Therefore, when interactive reports are saved or retrieved on these pages, they will use the user named "REPORT_USER" regardless of the user that actually logged into the application. This concept can also be expanded to limit certain reports to certain users (or groups of users) by calling a custom function in the database.
    I tried using the SET_USER code within a page process (PL/SQL anonymous block), and although it changed the APP_USER, it did not affect the interactive report. I assume this is because the interactive report “does its thing” prior to the firing of the processes on a page. However, the Page Sentry function apparently fires earlier in the sequence (before the interactive report processing).
    This will make the interactive reports much more useful for our company and I hope it will be useful to some of you as well.
    Darrin

    Scott-
    Thanks for the feedback. I tried both the Session Verification Function and the VPD attribute and neither one accomplished the goal. The VPD attribute PL/SQL code apparently fires too late in the process, so although it changed the APP_USER, it had no affect on the interactive report. And the Session Verification Function had adverse affects on the authentication. So rather than mess around with the security settings in the application, I came up with a different work-around.
    Here's the new work-around.
    On the interactive report page I created a page process (PL/SQL anonymous block) and set the process point to "On Load - Before Header". For the process I entered the following pl/sql code:
    begin
    update FLOWS_030100.WWV_FLOW_WORKSHEET_RPTS
    set APPLICATION_USER = :APP_USER
    where ID = :REPORTID
    and session_id is null;
    end;
    This code changes the application user in the underlying interactive report table. It sets the user to the current APP_USER only for the report being viewed. Therefore, when the interactive report processing happens, it thinks the report is for the current APP_USER and renders the report just fine. It also saves any changes to the report back to the base report so other users can view the modifications as well.
    I have the tab feature turned off on my interactive reports. Instead I have another page that lists all the interactive reports. When a user clicks one of the reports in the list, I set the REPORTID variable and pull up the corresponding interactive report (that's why I'm using REPORTID in the where clause). For users that are using a tabbed approach, they may have to set the application user for all of the base reports (or figure out another way to determine which individual report tab is being viewed). If they were setting it for all the base reports, it would look like this:
    begin
    update FLOWS_030100.WWV_FLOW_WORKSHEET_RPTS
    set APPLICATION_USER = :APP_USER
    where session_id is null;
    end;
    This solution isn't ideal when lots of users are hitting the same interactive report. It's possible that if two user attempt to load the same interactive report at the same time, the following might happen.
    1. User A triggers process to update underlying table
    2. User B triggers process to update underlying table
    3. User A triggers process to run interactive report (and therefore does not see the report because the report is now set to User B)
    4. User B triggers process to run interactive report (and sees report just fine)
    So the solution isn't ideal, but it's the best I could come up with until the apex team implements real report sharing. I've tested it with a handful of users and it's worked very well so far.
    Darrin

  • Conditional Link on Interactive Report

    I'm trying to make the link column conditional on an interactive report. That is, I only want the pencil icon on the rows which have a field that is greater than 30. So, assume my query says:
    select DEPT_ID, USER_LEVEL
    from my_table;
    I only want the link icon to appear on rows that have USER_LEVEL > 30. I tried (unsuccessfully) to get this to work by adding a condition of "Expression1 = Expression2", and I used the #USER_LEVEL# substitution string. (Note: I know this would be exactly what I want because I want the condition to be on all values > 30, but I couldn't even get this to work when I put #USER_LEVEL# in Expression1 and "30" in Expression2 and looked at the records that had a USER_LEVEL value of exactly 30).
    In the end, I had to create a much more complex query like this...
    select
    case
    when USER_LEVEL >= 30 then
    '<a href="f?p=&APP_ID.:21:&SESSION.::&DEBUG.::P2_DEPT_ID:' || DEPT_ID || "><img src="#IMAGE_PREFIX#menu/pencil16x16.gif" alt="Edit" /></a>'
    else ' '
    end as edit_icon,
    DEPT_ID, USER_LEVEL
    from my_table;
    This doesn't seem right to me. Can someone confirm that I'm doing this the right way?

    Hi -
    It really bugs me this forum has such a problem with code examples, so for a while at least I posted quick example on Google:
    [Conditional Column|http://docs.google.com/Doc?id=dd2tkvv6_212dbzw2ftq]
    Not to complicate too much, but if you wanted to not have empty column except one row, you could of course apply this trick to the column that actually holds the user name in your table... in other words, the user could click right on their own name to go to edit screen, but every other user name but theirs would not be a hyperlink. But that is as they say an exercise for the reader :)
    Good luck.

  • Number of rows displayed per page in an interactive report

    Hi,
    I'd like to know if it's possible to change the values of the select list called 'Rows' in an interactive report (which is displayed in the search bar).
    Indeed, I want to display 16 rows per page and I can only choose among the values 1, 5, 10, 15, 20, 25, 30, 50, 100, 200...
    Thank you for your reply.
    Emilie.

    Hi Tobias,
    Thank you for your help.
    I had already tried this but it's not what I want. What your are saying only limits the values in the select list (for example, if I set to 16, I can't choose values higher than 16 in the select list 'Rows' of the search bar).
    I want to limit the number of rows displayed in the interactive report to 16 per page.
    Any other idea?
    Emilie.
    Hi Emilie,
    Go: Home>Application Builder>Application 301>Page 51>Interactive Report Attributes>Search Bar>Maximum Rows Per Page
    Set to = 16
    Oracle help description: Defines the maximum number to display in Rows Per Page Selector in the search bar.
    Greetings,
    Tobias

  • How to run a EXECUTE IMMEDIATE statement in a Interactive Report

    Hello all!!
    I need to make a dinamic construction of a query to execute in a Interactive Report, but the Region Source only allows simple SELECT statements. There is any way to run a EXECUTE IMMEDIATE statement in a Interactive Report Region Source?
    Regards Pedro.

    Thank you Andy for your reply.
    I have been testing for a while the use of a collection in the interactive report but i am unable to load data in the interactive report.
    I created the collection successfully in the SQL Commands with the code:
    declare
    v_sql varchar2(32000);
    begin
    v_sql:='select ename, job from emp';
    APEX_COLLECTION.CREATE_COLLECTION_FROM_QUERY('coleccao_emp',v_sql,'NO' );
    end;
    I tested successfully the creation of the collection with the query:
    SELECT c001, c002
    FROM APEX_collections
    WHERE collection_name = 'COLECCAO_EMP'
    My problem is: the data of the collection are returned in the SQL Commands but when i run the query statament in an interactive report, report or even a Pl/Sql region in my application the data aren't displayed, only the message (No data found).
    Can someone explain why, besides the collection is populated the interactive can not print the results.
    Regards Pedro.

  • Dynamic Interactive Reports

    Hi all,
    Is it possible to alter the sql query of an interactive report, in a dynamic way? I want load a given query, in execution time, to an interactive report.
    How can i access the internal ApEx database tables? Could i write into the table responsible for storing Interactive Report information?? I only know the existence of views like APEX_APPLICATION_ ....
    Regards Pedro.

    Hi Pedro,
    Currently Apex doesn't support dynamic queries in interactive report however you can achieve it using apex collections. Create a before header pl-sql process to create a collection using dynamic sql query and then build the interactive report by selecting data from above collection.
    Hope it helps.
    Thanks,
    Manish

  • Saved Interactive Reports - Show Description

    Is there any method to show the description for a saved interactive report?
    Right now it only shows up as a javascript highlight of the saved report name and I would like to show it on the saved report itself.
    (report is being shared via a common users to many users, and I want to explain to others what the reports are as they see them).
    thanks,
    Erik

    Hi Erik,
    I also wanted to do that, but I didn't find an easy way of doing it (not declarative).
    I guess they will provide such a functionality in a future version of APEX.
    The only way I can think of now is to change the DOM object.
    Regards,
    Dimitri
    -- http://dgielis.blogspot.com/
    -- http://apex-evangelists.com/
    -- http://apexblogs.info/

  • Apex logs and interactive reports

    Hi everyone! This is my first post, so apologies if I sound like an idiot :). Anyway, my problem is as follows.
    I'm on APEX version 4.0 (about to move to 4.1) and I'm trying to tie the APEX_WORKSPACE_ACTIVITY_LOG to the APEX_APPLICATION_PAGE_IR_RPT view. So, here's my query:
    SELECT
    L.IR_SAVED_REPORT_ID,
    R.INTERACTIVE_REPORT_ID,
    R.REPORT_NAME
    FROM
    APEX_WORKSPACE_ACTIVITY_LOG L,
    APEX_APPLICATION_PAGE_IR_RPT R
    WHERE
    L.IR_SAVED_REPORT_ID IS NOT NULL
    AND L.IR_SAVED_REPORT_ID = R.INTERACTIVE_REPORT_IDI don't get any returned values. The IR_SAVED_REPORT_ID column from APEX_WORKSPACE_ACTIVITY_LOG is, according to its description:
    SELECT
    comments
    FROM
    apex_dictionary
    WHERE
    apex_view_name like '%ACTIVITY%LOG%'
    AND column_name = 'IR_SAVED_REPORT_ID';=> "Identifies the Saved Interactive Report ID foreign key to the APEX_APPLICATION_PAGE_IR_RPT view"
    and the INTERACTIVE_REPORT_ID column from APEX_APPLICATION_PAGE_IR_RPT:
    SELECT
    comments
    FROM
    apex_dictionary
    WHERE
    apex_view_name = 'APEX_APPLICATION_PAGE_IR_RPT'
    AND column_name = 'INTERACTIVE_REPORT_ID';=> "ID of the interactive report"
    it seemed like the only ID column from that view that made any sense to join to. The return values from IR_SAVED_REPORT_ID looked like this:
    9.67721361230999E15
    9.90492074306116E15
    [snip a few dozen rows]
    and INTERACTIVE_REPORT_ID looked very similar (6.62360604127979E15, 5.94051162387204E15, etc.). Am I missing something here?
    At the end of the day, all I'm trying to do here is make a metadata report on reports. Specifically, I wanted a report that told me which saved reports people were accessing, and how often they were doing it. I thought this was the way to go about it, but it seems I'm mistaken. I would appreciate any help you guys could provide.
    Edited by: 910246 on Jan 25, 2012 9:18 AM
    Edited by: 910246 on Jan 25, 2012 9:19 AM
    Edited by: 910246 on Jan 25, 2012 9:19 AM

    Hi 910246, welcome to the forum.
    Please update your handle to something more personal.
    See if this query against the APEX views helps any:
    SELECT apex_workspace_activity_log.apex_user "User",
           apex_workspace_activity_log.page_name "Page Name",
           apex_workspace_activity_log.page_id "Page ID",
           TO_CHAR (apex_workspace_activity_log.view_date, 'MM/DD/YYYY HH:MI PM')
              "Date/Time Viewed",
           apex_workspace_activity_log.rows_queried "Rows Queried"
      FROM apex_workspace_activity_log, apex_application_page_ir
    WHERE     (   :p315_user = '%null%'
                OR apex_workspace_activity_log.apex_user LIKE
                      '%' || :p315_user || '%')
           AND TRUNC (view_date) = TRUNC (SYSDATE)
           AND apex_workspace_activity_log.page_id =
                  apex_application_page_ir.page_id:P315_USER is based on a LOV defined by this:
      SELECT username d, username r
        FROM (SELECT DISTINCT apex_user username
                FROM apex_workspace_activity_log
               WHERE TRUNC (view_date) = TRUNC (SYSDATE))
    ORDER BY 1Jeff

  • Date format interfering with interactive report

    My APEX version is 3.1.1.00.09.
    I'm using a method described elsewhere to change the global date format of my application. I have application items for a start and end date. I have two application processes, one for On Load: Before Header, the other for On Submit: After Page Submission - Before Computations and Validations. They both do:
    DBMS_SESSION.SET_NLS(param => 'NLS_DATE_FORMAT', value => '''fmMM/DD/fmYY''')
    Okay, all is well with that, my dates seem to stay the way I want them to. Since our upgrade I'm going through each section of my application and updating as necessary, and I particularly want to use the interactive reports. They work fine when the page is loaded, but if I change any options on the interactive report and submit it, I get an "ORA-01843: not a valid month" error. If I refresh the page, everything works as it should.
    What can I do to get around this, or do I have something wrong with my method that is causing this to happen?
    Chris

    Hi Chris,
    I tried to replicate this, but could not. Now granted, I tried this using the new "modern" method of controlling the default application date format via the new application Globalization attribute "Application Date Format". I set the Application Date Format to fmMM/DD/fmYY and my IR on EMP worked just fine.
    If you can replicate this on apex.oracle.com (using Application Date Format), I'd be happy to take a look at it.
    Joel

  • How to edit "Single Row View" in Interactive Reports?

    Hi,
    When using Interactive Report when one clicks on the little page icon on the left on a gievn row - one is presented with a small output from all columns for that row.
    For example login as demo/demo to:
    http://apex.oracle.com/pls/apex/f?p=12988:1
    And click on the first icon in the first row. You'll get an output like:
    Empno     7839
    Ename     KING
    Job     PRESIDENT
    Mgr     -
    Hiredate     17-NOV-81
    Sal     5000
    Comm     -
    Deptno     10
    How (and where) can I modify the output of this?
    Regards,
    Pawel.

    Thanks, for your responses.
    In fact this is what I have done. What I am looking after is simply how to modify what is already there. That way, I don't need to create different pages with Next/Previous buttons etc... for every Interactive Report I have.

Maybe you are looking for

  • Email and SMS and keyboard in landscape mode.

    I was wondering if, by any chance Apple is working to enhance the iPhone's email and SMS capabilities by incorporating the use of the accelerometer. This would allow email and sms messages to be viewed in widescreen format making it easier for my old

  • Smartforms to PDF in Multilanguage

    Hi, we need to convert smartforms to PDF in 13 languages. It works fine for all languages but PL and RU. I've already played around with different device types and code pages but I couldn't get it straight. I would really appreciate any idea! At the

  • Saving a process/thread into a file

    I want to simulate a Object Oriented Database using a Process or a Thread. I need to save and load a the thread quickly and if possible, I would like not to serialize. Is there a way to just dump the Thread status and memory content into a file and L

  • Lightroom all of a sudden says "This file could not be found"?

    This happened over night and I don't know what to do about it?

  • What is a temporary fix for a cracked screen?

    My MBP 8,1 screen cracked today (seemingly spontaneoulsy). I will under few circumstances be sending this in for apple to repair at a rate of $500-$1400, which I understand will be the price. I will wait for it to worsen. Right now, it is just on the