Export and interactive report totals
Hi allI tried to get the totals on the basis of an interactive report, but the only way I can find is to make it as aggregations and save it as the default report.
The problem is when users download the report totals are missing, is it possible to have the total number, displayed and downloaded with an interactive report?
Apex to 3.1
Thank you
Graham
totally different approach would be to add totals to your choice.
It works for some already very well grouped queries
Something like
select e.departmentid, d.name, count(*) emp#, avg(e.salary) sal
from employees e
join departments d on d.departmentid = e.departmentid
group by e.departmentid, d.name
Displays the number of employees and the salaray average for each Department.
Now we can add a total row using rollup, or grouping sets
select e.departmentid, d.name, count(*) emp#, avg(e.salary) sal
from employees e
join departments d on d.departmentid = e.departmentid
group by grouping sets ((e.departmentid, d.name), ());
Tags: Database
Similar Questions
-
How to export and import reports and presentations?
Hi guys,.
How to export and import reports and presentations of 7.2 Analyzer 11.1.1 Web Analytics.
Can you please tell me the procedure.
Thank youHello
As I mentioned earlier, you can export documents and presentations on the computer and mapped drives.
-Exported documents take ARD extension & presentations take APT extension.To export the current document, select file, then export current Document. In the Save dialog box, indicate your location of local/network drive to which the file should be saved and click OK.
I believe-7.2 Analyzer also has the wizard to allow you to export documents. & Presentations.
-Alexia
-
BI publisher and interactive report
My shop has recently installed BI publisher (10.1.3) to improve printing report apex v4.
After my initial tests, it seeems the report print report regular sql out of the box. But I can't find a way to print interactive reports with total, County, subtoal... It is possilble to create an interactive report at the apex and appeal of printing that can use the power of the editor of BI? In other words, we are looking for printed materials "you get what you see" but not a cleaning of the screen.
Can you help me? Thank you very much
MunsharTo generate a report of IR in PDF format, you must do so using FOP. I don't think you can use BI Publisher at all if you use an interactive report...
Thank you
Tony Miller
Webster, TXThere are two types of pedestrians - the living and the dead.
If you answer this question, please mark the thread as closed and give points where won...
-
Error in the export of interactive report in PDF format
Hello
I use the APEX and an interactive report, trying to export using download | PDF format. The table and the corresponding report includes only text fields. Database character set is UTF-8. So far I have not been able to get a PDF file that can be opened in Adobe Acrobat Reader. Each file fails with message as "Adobe Reader could not open nomdefichier.pdf, because it is not a supported file type or because the file has been damaged (for example, it was sent as an attachment to e-mail and has not been correctly decoded). This happens for every report I've tried so far. If I export the report to CSV format, all are ok.
Y at - it a bug known with download PDF of APEX?
TIADo you have a printer (Bi Publisher or FOP/Cocoon) server configuration? If not, then you will NOT be able to generate a PDF file...
Thank you
Tony Miller
Webster, TX -
patterns of authentication and interactive reports
Hello
I have 2 groups of users with different levels of security access, so I need to restrict certain data in the interactive report. I want to create 1 report with all data and 1 report that excludes certain documents based on one of the fields. Can I do this using an authentication scheme? Can someone direct me to some good instructions on how to do this? I'm open to other suggestions as well.
I have another thread on that as well, but I wonder about another method (
), hoping that it will be a little easier.Thank you!
Rachel PRO wrote:
I have 2 groups of users with different levels of security access, so I need to restrict certain data in the interactive report. I want to create 1 report with all data and 1 report that excludes certain documents based on one of the fields. Can I do this using an authentication scheme? Can someone direct me to some good instructions on how to do this? I'm open to other suggestions as well.
I have another thread on that as well, but I wonder about another method (limitation of access to the records in interactive report), hoping that it will be a little easier.
Authentication schemes are used to establish the identity of a user. Common methods to include validating a username and password, call an external mechanism to the SSO or scan of a fingerprint. Authentication schemes are not related to your problem.
Did you actually means 'permission' rather than 'authentication '? Authorisation schemes determine the actions by controlling access to pages and components of APEX, a user can run. You can use authorization to control if a user sees a report region, but not the lines that are shown in this report (although technically possible, it is generally not the best approach).
In short: authentication determines the identity of the user. Authorization determines the operations that a user with this identity can perform. Restricted access control these operations can be performed on the data.
What you need is an access control and DTV and view the methods described in the other thread are solutions to that. Close this message and focus on the other.
-
Mix of traditional and interactive reports fails the process of RESETTING of PAGINATION.
I have a tab page where I got 3 different reports REPORT_A (classic), REPORT_B (interactive) and REPORT_C (CLASSIC) in alphabetical order. I have a page to reset pagination process that will always draw (without condition) when you visit the page with the tab.
Reset pagination process that exists in the front scene of the header is set to fire but not to reset the interactive report. It affects the subsequent classic report REPORT_C as well. The REPORT_A would be reset paging very well since it exists before the interactive report. Is this a bug in apex?I created an application of demonstration of test with specific steps to reproduce the problem. The steps are on the demo site itself.
http://Apex.Oracle.com/pls/Apex/f?p=56638
SUP: testuser
P: passwordApex Version: 4.2.4.00.08
In my real application I wish a dropdownlist control on the page based on which I would like to filter the data. The dropdownlist control will have a corresponding branch of after-submit who will absolutely perfect pagination to reset & RIR. But when we visit Web site by tab the above problem would break the page.
I tried the solutions like gReport.search ('SEARCH') but that will only set the interactive report, not the classic REPORT_C. It's just a hack anyway.
Any ideas. ?
Hello
Create before that the process header on page 12 that calls APEX_UTIL. IR_RESET
Kind regards
Jari -
Hello!
is it possible to change the default number of lines for paging in an interactive report? the default value is 15 and I need 30 or something like that. in a normal report, it is not a problem!
THX!
Bye,.
ChristianHello
Yes, you can set the value by running the report as a developer. Set the rows to the value that you want to save the report, and then choose Save as default settings. Then, when any user running the report, the values will be that you have saved will be used.
Concerning
Paul
-
The column titles and interactive reports
I noticed that when you create an interactive report (IR) with a name such as "PEI", when the IR is displayed, it comes out as "Pei". Short change this manually for all names of columns like this, is there a way to prevent the IR to make this 'conversion '. Other columns such as 'DOCUMENT ID' out like 'Document Id'. I really don't want to do this to the column titles, as acronyms that I want to appear as entirely in capital letters.Use custom column names... Cape of init is default IR
-
sorting and interactive report
Is it possible to have an interactive report but hide some columns in the action area. If users take to sort?
Ex: created an interactive reports from the tables. There are columns with large text tabled. I would like users to sort on them for fear of perfomance hit. However, must these fields show on the report. Is it possible? All suggestions will be grateful.When you change a column in an interactive report
Click on the interactive report
Click on the column nameIn the column definition area, you can pick stocks, you allow the user to make on this column
Allow users to:
Charter of calculating overall sorting filter control Break -
I have an IR with a break.
I managed to create a total on the break with the overall system.
On my report this total appears at the bottom of my break (for example, sum: 10).
Is it possible to change the following (for example, Total: 10).
Is it possible to create a grand total at the bottom of the report?
In addition, you can filter on columns that are dislpayed in report
See you soon
Gus
Published by: Gus C on February 24, 2010 02:32Gus,
Currently it is impossible to replace the word 'SUM' to another thing, no way I know of to create the total general.
With regard to filtering, when a column is 'hidden' as it appears in the 'others' are the filter, but there is no way to hide those filter out to turn them off for the report together.
I hope this helps.
Doug
www.sumneva.com -
BI analysis and creation of interactive reports and published reports
Hi all
all first of all maybe this very absurd question.
I use bi publisher and write the report. now I need bi web service. I can web service with analysis and interactive reporting, but I can not with published reports. is this possible? and what is analysis of the fundamental difference between the reports (I have no store). pls help me...
Sorry for the bad English
better complianceHello. Yes, you can run reports to BI Publisher using webservices.
Documentation, explains how to:
BIP11g: http://docs.oracle.com/cd/E21764_01/bi.1111/e18863/toc.htm
BIP10g: http://docs.oracle.com/cd/E12844_01/doc/bip.1013/e12188/T421739T524310.htmAlso, take a look at this blog of my friend Kan:
http://bipconsulting.blogspot.com/2010/04/how-to-run-report-with-bi-Publisher-Web.htmlConcerning
Jorge
p.s if this answers your question please mark my answer as * "Correct" * or * "useful." -
Set the size of the field in the report and the interactive report
Hello.
I have 2 questions.
1. How do I report and interactive report to broadcast 100% of the width of the screen, even with just 1 column?
2. how to set the custom field size. For example, first field should be 100px 200px second and so forth
Thank you.This is to answer your second question.
Define the columns with a width of custom field?
Go to declare attributes--> click Change next to the domain name-->
Find the region column--> CSS formatting style:
Enter the values you want to account for your specifications.Ex: CSS Style: Width: 100px
or Style CSS: Width: 200px -
Interactive report - expanded filters after import application
Hi all
I have an interactive relationship with filters added on top. I have a minized these filters and save it as default report. It works very well. But when I have my request to export and import it into another environment, passed the filters on the top section. So, I need to sign in as a developer and reduce the filters section and save the report as a default value.
Is it possible to keep this efficient format when we export/import of the application?
When I export my request, I select Yes for export registered interactive reports.
I'm using the Oracle 11 g with 4.0.2 Apex. I tried both in IE and FF.
Thank you
ZKay
HI ZKay,
You can search this thread:interactive reports - keeping saved reports after import new version of page
(1) https://apex.oracle.com/pls/apex/f?p=31989:65:114410656176052:
(2) David Peake on Oracle APEX: preserve user recorded interactive reports
It will be useful.
Thank you
Benjamin.
-
Interactive report with Null columns
I have a user who wants to export an interactive report, and there need to some columns will appear on export so that he can fill the data later (there is an intermediate step, while we work on getting all the data they need in the database). I created the report query, and there are a handful of columns null or empty (to keep the correct order for export). When I try to add this query to the APEX, in an interactive report, I get an "ORA-00001: unique constraint (APEX_040000.WWV_FLOW_WORKSHEET_COLUMNS_UK2) violated" error.
Googling autour shows me that this happens because of the columns the same name, and the solution is to provide aliases for all columns. My report has alias on all columns, but I can't yet create an interactive report. I tried to change the columns null of empty strings, as well as encompassing the alias in double - quotes, but nothing works. However, I can use my original query to create a standard report, but due to export, this is not ideal.
I was able to create the interactive report with a null and then edited the source column of the report to add to the others. This had to be done one at a time, given that you are trying to add several null columns at the same time gives the same error even once. Unfortunately, when I try and you run the page, I get a ' ORA-20001: get_dbms_sql_cursor error ORA-00918: column ambiguously defined "error.
My original query:
Can someone tell me a way to create an interactive report with multiple null columns?select customer.customer_name as customer, project.name as project_name, trunc(project.estimated_end_dt) as due_date, project_status.project_status_desc as status, null as revenue, project.baseline_effort as baseline_hours, null as projected_cost, null as est_gain_loss, project.actual_hours as actual_hours, project.estimated_hours as projected_hours, null as projected_cost, null as projected_gain_loss, null as roi from project, customer where customer.customer_id = project.customer_id and project.inactive_ind = 0 and project.customer_id is not null and project.estimated_end_dt >= :DTP_P50_STARTDT and project.estimated_end_dt <= :DTP_P50_ENDDT order by customer.customer_name, project.estimated_end_dt;
Hi shimmoril,
The problem is probably that you have two columns aliased as 'projected_cost' (columns 7 and 11).
Hope this helps,
JohnIf you find this information useful, please indicate the 'useful' or 'correct' post so that others benefit. *
-
Hello
I have a requirement to create the financial report of pivot using interactive report. I managed to create a function retutning the dynamic query for the report of pivot as follows:
CREATE OR REPLACE FUNCTION
fnc_pivot
RETURN VARCHAR2 AS
CURSOR cur_qry IS
SELECT DISTINCT', SUM (CASE WHEN financial_year = "')
|| financial_year
|| "' ' AS case_st
(' THEN annual_allocation END) AS
||'"'
|| financial_year
||'"' AS case_head
OF finance_table
ORDER BY case_head;
l_query VARCHAR2 (32000) DEFAULT NULL;
BEGIN
BECAUSE me IN cur_qry
LOOP
l_query: = l_query
|| i.case_st
|| i.case_head
|| CHR (10);
END LOOP;
l_query: = 'SELECT id.
|| l_query
|', ' SUM (annual_allocation) AS
||'"'
||' Total general '
||'"'
||' OF finance_table '
||' GROUP BY id';
Return (l_query);
END;
Which returns the following query:
SELECT fin._id, SUM (CASE WHEN fin.financial_year = ' 2007/8 ' THEN fin.annual_allocation END) AS "2007/8.
, SUM (CASE WHEN fin.financial_year = ' 2008/9 ' THEN fin.annual_allocation END) AS '2008/9 '.
, SUM (CASE WHEN fin.financial_year = ' 2009/10 ' THEN fin.annual_allocation END) AS '2009/10 '.
, SUM ("CASE WHEN fin.financial_year = ' 2010/11" THEN fin.annual_allocation END) AS "2010/11"
, SUM (CASE WHEN fin.financial_year = ' 2011/12 ' THEN fin.annual_allocation END) AS '2011/12.
, SUM (CASE WHEN fin.financial_year = ' years future "THEN fin.annual_allocation END) AS"Future Years ".
SUM (annual_allocation)
OF end financial_table
GROUP BY fin.id
And these are the results
Total general 2011 2010 2009 2008 2007 ID/8/9/10/11/12 years to come
0 121 541 2545 1454 5454 3545454 CHWP01L201
80000 654534 45654 4545 545 54545 212545 CREP01L201
So if I create a normal SQL statement (function of PL/SQL returning query) it works beautifully, but as we cannot make the same Interactive report I created an apex_collection based on the above function.
Here's my problem, because the columns are dynamic can't go and create a report based on ' Select * from apex_collection ' that returns all the 50 columnswhether apex_collection they gave or not. And even if I do "Select c001, c002 c003... Of apex_collection 'headers are' c001, c002... rather than the exercises I need.
Has anyone had a similar problem? Is there a solution to this problem or should I just wait and hope that the next version of Apex has this feature (and no, Oracle buddies, no sarcasm here, only resignation after day of head breaking with no solution).
Any help will be much appreciated.
Best regards
SophieHi Sophia,
Take a look on: [http://apex.oracle.com/pls/otn/f?p=27169:4]
This is a report from pivot for standard and interactive reports and explains how to create report data and generate results.
As you have seen, the complicated bit is the headers and masking the unused columns. For the version of the IR, the titles are stored in the hidden page items and the column headings are defined as & P5_HEADING1, & P5_HEADING2. etc. The columns are hidden by checking another hidden element which holds a number of columns.
You may not use directly for your own needs for IR, but if all goes well, it should give you an idea of what you could do.
Andy
Maybe you are looking for
-
What happens in Sierra w Canon scanners?
Canon started late to upgrade the drivers for its scanners, but the list of those still pending is very long... My question is: Sierra is a minor update (i.e. risk limited) or rewriting profoundly affects the relevant areas in the analysis? What is l
-
What is the difference in using a pre-selected or not Mozilla Firefox?
When I try to start Firefox browser a rise of question asking if I want Firefox to be my preset browser.If I say No to the program continue (works ok).So what is the reason for the question?
-
Satellite Pro A60 shows 192 MB instead of 256 MB
If the RAM is supposed to be 256 MB, why the verification of diagnosis displays 192Mo?
-
iPad keeps old Apps I try and remove on screen and through my MacPro.
I have an iPad retina (first edition) and I'm in OS 9.2.1. There are a lot of Apps on iPad that I would like to remove, but I can't. The old problem of Apps jiggling after pushing for 5 seconds does not produce the small black star in the corner. And
-
Installed new HARD drive in Satellite C850 - how to install windows?
I have a new hard drive in my laptop but cannot get any internet connection.There is no Windows.I can't even Toshiba settings on my laptop. How can I do this? Do I have to buy a recovery disk? On the Toshiba site I tried to order a disk, but each tim