Converting a Group Left to a Group Above Report
I have created a dozen group left reports which I thought would only take up one page of data. I have found that some of them will actually require more pages but the report will only produce 1 page.
As an example I created the same report but used the group above style and this time by default it creates multiple pages. So how can I change my other reports into the group above style - note I cannot use the wizard as I have made many layout changes which woujld be lost.
It's not because of Group Left vs Group Above that report display only the first page. Make sure the Print Object On property of the repeation frames set to First Page Only, not All Pages.
Similar Messages
-
I am trying to do a group left within or below a group above, like so.
Name John Doe
Incident Activity
12345 Apply
Accept
Modify
12346 Apply
Accept
Modify
Name Bill Smith
Incident Activity
12347 Apply
Accept
Modify
12348 Apply
Accept
Modify
I can't figure out how to specify different types of grouping for different groups.
Any suggestions?
nullMake a group above report for the first 2 groups. in the Data model extend the detail's repeating enclosing frame.
Inside this frame draw an additional default layout (a button in the Layout Editor on the left toolbar) and inside this one insert your detail group.
Or... you can create an above group without any break first, then separate a group in the Data Model and add a repeating frame around the detail columns. Specifi as source of this frame the name of the detail group from the Data Model. -
Problem in creating group above AND group left in one report!
Hi all,
I need a report that is a combination of group above and group
left.
Suppose I have 3 table (Emp, Sales, Product):
Emp Table has 2 column
- Emp_PK
- Emp_Name
Sales Table has 4 column
-Sales_PK
-Sales_Date
-Emp_FK
-Produck_FK
-Quantity
Product Table has 3 column
-Product_PK
-Product_Name
-Product_Price
I want to make Employee Sales Report For The Month that will
look like this:
Emp Number___: Emp_PK
Emp Name_____: Emp_Name
Sales Date______Product_Name____Quantity \(2 sales
________________Product_Name____Quantity /the date)
Sales_Date______Product_Name____Quantity
As you can see this consist of group above (The Employee) and
group left (The Sales and Product).
I create this by using 2 queries and link them (the Emp_PK from
1st query and Emp_FK from 2nd query) on the report builder using
data link.
The first query is:
Select Emp_PK, Emp_Name from Emp
The second query is
Select Emp_FK, Sales_Date, Product_Name, Quantity
From Sales, Product
Where Product_PK=PRODUCT_FK
I then create the layout for second query and choose group left
for Sales_Date using wizard and I create additional layout to
for the employee.
The problem is that when I run this report, it will print ALL
the employee record first (including employee who has NOT sale
anything) and then on the last page it will print the record of
Last employee on the Emp table and ALL sales record (including
those that is done by other employee).
This report will run correctly if I choose an exact employee
(For example by adding Where Emp_PK=1111 in the first query) to
report all of the sales done by this person (employee with emp
number of 1111). However I need the report to run and print
ONLY those employee who has Sales Records!
I thought that by linking the 2 queries in Data Model, it will
have the same effect as linking using the WHERE clause in query.
If suppose I create a query like this:
SELECT Emp_PK, Emp_Name, Sales_Date, Product_Name, Quantity
FROM Emp, Sales, Product
WHERE Emp_PK=Emp_FK AND Product_PK=Product_FK
The report will run OK but I can only choose EITHER group above
or group left for this ONE query methods in report Wizard.
Sorry if it is a long question but I hope you can see what I am
trying to do.
Thanks in advance for any tip.hello,
of course you can create group left and group above blocks in a
single report.
you might want to use the INSERT REPORT BLOCK instead of the
report wizard, as the report wizard only allows you to use one
report layout per report, where the report block wizard (invoked
by INSERT REPORT BLOCK) allows you to choose on a per-block
basis.
of course you can create the blocks completely from scarth by
hand, if you want to.
regards,
the oracle reports team --pw -
How to Group left + group above
I am new to oracle report. Hope to get clear steps thx.
I have 7 columns in my report. 3 columns using group-left and i want to use another 1 column for group above.
How do i create group above for the column i want ?It is not clear to me how your report layout will be looking at runtime. Can you provide any output example.
Always use the 6 digit before and after your example. Only small letters inside the curly brackets. For more information see FAQ right corner of the page.
-Ammad -
How to design Group Left Report using RTF method ( XML Publisher )
Hi,
I need to design Group Left Report using basic RTF method. I am able to design basic simple report and Group Above Report but I am not getting Group Left Report. Can anyone help me out.
Thx N Regs,
Khan.Group Left report can be done using table consisting of 1 row and 2 columns. Group header goes to the column 1, group details go to the second column. Group details can be also designed using table, in this case you get table within table cell. "for-each.." statement for the upper level group to be placed in the left column before the group header data. "end for-each.." to be placed in the second column after the detail data.
-
Need help in group left report
i need help in group left report
i am making group left report in which all group data on top is repeating as many time as detail record is .
for axampel
if
group record:
fielda fieldb field c
fielda fieldb field c
fielda fieldb field c
fielda fieldb field c
detail record :
fieldd fielde feildf
fieldd fielde feild
fieldd fielde feild
fieldd fielde feildf
how i can show group record on top once and on each group record show detail record belong to master record.
plz help me
A.RI think you Should go for Group above report...
and if you want group left only and also want to display master once then
put all master fields above but yeah take care of it's master repeting frame
it should not change...
and if you want i can send you an example...
Enjoy Oracle... -
How to build a Matrix with Group Left Report
I want to build a Matrix with Group Left Report,not Matrix with Group Above Report,i am still finding the solution, any help is useful.
thanks
<[email protected]>Hi,
The problem in your output is not clear. The report output should appear like:
Order Mode.....Sales_Rep_ID > 10..11..12..
Online.........Order Status
...............A..............x....x...x
...............B..............x....x...x
...............C..............x....x...x
Order Mode.....Sales_Rep_ID > 10..11..12..
Retail.........Order Status
...............A..............x....x...x
...............B..............x....x...x
...............C..............x....x...x
Here "Order Mode" is the group field (it repeats for every group). Could you pl specify what output you are getting?
If the problem is that you don't want the Title (like "Order Mode" in the above example) to print in every group, just place it outside the group repeating frame. It will print only once.
Navneet. -
Group Left Rpt - Dept Subtotal - S
Have a Group Left Report - Have it set up with the Following
Mgr Grp -
Mgr
Emp
SumofXYZ
Sumof123
Sumofabc,
Sumofdfe,
Date Grp -
Date,
XYZ,
123,
ABC
The report is set to Group on Mgr and Emp with Totals at Emp level, then a REPORT total generates at end of reprot ...The need I have is to be able to generate a Subtotal when the Mgr VALUE changes with the totals summing up all the EMP totals under that Mgr VALUE...have tried a few approaches ...any help would be greatly appreciated!!In the date model drag the column above all column on which you want to make a sub total on
-
Group Left report does not sort DESCending
Hello seniors...
i have the following query that produces result as desired below at SQL level; i am aiming at rows to be displyed in the DESCending order..
SQL> SELECT Z.ACATG_TYPE, Y.EXPN_CATG, z.ACATG_DESC, y.expn_code, y.expn_name,
2 DECODE(Z.ACATG_TYPE,'I', x.closing) Income,
3 DECODE(Z.ACATG_TYPE,'E', x.closing) Expense
4 FROM(
5 SELECT PSN_PARTY, expn_name, SUM(nvl(NETT,0)) nett, SUM(nvl(DEBIT,0)) debit, SUM(nvl(CREDIT,0
)) credit,
6 SUM((nvl(NETT,0)+nvl(DEBIT,0)-nvl(CREDIT,0))) CLOSING
7 FROM (
8 SELECT PSN_PARTY, 0 nett, SUM(nvl(debit,0)) DEBIT, SUM(nvl(CREDIT,0)) CREDIT
9 FROM(
10 SELECT PSN_TXN_DATE,PSN_PARTY, nvl(DEBIT,0) debit, nvl(CREDIT,0) credit
11 FROM
12 (
94 where PSN_PARTY = expn_code
95 GROUP BY PSN_PARTY, expn_name) x, expense_master y, Accounts_category z
96 where x.psn_party = y.expn_code
97 and y.expn_catg = z.acatg_code
98 and z.acatg_type in ('I','E')
99 ORDER BY Z.ACATG_TYPE DESC, Y.EXPN_CATG,y.expn_code;
ACA EXPN_C ACATG_DESC EXPN_C EXPN_NAME INCOME EXPENSE
I 90 Income AC2000 Sale 1333.000
E 10 Expense AC0003 ELECTRICIRTY BILL 30.000
E 10 Expense AC0005 TELEPHONE BILL 16.000
E 10 Expense AC0007 TEA & SNACKS 17.000
E 10 Expense AC0009 REPAIRS & MAINTENANCE 15.000
E 10 Expense AC0010 MOBILE BILL 45.000
E 10 Expense AC0011 REFUND 220.000
E 10 Expense AC0019 OFFICE EXPENCE 15.000
E 40 Staff Salaries AC0006 STAFF SLALARY 250.000
9 rows selected.But when i made use of the above query in my report with Group Left Option, i dont get it sorted in DESCending order.
With Tabular type report it sorts correctly as above.
The screen schot for better idea of my report is attached for the reference.
[http://i995.photobucket.com/albums/af71/rhnshk/INCEXP.jpg|Report-Preview]
[http://i995.photobucket.com/albums/af71/rhnshk/INCEXP1.jpg|ReportWizard-DataModel]
[http://i995.photobucket.com/albums/af71/rhnshk/INCEXP2.jpg|ReportWizard-Groups]
[http://i995.photobucket.com/albums/af71/rhnshk/INCEXP3.jpg|ReportWizard-Fields]
[http://i995.photobucket.com/albums/af71/rhnshk/INCEXP4.jpg|ReportWizard-Totals]
i want the rows with acatg_type = 'I' to be displayed first.
Sorry for not attaching the complete SQL, but no issues if at all required, i can do that as well.
Since its a long in-line view created SQL. thought the solution might come out showing this much part only.
i am using Report 6i on 10g.
Please help me.Thanks Arif,,
Grouping/Break i need to be done with EXPN_CATG-within-ACATG_TYPE.
if you can view the my report image links, u'll understand much better.
EXPN_CODE is not part of the Group Fields.
Still i tried re-arranging Group fields, but still the same..
Row with ACATG_TYPE = 'I' is not moving up.
Please suggest.. -
Hi,
I have a sql which contains an order by clause (order by field1, field2), the query runs fine in SQL*Plus.
I tried to create a Group Left report in Reports 10g. When I run the report, it disregards the order by clause.
The report works fine if I picked tabular.
Thanks in advance
TusharLet us take an example of a table with the following structure -
create table test (grade varchar2(3),
detail varchar2(10));
Here GRADE is the column which contains numbers as well as alphabets or
alpha-numerals.
A normal query on the table would result in the following -
select grade, detail from test
GRADE DETAIL
1 DET1
1 DET2
1 DET3
1 DET4
2 DET1
2 DET2
2 DET3
5 DET1
A DET1
A DET2
B DET1
B DET2
B DET3
B DET4
10 DET1
10 DET2
10 DET3
If you want the GRADE to be sorted in a numeric order first and then alphabetically,
you can use the concept explained .
select grade, detail
from test
order by decode( TO_CHAR(NVL(LENGTH(TRANSLATE(grade,'A1234567890','A')),0)),
'0',LPAD(grade,8),
grade)
GRADE DETAIL
1 DET1
1 DET2
1 DET3
1 DET4
2 DET1
2 DET2
2 DET3
5 DET1
10 DET1
10 DET3
10 DET2
A DET1
A DET2
B DET1
B DET2
B DET3
B DET4
If you were to write the above query in Oracle Reports (tabular style),
the output would be the same as above.
But if you create a group left or group above style with GRADE as the
higher group, the same query would give the following result -
GRADE DETAIL
1 DET1
DET2
DET3
DET4
10 DET1
DET3
DET2
2 DET1
DET2
DET3
5 DET1
A DET1
DET2
B DET1
DET2
DET3
DET4
This is because although the server sends back the resulting set in the desired
ordered fashion, the grouping on grade does a further sort (ascending - the
default). But this sort is done alphabetically since this is a varchar2 column.
To avoid this or to achieve the desired output (numbers to appear sorted first
and then alphabets), use the decode in the select list itself.
Now the query for the report becomes -
select decode( TO_CHAR(NVL(LENGTH(TRANSLATE(grade,'A1234567890','A')),0)),
'0',LPAD(grade,8),
grade) grade
, detail
from test
The order by clause in the query is irrelevant since the grouping inside reports
anyway does the sort. The result would look like
GRADE DETAIL
1 DET1
DET2
DET3
DET4
2 DET1
DET2
DET3
5 DET1
10 DET1
DET3
DET2
A DET1
DET2
B DET1
DET2
DET3
DET4 -
Hi,
I am facing problem in Group Above report this can be said in the schema of Scott as follows.
I have developed group above report on Dept,Emp tables. It is showing all the data but the deptno =40 is not showing. The query used is
select * from emp,dept
where dept.deptno=emp.deptno(+)
There I have also used formula column to calculate total salary for each department in front of each department. I case of dept no =40 it is also showing blankHi Riaz
The 'emp' table does not have employees in dept 40.
Regards
Sripathy -
How to create a Group Above report using APEX
I want to create a Group above report with more that one group using APEX. Is it possible to generate such a report using APEX. If so kindly let me know how to go about creating a Group above report with more than one group.
Hello Srini,
Thank you very much for the reply but I'm not into OBIEE... I want the required query to be processed and the output to be shown in xml layout to load into RTF document. The rest I can manage.. but please let me know how to get the .xml output with out using the report builder or the apps environment(concurrent prg submission)..
Please let me know if any... urgent
Thanks in advance
Krishna -
Group Left report: problem in order the columns
Hi,
I have a Group Left report in report6i with group A and Group B. Group A has columns AAA, BBB, CCC, DDD, EEE, FFF and Group B has coulmn YYY, ZZZ.
The problem is report does not take order by clause. It sort the report by first column of Group A, does not reflect my order by clause.
I created laxical variable in order to change order by clause dynamically.
Any suggestion?
Thanks in advance
DipHi,
I have a Group Left report in report6i with group A and Group B. Group A has columns AAA, BBB, CCC, DDD, EEE, FFF and Group B has coulmn YYY, ZZZ.
The problem is report does not take order by clause. It sort the report by first column of Group A, does not reflect my order by clause.
I created laxical variable in order to change order by clause dynamically.
Any suggestion?
Thanks in advance
Dip -
Break Column in Group Above Report - Causing Error in Data Groupings
Since I'm required to designate at least one Break Column in my Group Above report, I created a dummy column in my SELECT statement. I did this so that I could designate the required minimum of at least one break column, but I designated one that won't have any impact on how the report is ordered, because it will be the same value (NULL) for every record. So, my SELECT statement starts out looking something like this:
SELECT
NULL break_column,
column_1 column1_name,
column_2 column2_name,
column_3 column3_name,
column_4 column4_name,
column_5 column5_name
I needed for the break column to have no impact on the ordering of the report because I need for the ORDER BY clause to completely control how the report is sorted, w/o any interference by a hard-coded break column. I need this because my intention is to make the ORDER BY clause dynamic, and a hard-coded break column with actual data would supercede the ORDER BY clause, thereby making it static.
Everything is working correctly with regard to how the report is sorting the records designated as group columns; however, the detail columns are getting all messed up as far as what main record they're grouped under.
By this I mean that when I designate only one break column, some details may display under the wrong group, where they're not supposed to. For example, each page consists of demographic info. about a specific record on a table, and the details listed under it should be the individual comments that have been made on that record. The issue I'm seeing is that for some records, it's showing comments from not only the record for that group, but it continues to list out comments made for other requests as well, when those comments should be displayed under their own respective records.
Why is this happening when I designate only one break column, and how can I keep it from doing this?Did you get a solution for this?
I have the same problem.
Any help would be appreciated.
Thanks,
Madhu -
Display Total in Group Above Report
Hello,
I have a group above report with month, product_id, product_name as group above fields I have product_entry_date, description, total_qty, actual_qty etc as display fields in my report.
I would like to have a total and grand total for total_qty and actual_qty for product_id and product_name. Issue I am having is when I add a summary column for total_ qty and actual_qty, total is getting displayed for each month.
How can I display total and grand for total_qty and actual_qty?
Any help is highly appreciable.
Thanksponic wrote:
Hello,
I have a group above report with month, product_id, product_name as group above fields I have product_entry_date, description, total_qty, actual_qty etc as display fields in my report.
I would like to have a total and grand total for total_qty and actual_qty for product_id and product_name. Issue I am having is when I add a summary column for total_ qty and actual_qty, total is getting displayed for each month.
How can I display total and grand for total_qty and actual_qty?
Any help is highly appreciable.
ThanksIf you want to display total qty for each month and you already done it. as you says..
total is getting displayed for each month.If not ,
Take a summary column at month group >> at properties .. Summary Function : Sum , Reset at month group.
and for grand total
take a summary column outside the query. >> at properties .. Summary Function : Sum , Reset at report.
Hope it works.
hamid
If someone's response is helpful or correct, please mark it accordingly.
Maybe you are looking for
-
Music interrupts while listening to wireless speakers via Airport Express
I live in an apartment building with many wi-fi connections all around me. When I listen to music via iTunes, I am regularly prompted with the following message: An error occurred while connecting to the remote speaker "Home", that's the name of my A
-
What's the purpose of SQL Developer's remote debug?
AS per SQL Developer's "Remote debuggin", the user guide says "To debug a function or procedure for a connection where the database is on a different host than the one on which you are running SQL Developer, you can perform remote debugging." I'm con
-
Chart not appearing in Interactive report
Hi, I have a nice interactive report. When I try to display a chart using the tools of the report, nothing appears. There is only a message, a kind of progression message saying "loading xml..... 100%", and then nothing appears. I am using Applicatio
-
Unable to restore or update ipod
I just installed iTunes 7. When I connected my 60GB, video, ipod, I was prompted to update the 1.1 version software. When I clicked update I received the following error message: "The iPod could not be updated. An unknown error occurred. 1417" When I
-
Audio in Mplayer but not in SMplayer
I'm new to Mplayer I'm afraid, i'm used to using VLC. So basically, I've set "ao=alsa" in ~/.mplayer/config and if I do "mplayer blabla.avi", the audio works. But if I open a video using SMplayer, I get no audio... Do they use different config files?