Report summary column
Dear All..........
i have a report with n of pages now i want to get the sum total on each page but it should be a running page total...which mean on the first page it should display the total amount of the first page only and on the second page it should sum the total of second page and the total of the first page..and so on and ofcourse the last page should display the total of last page and the total of all the previes pages
Thanks people in advance
I would love to tell you all the things which we need to do to achieve this.
But on Second thoughts, Why should we ever discuss some things which are readily available. Help is a very undermined utility as fas as Oracle Developer is concerned.
There is an example over there for this. So just loo up .
And to every one. Please make use of Help. It will solve lot many of your problems.
Good Luck
Vij
Similar Messages
-
REP-2103 error in report summary column
Hi ,
I am getting the below error while running the report
REP-2103 Column 'CS_Achived_tot' : PL/SQL formula returned invalid value or no value
Could you please help me ...
Thanks in Advance
Regards,
SandeepHi,
I have used the below code in the formula column
function CF_Achived_totFormula return Number is
v_achived_tot number;
begin
begin
select nvl(:attribute4,0)
into v_achived_tot
from dual;
exception when others
then
--v_achived_tot :=0;
srw.message(130,'CF_Achived_tot');
return null;
end;
return (v_achived_tot);
end;
no data was there in the attribute4 feild and it was varchar2 data type
Regards,
sandeep -
: HIDING SUMMARY COLUMNS IN MATRIX REPORT , URGENT
Hi,
Can any one please tell me how to hide a column in oralce matrix report. Its a summary column for the matrix report which appears next to the cell values. For example
Manufacturer
Brand
SubBrand1 SubBrand2 Brand Total Manufacturer Total
Week $ Sales $ Sales Total $ Sales Total $ Sales
This is a case where,the cell value is the $ sales for the SubBrand for the week. And it gets total at each brand level and each Manufacturer level. The requrement is if there is only one SubBrand for a Brand then the Brand total should not appear on the report. Similarly if there is one Brand for a Manufacturer, then the total at Manufacturer level should not appear . The point is not only it should dissapear but the frame should srink to make it fell that there is no totaling going on at those two levels. If the fileds just remains blank then the report looks odd. So the gap should be srinked as well. How to do it . This is very urgent . Please help me out.
Thanks
Ferozuse a formst trigeer on the field that returns false when you don't want to display the field.
-
Using Page Level Summary Column in Report 6i
Hi Folks,
I'm trying to create a report in which I want a Page level Summary column i.e., the Summary column should reset at each page and should display the sum of a particular field on each page depending upon how many records are displayed on each page. But whenever I choose the Reset Property to Page the following error is displayed" Page level summaries are not supported in the defaulting" and in certain case the summary column displays the sum only on the last page of the report and the rest of the pages do not display the summary column. The database has three tables i.e., master-detail-detail.
Do I need to make some changes in the Data Model or what?
TIA
HassanHi Hassan,
it only works onceWell, this is definitely not expected. Maybe you can try to see after running the report once whether all the values you set in your report (from my last post) remain the the same, or somehow they revert back to their default values.
if I do some formatting of the report... summary also disapperasYou could try placing the page level summary in another frame, below your group repeating frame, with enough gap between them. Also, try setting the value for "max no of records" to some lower value, which makes sure there is space for the summary column on every page.
Another idea for making a page level summary is - you can place the summary BEFORE your group repeating frame, which means the summary will print on top of every page. In this case, you won't even have to worry about setting "max no of records per page" to some particular value. See if this suits your needs.
Navneet. -
Matrix report data with summary column in excel format
Hi ,
I want to display output of matrix report with summary column in excel format.
I have tried using spreadsheet but column header and actual data is displaying in proper order.
Please tell me the way how to do this ASAP.
Thanks in advance.Hi ,
I want to display output of matrix report with summary column in excel format.
I have tried using spreadsheet but column header and actual data is displaying in proper order.
Please tell me the way how to do this ASAP.
Thanks in advance. -
More than one summary column in cross tab reports
Hi,
I have a cross tab report. The summary column is SUM. I want to add another summary column next to SUM which will be AVG(Average) column.
Any ideas?
Please see the attached image.
Thanks,hi Anurag,
my fault...i should have looked closer at your data.
here's the easy way of showing two sets of summaries at the end of a crosstab, without having duplicate columns.
1) copy your existing cross-tab and paste it to the right of your current cross-tab.
2) now go to the cross-tab expert of the new cross-tab and remove the fields from the Column dialogue
3) change the summary to an Average
4) exit the cross-tab expert and go to the Section Expert for the section where both cross-tabs are...ensure that you check Relative Positions
preview the report. now you'll have to move the 2nd cross-tab a bit so that it aligns properly with the first one.
as a sample, see the attached report. extract the contents and change the .txt extension to .rpt.
-jamie -
Using Summary Columns in Reports 9I
Hi
I am using Oracle 9i Reports
I want to use Summary cols in the report
I have a table with the flwg data:
TRANS_ID ACC_ID DEL AMT
LEL0002045 SLEND RECEIVE 1200
LEL0002053 SLEND DELIVER 1000
LEL0002100 SLEND DELIVER 500The Report format is
TRANS_ID ACC_ID DEL AMT
LEL0002045 SLEND RECEIVE 1200
LEL0002053 SLEND DELIVER 1000
LEL0002100 SLEND DELIVER 500
RECIEVE 2200
DELIVER 500
GRAND 2700I have defined a summmary column in the Data Model(C_S1)
and have defined a text field in the paper layout and setting
this to C_S1.
I get the total of 2700 in the report for this.
I want to define 2 summary cols - one for 2200 and other for 500
and then a grand total of 2700.
How shud i define this please?Table :
TRANS_ID ACC_ID DEL CCY AMT TRADE_DAT LENDER
LEL0002045 SLEND RECEIVE GBP 1200 02-AUG-05 LENDERA
LEL0002053 SLEND DELIVER GBP 1000 02-AUG-05 LENDERA
LEL0002100 SLEND DELIVER USD 500 02-AUG-05 LENDERB
LEL0002000 SLEND DELIVER KRN 1000 03-AUG-05 LENDERCREPORT OUTPUT
LENDER A
LEL0002045 SLEND RECEIVE GBP 1200 02-AUG-05
LEL0002053 SLEND DELIVER GBP 1000 02-AUG-05
Total 2200
LENDER B
LEL0002100 SLEND DELIVER USD 500 02-AUG-05
Total 500I want to break LENDER A total in 1000 for RECEIVE and 1200 for DELIVER
I have used the SQL as mentioned is yr mail
decode(DEL,'RECEIVE',AMT,0) as REC_AMT
, decode(DEL,'DELIVER',AMT,0) as DEL_AMTcreated 2 summary columns : CS_1 --> REC_AMT
CS_2 --> DEL_AMT
but i get this result :
A
LEL0002045 SLEND RECEIVE GBP 1200 02-AUG-05
LEL0002053 SLEND DELIVER GBP 1000 02-AUG-05
1000 ????
Total 2200
LENDER B
LEL0002100 SLEND DELIVER USD 500 02-AUG-05
1000 ????
Total 500 -
Summary Column inside the Cross Product
Hai All,
I have developed a matrix report in the RDF format. There is a summary column inside the cross product. When I create the generate XML from the RDF the summary column from cross product is not apppering in the generate XML file. How can we accomplish that summary column inside the RDF.
Thanks in Advancehttp://winrichman.blogspot.com/search/label/BIP%20Vertical%20sum
http://winrichman.blogspot.com/search/label/Cross-tab
these links should help , you , if not, send me the xml and template and desired output. -
How to get summary columns in delimited text file
How to get summary columns in delimited text file
I am trying to generate a delimited text file output with delimited_hdr = no.The report is a Group above report with summary columns at the bottom.In the text file the headers are not getting repeated & thats ok.The problem is the summary data is getting repeated for each row of data.Is there a way where i will get all the data & summary data will get displayed only once.I have to import the delimited text file in excel spreadsheet.Sorry there were a typos :
When I used desformat=DELIMITEDDATA with desttype=FILE, I get error "unknown printer driver DELIMITEDDATA". When you look for help, DELIMITED is not even listed as one of the values for DESTFORMAT. But if you scroll down and look for DELIMITER it says , this works only in conjuction with DESTFORMAT=DELIMITED !!!!!!??!! This is in 9i.
Has this thing worked for anybody ? Can anyone please tell if they were able to suppress the sumary columns or the parent columns of a master-detail data for that matter ? -
Can I reference a Summary Column in my sql query?
Basically the subject asks it all. I have a very complex report that has many data linked queries from the "main" query. One of these data linked queries has a sub-query within it that references the primary key of the main query. I can't data link (I can, but it's useless) using this field as it's a sub-query that needs the link, and that link specifically. I've tried to create a Summary Column that gives me the "First" (and only, so it's safe) in order to reference it in the SQL block, but no go. I'm thinking this isn't even possible? Anyone have any ideas? Right now I'm referencing it as I would in a PL/SQL block (:CS_PK), but it's just treated as a parameter that's never passed. Doesn't read the summary column. Hmmm... I'm stuck.
Hi all... this report is still not completed. I've tried the summary column, and created a formula column that sets the user parameter to the primary key that's needed elsewhere. The report runs, no errors, but my best guess is that it's simply not reading that formula column. Here's my formula column:
function CF_1FORMULA0024 return Number is
begin
if :tblassessmentinst is null then
:tblassessmentinst := :CA_ASSESS_INST;
elsif :tblassessmentinst is NOT null then
:tblassessmentinst := :CA_ASSESS_INST; -- this WAS :tblassessmentinst but not working with prod ver, so delay
else
:tblassessmentinst :=0;
end if;
return(:tblassessmentinst);
end;
For testing, I display both the :tblassessmentinst on the report, as well as this formula column. The formula column always displays the correct number, but the :tblassessment only displays 1 (of many) records that need to be displayed. It's like it's not refreshing the formula column for each record? Again, still super stumped, so throw any ideas my way please.
Thanks again,
TL -
Summary column with where clause
Hi all,
I'm using Oracle Report Builder 10GR2. I have the following issue: In one of the query i have the following result :
Suppliers 0
Suppliers 1408
Total in BGN 1408
Customers 6024
Customers 11779.32
Customers
Total in BGN 11779.32
Taxes 0
Taxes 0
Total in BGN 0
Cash 1363.85
Cash 691
Cash 991.23
Cash 688
Total in BGN 2355.08I want to make a sum for these columns where corresponds to description " Total in BGN" . Maybe it is a simple task... Do i have a chance to select from a query in a Report Builder?
If yes, pls specify? Or maybe there is a chance to add a where clause for summary column. But keep in mind that this is one of the queries in the report builder and i have to add summary with this conditions. I cannot change the existing query but probably add a new one.
Any ideas?
DB Version: 11g
Thanks in advance,
Bahchevanov.
Edited by: bahchevanov on Sep 29, 2012 2:21 AMHello,
You should use parameter file.Another question i can see you are using 11g.Why don't you use data pump?.
Data Pump is faster and have more features and enhancement than regular imp and exp.
You can do the following:
sqlplus / as sysdba
Create directory DPUMP_DIR3 for 'Type here your os path that you want to export to';then touch a file:
touch par.txt
In this file type the following the following :
tables=schema.table_name
dumpfile=yourdump.dmp
DIRECTORY=DPUMP_DIR3
logfile=Your_logfile.log
QUERY =abs.texp:"where hiredate>'01-JAN-13' "then do the following
expdp username/password parfile='par.txt'
If you will import from Oracle 11g to version 10g then you have to addthe parameter "version=10" to the parameter file above
BR
Mohamed ELAzab
http://mohamedelazab.blogspot.com/ -
Custom Report Summary Criteria
I am trying to create a report that lists software where there are more
installations than licences. I want to add the following to the summary
criteria however the "over/under" summary column does not appear in the
summary criteria field list.
Summary Criteria
Summary field Operator Value
Over/Under < 0Clive,
It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.
Has your problem been resolved? If not, you might try one of the following options:
- Visit http://support.novell.com and search the knowledgebase and/or check all
the other self support options and support programs available.
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://support.novell.com/forums)
Be sure to read the forum FAQ about what to expect in the way of responses:
http://support.novell.com/forums/faq_general.html
If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.
Good luck!
Your Novell Product Support Forums Team
http://support.novell.com/forums/ -
Sorting by summary column, query based on previous query.
Using 10g reports.
I've got a report with one query currently thats broken down itno a couple groups. I'm trying to change the order they are displyed by based on a summary count of each group. I'm also trying to do another query for the report based on the results of the first one and display that with the information from the first.
The report currently:
Chain name
ABC Stores
Month
JUN
Store Name Store ID bad sales
Store1 storeid1 5
Store2 storeid2 3
Store3 storeid3 1
month total: 9
JUL
Store1 storeid1 6
Store2 storeid2 5
Store3 storeid3 2
month total:13
Chain total 22
XYZ Stores
JUN
Store1 storedid1 20
Store2 storedid2 15
month total 35
JUL
Store1 storedid1 11
Store2 storedid2 7
month total 18
Chain total 53What I want to do is sort the order the store chains appear in based on the CHain total of bad sales. This is a summary done by the report and not in the sql query at the moment. I would also like to create a second query where it takes the store id and month from the first query and uses it to look up the total sales each store did so I can determine what percentage of the total sales the bad sales were. I would like to add this column plus a calculated percentage column to the right of the current columns but still have them grouped as they are. Is this possible to do or will i need to change my original query?
Not very familiar with reports and I haven't been able to find anything to indicate how this should/could be done yet. Any help is appreciated.hi,
there is no break order property for summary columns .
so use the group by and take the sorting order for whole group
example:
SELECT DEPTNO, JOB, ENAME, SAL FROM EMP
ORDER BY SAL
You then create two groups, G_DEPT and G_JOB. G_DEPT contains
the DEPTNO column and G_JOB contains the JOB column. If you
specify a Break Order of Descending for the DEPTNO column and
Ascending for the JOB column, your output would appear similar
to that below (assuming you use a Tabular style):
Deptno Job Ename Sal
30 CLERK JAMES 950.00
MANAGER BLAKE 2850.00
SALESMAN WARD 1250.00
MARTIN 1250.00
TURNER 1500.00
ALLEN 1600.00
20 ANALYST SCOTT 3000.00
FORD 3000.00
CLERK SMITH 800.00
ADAMS 1100.00
MANAGER JONES 2975.00
10 CLERK MILLER 1300.00
MANAGER CLARK 2450.00
PRESIDENT KING 5000.00 -
Change Labels on Summary Columns
Could anyone advice me how to change labels on the summary columns on a cross tab report?
Current it shows for e.g. count(orders).
I would like to change it to "Order Count"
Also how can i change the value format on a drill down report?Hi,
Thanks a lot for your answers.
First, on umResetPasswordPage.jsp I have found the code where "LAST_NAME" must take a value from other file (Could be from umelogonbase.jar?) so, maybe it is not the right place to change it, isn't it? or did you suggest by other way?? This is the code on the umResetPasswordPage.jsp file:
<td width="161" height="20">
<label class=urLblStd for="logonlastnamefield">
<%=logonLocale.get("LAST_NAME")%>
<span class=urLblReq> *</span>
</label>
</td>
Second, On Portal Content there is not any Page/Iview wich manage this Support (LogonHelpApp) page openned by "get Support" link on Welcome Portal Page. At this time, I could not find if is it a webdynpro or other component Portal.... -
Access Summary column in a query
Hi All,
I am new to oracle reports. I am using report builder 10.1.2.0.2.
I have a summary column in my report. I would like to use this summary column in another query.
if is use this column directly in the query, i am getting the below error:
"Field 'F1' references column '<summary column name>' at a frequency below its group. "
Both these fields are in the same frame. In the object navigator, both are displayed under the same group name.
please let me know if there any way to access summary columns in another query.
Thanks.You can use a field from one query in another query as parameter, i.e. preceded by colon. To do this first create link of "Group to Query" type between the first query's group where the summary column is, and the second query.
Maybe you are looking for
-
Exchange password, what is it and why does my phone keep asking for it?
For the last two days, my phone periodically wants me to enter an exchange password. This is the first I ever heard of it so can't figure out what it is.n I though exchange was a Microsoft product so what's it doing on my Apple iPhone. I just upgra
-
Edit non-functional in Rel. 2 SQL Workshop Object Browser
Using IExplorer 6. Recently upgraded to HTMLDB Rel. 2. Thus far everything I've tried works fine except for the Object Browser code display and editing function. First problem: the code display for Packages, Functions, Views etc. does not wrap. Secon
-
Strange error while execute PL/SQL
Hi All, I am execting a procedure from user (say USER1) who is having the DBA role granted. Its getting the errors while creation: SQL> show errors Errors for PROCEDURE DISP_DBLOCKS: LINE/COL ERROR 8/11 PLS-00341: declaration of cursor 'DBLOCK_CURSOR
-
Changes in qs21, qs31, qs41, qdv1
Hi, pls inform what t-codes should be used to see the changes in qm master data like qs21, qs31, qdv1, qs41 etc?
-
Reg function module POSTING_INTERFACE_CLEARING
Dear experts, I have a requirement in tcode FB05(Posting with clearing: Initial screen). In that i need to select the radio button 'Transfer Posting with Clearing'. I dont know exactly what happens here. I have to use function module POSTING_INTERF