Problem in matrix report
i make a matrix report and the data is arabic
when i make concurrent pdf or html the arabic is not appear as i want.
when i try to make a template i can't because the option is table or table/form.
what is the solution?
You need to use an outer join in some way. See these similar problems:
Re: Display null rows / columns in matrix report
Re: To obtain all the Month details
Similar Messages
-
when i build a group matrix report ,i only able to get the summary totals of columns (in the cross product ) at group level,but fail to get the summary totals of columns (in the cross product) at report level.So please tell me , how can i achieve this one?
Dear Waheed....I think u just have to set property of summary column
'Reset at = Report'
I this does'nt work then u should explain ur problem.
Kashif -
Dear members
I am using reports 6 and oracle 9i. I am trying to create a matrix report in which i want to show products as rows and dates as columns. Dates should be fixed 7 days any from to dates given by user. I have used two tables prd_plan_m and product_code. I want to show plan_no and plan_qty based on product_code and date. I want to show all the products as rows whether it has plan or not and 7 days columns shows as heading weather in this there is any plan or not.
For this reason i have made this query.
SELECT ALL p.code,pkg_prod.get_prod_name(p.code)prod_name,pkg_prod.get_prod_qty(p.code)prod_qty,P.PLAN_ID, P.PLAN_DESC, a.dates,
P.PLAN_QTY, P.UNIT_ID, P.REMARKS
FROM PRD_PLAN_M P ,(select rownum - 1 + to_date('20-jul-08', 'dd-mon-rrrr') dates
from all_objects
where rownum < to_date('26-jul-08', 'dd-mon-rrrr') -
to_date('20-jul-08', 'dd-mon-rrrr') + 2)a
where P.PLAN_DATE(+) = A.DATES
UNION
SELECT E.P_CODE,E.PROD_NAME,E.PROD_QTY,null,null,null,null,null,null FROM PROD_CODE E
But this query shows duplicates rows. suppose one product_code in prd_plan_m has plan_qty shows one row and the row from product_code table also show the same row which have no plan qty.
Help me in this regard.
I will be very thankful to you .
thanks and regardsThanks for reply. But this query is also produce the same results see bellow output.
CODE PROD_NAME PROD_QTY PLAN_ID PLAN_DESC DATES PLAN_QTY UNIT_ID REMARKS
0101 MOUNTAIN DEW 225 ML NR
0201 PEPSI MAX 240 ML
0301 PEPSI 250 ML P0001L01 TEST PLANE-01 7/21/2008 20000 1 test
0301 PEPSI 250 ML
0302 MOUNTAIN DEW 250 ML P0005L02 NEW ENTRY 7/26/2008 20000 TEST
0302 MOUNTAIN DEW 250 ML
Code 0301 and 0302 are repeated. But they should be shown only once. Please help me to resolve this problem.
thanks & regards -
Matrix Report Problem in Oracle Apps
Hii All,
I have created a matrix report in Orace Application using Oracle 6i. It running properly in Report 6i. But after registering in Oracle Apps,
It does not shows any output.
Database 10g
Report 6i
EBS Oracle 11i
Thanks
PSHi PS
Please check below links:
How to create a matrix report
How to create a matrix report
how to build matrix report
how to build matrix report
Oracle Reports Building Reports
http://download.oracle.com/docs/html/B10602_01/part4.htm
Regard
Helios -
VERY Complicated Matrix Report (9i Builder) Problem
Hi, I am working on a matrix report with 9i Builder , the layout is as follows:
a b c d e
1 x1 x2 x3 x4 x5
2 x6 x7 x8 x9 x10
How can I control the report so that the layout can be changed as follows?
a b c
d e
1 x1 x2 x3
x4 x5
2 x6 x7 x8
x9 x10
(x are the cross product values, a to e are the column headings, 1 to 2 indicate horizontal groups)You will need to include an additional column of your date column to your SQL statement.
e.g Your original column - to_char(your_date_column,'Month') "Months Name".
Add a new column - to_char(your_date_column,'MM') "Sort Column".
In the Matrix Row, include this new column field also. In the Data Model, move this new column field to the top. Remove the Break Order property to NONE for your original date field (Months Name). -
Hi all, i want a solution from you guys.
I have a rdf report where size is shown there (like S, L, M, XL, XXL...etc). Later i have another matric report
SERIAL SIZE
1 Small
2 Mediam
3 Large
4 Extra-Large
5 Double-Excel
now i want to make a matrix report where matrix column is SIZE . But mu concern is, i want to show them the sequence of SERIAL.
How can i do that ...?replied you here:
Matrix Roport Calculation Problem -
Page level total in a mulipage matrix report
hi!
I am facing a problem in marix reports because a very late change in customer requirement.he wants a page total at the end of every page in the report ,because these reports are matrix style,they involve cross product.i can get the grand total at the end of the report because the summary column works well at report level,but when i try to reset it at page level,at times it shows blank or generates an error that matrix report fetches everthing at report level and cannot generate results at page level.but now how do i get these page totals without changing these matrix reports.Plz reply ASAP
Regards
simer
The Oracle Reports Team
http://otn.oracle.com/Hi I was browsing through the forum, and found no reply to your question, if you still interested about the solution I can send you my RDF file where I did the page level total in matrix report as well as brought
forward in next page, this is something very hard for me to explain in word, so if you can give me your email address I can send you the RDF file.
Thanks & Regards
Eamon -
Hello, Expert,
Could you please help me with the following problem? Thanks in advance!
I have designed the matrix report (SSRS 2012) with database table structure looks like below.
Week
Version
Count
Week1
V1.1
4000
Week1
V1.2
4000
Week1
V1.3
4000
Week2
V1.1
3000
Week2
V1.2
3000
Week2
V1.3
3000
Week3
V1.1
2000
Week3
V1.2
2000
Week3
V1.3
2000
Week4
V1.1
1000
Week4
V1.2
1000
Week4
V1.3
1000
The matrix report displays like below. Column grows based on no of Week in the table.
Week1
Week2
Week3
Week4
V1.1
4000
3000
2000
1000
V1.2
4000
3000
2000
1000
V1.3
4000
3000
2000
1000
What I want to do now is: instead of the Count values, I need to calculate the percentage of each week over the
Count in Week1 so that each cell displays Count(Week2)/Count(Week1), Count(Week3)/Count(Week1), etc. What is the SSRS expression for that? I’m new to SSRS, Please help!Heidi,
Thank you so much for your reply and solution! Now I know how to get the first field in a group. But I can't apply your solution directly just yet because in order to explain my problem I simplified my data structure. My real data structure has a nested
group like this:
Week VersionMajor VersionMinor Count
Week1 V1 V1.1 2000
Week2 V1 V1.1 1500
Week3 V1 V1.1 800
Week1 V1 V1.2 1000
Week2 V1 V1.2 500
Week3 V1 V1.2 200
Week1 V1 V1.1 2000
Week2 V1 V1.1 1500
Week3 V1 V1.1 800
Week1 V1 V1.2 1000
Week2 V1 V1.2 500
Week3 V1 V1.2 200
Here is the query for the above data:
SELECT 'Week1' AS Week, 'V1' AS VersionMajor, 'V1.1' AS VersionMinor, 2000 AS Count
UNION ALL
SELECT 'Week2' AS Week, 'V1' AS VersionMajor, 'V1.1' AS VersionMinor, 1500 AS Count
UNION ALL
SELECT 'Week3' AS Week, 'V1' AS VersionMajor, 'V1.1' AS VersionMinor, 800 AS Count
UNION ALL
SELECT 'Week1' AS Week, 'V1' AS VersionMajor, 'V1.2' AS VersionMinor, 1000 AS Count
UNION ALL
SELECT 'Week2' AS Week, 'V1' AS VersionMajor, 'V1.2' AS VersionMinor, 500 AS Count
UNION ALL
SELECT 'Week3' AS Week, 'V1' AS VersionMajor, 'V1.2' AS VersionMinor, 200 AS Count
UNION ALL
SELECT 'Week1' AS Week, 'V1' AS VersionMajor, 'V1.1' AS VersionMinor, 2000 AS Count
UNION ALL
SELECT 'Week2' AS Week, 'V1' AS VersionMajor, 'V1.1' AS VersionMinor, 1500 AS Count
UNION ALL
SELECT 'Week3' AS Week, 'V1' AS VersionMajor, 'V1.1' AS VersionMinor, 800 AS Count
UNION ALL
SELECT 'Week1' AS Week, 'V1' AS VersionMajor, 'V1.2' AS VersionMinor, 1000 AS Count
UNION ALL
SELECT 'Week2' AS Week, 'V1' AS VersionMajor, 'V1.2' AS VersionMinor, 500 AS Count
UNION ALL
SELECT 'Week3' AS Week, 'V1' AS VersionMajor, 'V1.2' AS VersionMinor, 200 AS Count
And my matrix table looks like this:
What I need to do is to calculate the percentage of each week over week1 for
1) V1 Total
2) V1.1
3) V1.2
I can't use your solution directly because I need to apply Sum function for each cell and the Sum function gives me error when I try to use it on the denominator
First(Fields!Count.Value,"VersionMinor"). If you could help me further to get to the final solution, I'd really appreciate it!!
Happy New Year! -
Matrix Report - REP-1813:Object object name too large to fit in matrix cell
I had this problem when running a matrix report. The report details are as follow :
Query : select department,work,salary from sal;
matrix row field : department
matrix column field : work
matrix cell field : salary
data inserted into table sal :
department : 10
work : clerk
salary : 1000
I had created the same record for 60 times. Meaning there are 60 records(with same data) in the table. When I run the report, I got the error. But, if I deleted some records, it worked fine.
In fact, I had already changed the 'Vertical Elasticity' property for all repeating frames to 'Variable'.
Could somebody please help me to solve this. It is urgent. Thanks in advance.Hi,
Your problem is bacause the innermost fame which is printing salary per row&column is printed 60 times. (because the job & dep are same for all 60 records). You get this error when the inner most frame grows to next page. Try this with setting the max no.of records per page to some 38 or 30 depending on page size. You will get it without error.
Regards,
Chandra -
<p>Dear fellows,<br>
<br>
I am designing a matrix report of Rooms those are vacant at certian time and
days of week. In this time values are fixed, I have written the mention below
query to design the report.<br>
<b><br>
Table Description is</b> <br>
<br>
<br>
SQL> desc vac_rm<br>
Name
Null? Type<br>
----------------------------------------- -------- ----------------------------<br>
RM_NO
NOT NULL VARCHAR2(8)<br>
DAY
NOT NULL VARCHAR2(9)<br>
TIME
NOT NULL VARCHAR2(20)<br>
VACANT
CHAR(1)<br>
<br>
<b>Query is</b> <br>
SELECT day, time,<br>
LTRIM(MAX(SYS_CONNECT_BY_PATH(rm_no,','))<br>
KEEP (DENSE_RANK LAST ORDER BY curr),',') AS Room<br>
FROM (SELECT day,time, rm_no,<br>
ROW_NUMBER() OVER (PARTITION BY day ORDER BY rm_no) AS curr,<br>
ROW_NUMBER() OVER (PARTITION BY day ORDER BY rm_no) -1 AS prev<br>
FROM vac_rm <br>
where vacant = 'Y'))<br>
GROUP BY day, time<br>
CONNECT BY prev = PRIOR curr AND day = PRIOR day<br>
START WITH curr = 1<br>
<br>
The problem occur in this way that when I see the result It show same room no
many time in single cell.<br>
<br>
For Example there is Room A1 and it is vacant on monday at <br>
9:00 AM - 11:00 AM, then it will show<br>
<br>
<b>Time</b> 9:00 AM - 11:00
AM 11:15 AM - 1:00 PM<br>
<b>Day</b> <b><br>
Moday</b>
A1, A1, A1 A1, A1, A1, A3, A2<br>
<br>
I am very grateful In this regard if you sort out this matter. <br>
</p>For the periods, create a seperate dummy query and then use it as column group in the multi query matrix.
-
hello...........
I know how to create matrix report but there is one problem
i want to dispaly matrix column name(heading) from table and below it i want to dispaly sum of other fields.
there is problem regarding column header if value is not avilable then header also not displayed currently but i want to dispaly column header also weather value is there or not.
please help me ........Modify the query and add (probably using UNION) dummy records for all columns needed in the matrix.
-
Matrix report in condensed mode in dot matrix printer
How can we print a 10g matrix report in condensed mode in dot matrix printer? The dot matrix printer is a Epson LQ 1070+ printer. I am tried using a printer definition file and given printer codes in the report. The printing is not taking place in condensed mode. This method however is working for other reports. Could any one help?
Regards,
Jayram
Edited by: jayramkumars on Feb 6, 2009 12:11 AMHi all,
This is to inform that I have myself found the solution. It is possible to print matrix report in condensed mode. The method for printing is same as for any other report. The mistake I made was not checking whether the .prt file is getting referred correctly. The DESFORMAT system parameter was getting populated through the calling form. By referring to the correct .prt file the problem got fixed.
Regards,
Jayram -
Matrix Report with variable@incontext not working
I had built a matrix report, using variable@incontext. I'm having a problem with my cell data. It seems that it is always using the value from the first record in the column instead of the actual value.
ie in the example below, the data should make it come out like:
Staff____01____02____03______
Bob_____Bob_________Bob
John____John__John___John
Joe_____Joe___Joe____Joe
but it's coming out like this (the data for John is wrong in column1 and 3 and the data for Joe is wrong in all columns) :
Staff____01____02____03______
Bob_____Bob_________Bob
John____Bob___John___Bob
Joe_____Bob___John___Bob
Staff Column(Down):
<?for-each-group:ROWSET2_ROW;./STAFF_NAME?><?variable@incontext:STAFF;STAFF_NAME?>
<?STAFF_NAME?>
Number Column (Across)
<?for-each-group@cell://ROWSET2_ROW;PERIOD?>
<?sort:current-group()/PERIOD;'ascending';data-type='text'?>
<?if:count(current-group()[STAFF_NAME=$STAFF])?><?STAFF_NAME?><?end if?>
<?end for-each-group?>
<?end for-each-group?>
It looks like the value for '$STAFF' and ?STAFF_NAME are not right when there was data in a previous column.
Can anybody Help me?Hi,
Can you please help me to solve the problem.
Thanks in Advance
Adina. -
Dear All,
I have a problem in report. I created a matrix report in report 6i. while i m running report, the o/p is proper.
But after register the report in Oracle Apps, It doesn't show anything even title name.
How can i handle this problem. Please help.
Thanks
PSHi PS
Please check below links:
How to create a matrix report
How to create a matrix report
how to build matrix report
how to build matrix report
Oracle Reports Building Reports
http://download.oracle.com/docs/html/B10602_01/part4.htm
Regard
Helios -
Formula Column in Matrix Report (Running Balance)
Hi all. I hope somebody can help me.
I am working on a matrix report using multi-query data models. The report has 2 groups in the horizontal axis and 3 groups in the vertical axis. The intersection is not just a single row but may consist of multiple rows.
My problem is this. I want to create a column in the intersection which is obtained by using a column value from the lowest group in the vertical axis and a summary column obtained from the rows of the intersection.
Here's what my report looks like:
2002 (accross)
2002(down) january february (accross)
January (down) payments balance payments balance
loan #1 10,000 500 9,000 200 8,800
500
loan #2 5,000 100 4,900 200 4,700
February
loan #3 3,500 0 3,500 50 3,450
loan #4 4,200 0 4,200 0 4,200
As you can see, the loans are grouped by month and year. And the payments are grouped for the month and year too.
The data model is :
For Query 1 (Vertical Axis),
1st group - Loan Yr
2nd group - Loan Mo
3rd group - Loan # and amount
For Query 2 (Horizontal Axis)
1st group - Payment Yr
2nd group - Payment Mo
Intersection Group - Payment Amount
My problem actually is how to compute for the running balance of the loan for each month in the horizontal axis. Ive already created a cross product summary to get the running total of the payments made for the month. I tried creating a formula column to for the running balance by subtracting it from the loan amount but i get the error "incompatible frequency"
I hope i have described my problem well and thanks for the helpThe problem is that you're trying to reference dimension columns(loan Amount) in the calculation of matrix cell values. You can only reference other matrix cell values or cross product columns (summary, formula, placeholders) when calculating matrix cell values. Try moving the (loan Amount) column down to the matrix cell - something like:
For Query 1 (Vertical Axis),
1st group - G_LoanYear(LoanYr)
2nd group - G_LoanMonth(LoanMo)
3rd group - G_LoanNumber(Loan#)
For Query 2 (Horizontal Axis)
1st group - G_PaymentYear(PaymentYr)
2nd group - G_PaymentMonth(PaymentMo)
Intersecion /Detail Group - G_Details(PaymentAmount, LoanAmount)
Then create the following Matrix summary columns:
A running summary - CS_Payments:
- Product Order: G_LoanYear G_LoanMonth G_LoanNumber G_PaymentYear G_PaymentMonth
- Source: PaymentAmount
- Function: Sum
- Reset At: G_LoanNumber
The total amount per loan - CS_TotalPayment:
- Product Order: G_LoanYear G_LoanMonth G_LoanNumber
- Source: LoanAmount
- Function: First
- Reset At: G_LoanNumber
The value of the loan after each payment - CF_Countdown:
- Product Order: G_LoanYear G_LoanMonth G_LoanNumber G_PaymentYear G_PaymentMonth
- PL/SQL Formula:
function CF_CountdownFormula return Number is
begin
return(:CS_TotalPayment - :CS_Payments);
end;
You should then be able to display "CF_Payments" and "CF_Countdown" in the matrix cell to show how much has been paid and how much is still owed.
You can still have another "loan amount" as a dimension column - you just don't need to use it when calculating the values in the cell.
Maybe you are looking for
-
Project commitment shows even after closing PO
Hi, I have developed a program to short close PO (in mass). This program marks Delivery indicator and sets Latest GR Date. After running this program POs are short closed and To be delivered qty/value shows zero in MM reports such as ME2N. The probl
-
How do I transfer an itunes card from an old apple id to my new apple id?
I recently had to update my apple id and password because I no longer have that account. I had an itunes card on the old apple id and after changing my id it's not there anymore...can I transfer this? Does this also affect my purchases?
-
Tax Departure Country in Consignment Issue
Hi, I have read lots of thread regarding this issue but all of them ended with suggestion related to plants abroad which in our case will not resolve the issue. Let me again put the question and hopefully somebody will answer to this. We are doing an
-
Hi All, I want to upload Purcase details thro BAPI_PO_create1.I am able to upload PO for single line item. If i pass multiple line items i am getting error. Error is "Purchase order still contails faulty items". Pls see my code,and help to solve this
-
When will Multi-Master over WAN being supported ? Will it be in 5.2, and when will this release being distributed ?