How to create a matrix report with xml
Hi,
I have a problem with a maxtrix report ,I got the output from the application but I don't know how to create it at the bi puplisher in order to get the righte template.
So if any one know the answer or have a useful decomentation send it me .
Eman.
Have a look at this http://download.oracle.com/docs/cd/E12839_01/bi.1111/b32122/orbr_matrix.htm#g1017642
-Ammad
Similar Messages
-
How to create a matrix report on Apex 4.1
Hi all.
I need to create a report similar to this one:
Jan Feb Mar .....
Product Category
Category One 999 999 999
Category Two 999 999 999
On a reporting tool like Oracle Reports, this is call a matrix report which can be easily created: just one simple query , select a matrix report type, compute summary values for row /column and grand total, and that is.
How would one implement this on Apex 4.1???
Have a couple of ideas:
- Populate temporary table with columns corresponding to month.
- Create a procedure that return a collection and use that as a source for report.
- Etc.
What other options do i have ...?
Thanks in advance ...!Hi all,
I did create a matrix report using the pivot function and some interesting settings in APEX. So far it is only does display data. I did not find a way yet(?) to alter the data in the same matrix.
The data is based on a simple set of tables about planning. The end result does look something like the matrix below. Note: the dashes are just there to make the matrix look like a matrix on this forum.
Resource 13-08 20-08 27-08 03-09 10-09 17-09 24-09
Angelo-----25-----22-----12-----10------------------------
John---------8-----22-----36-----22------------------------
Marit-----------------5-----40-----36-----24-----12-----10
The resources (Angelo, John and Marit) are being registered in the following table:
CREATE TABLE EVP_RESOURCES
RSS_ID NUMBER(10,0) NOT NULL,
NAME VARCHAR2(25 BYTE) NOT NULL
The date periods (13-08 till 24-09) are being registered in the next table:
CREATE TABLE EVP_DATA_POINTS
DPT_ID NUMBER(10,0) NOT NULL,
DATA_POINT_DATE DATE NOT NULL,
V_DATA_POINT_DATE_FORMATED VARCHAR2(75 BYTE) GENERATED ALWAYS AS (TO_CHAR("DATA_POINT_DATE",'dd-mm')) VIRTUAL VISIBLE
The virtual column (v_data_point_date_formated) is not needed. You can use this virtual column or format the column in multiple places.
The available units are being registered in the intersection table below:
CREATE TABLE EVP_RESOURCE_PLANNING
RPG_ID NUMBER(10,0) NOT NULL,
DPT_ID NUMBER(10,0) NOT NULL,
RSS_ID NUMBER(10,0) NOT NULL,
UNITS NUMBER(10,0)
The data is being displayed in APEX in a report region of type "SQL Query (PL/SQL function body returning SQL query)". And the following option has to be switched on "Use Generic Column Names (parse query at runtime only)".
This does give a restriction on the number of columns which can be used. You can however change the number of columns in the field "Maximum number of generic report columns:" to a high number. So in most cases this is no issue at all.
In the Region Source I did put the following code:
begin
return 'select *
from ( select rss.name "Resource"
, v_data_point_date_formated
, rpg.units
from evp_resources rss
, evp_data_points dpt
, evp_resource_planning rpg
where rpg.dpt_id = dpt.dpt_id
and rpg.rss_id = rss.rss_id
pivot (sum(units) for v_data_point_date_formated in (' ||
evp_pkg_dpm.f_dynamic_pivot_in ||
order by 1';
end;
The function evp_pkg_dpm.f_dynamic_pivot_in does return a string which is based on the number of rows in the table evp_data_points. In my case this string is: '13-08' as "13-08",'20-08' as "20-08",'27-08' as "27-08",'03-09' as "03-09",'10-09' as "10-09",'17-09' as "17-09",'24-09' as "24-09". If you ommit the 'as "..."' you do get quotes in your headings.
Enjoy and regards,
Jurgen
PS: let me know if something is missing or not clear!
Edited by: user553427 on Aug 17, 2012 5:46 AM (Query has been made more simple and I build up the header differently) -
Hi all,
i want to create a matrix report manually by writing the query how can i create it in reports builder 10g
please give me the details steps or any documentations for this so can i easily create the matrix report and also design
for the matrix report. Please give me specific examples for creating the matrix report.
plz give me the detail steps.
please reply.......Have a look at this http://download.oracle.com/docs/cd/E12839_01/bi.1111/b32122/orbr_matrix.htm#g1017642
-Ammad -
How to create a SSRS report with SharePoint 2013 team site's calendar?
Hi I have sp13 and SQL Data Rool (that brings up VS Shell 2010).
I need to build a report where the top part is to have a SP Team site's calendar for up coming week. The 2nd half would be a table with data from that same site. This report would then need to be embedded in a email that automatically sent to several
users on weekly basis.
I have the table data report created form the SP list. How can I get the calendar(display as a calendar that I see in the team site) on to the top part of this report?
Thank you.Please follow this article to write SSRS reports with data source as SharePoint list/calendars etc. All document libraries, list and calendars are derived from base list class so you can use any of this type as a data source
http://www.mssqltips.com/sqlservertip/2068/using-a-sharepoint-list-as-a-data-source-in-sql-server-reporting-services-2008-r2/
Once your SSRS report is developed, you have multiple ways to show it in SharePoint
- upload to SSRS server and show in sharepoint in a page viewer web part or simply open it as a link in new window
- configure SharePoint environment with integration to SSRS and upload report to SharePoint library. Display report in a web part page using SSRS web part.
Moonis Tahir MVP SharePoint,MCTS SharePoint 2010/2007, MCPD.net, MCSD.net, MCTS BizTalk 2006,SQL 2005 -
New GL: How to create Profit C. Report with account and statistics combined
Dear Experts,
we are in need to build a report in the new Profit Center accounting (ECC6.0), which is combining the data from new GL table (FAGLFLEXT) and from the statistical key figure table FAGLSKF in one report in order to be able to report on sales per squaremetre for example. Preferabbly, we would like to use report painter/report writer for this, but any other solution how to create this without too much custom programming is highly appreciated.
Thank you very much,
TimoDear Experts,
unfortunately, the statistical key figure is in a different table. For this reason it is not enough, to create a new key figure based on the table FAGLFLEXT, because the basic key figure is not there. It is in a different table called FAGLSKF. I tried to merge these two structures by defining new a new evaluation structure based on on flexible analyses in the Logistics-Sales_and_Distribution-Sales_Information_System (transaction mcs7), but the problem is, that I get 16 basic key figures instead of one for the periods. How can this be avoided?
Thanks Timo -
Hello,
I would like to create an expense report like the one shown below.
As far as I could try the PDF forms editor, I don't understand how we can build such report. Furthermore, I would like to know how we can make easy calculation in the report ?
Thanks for your assistance.
BenI would suggest, building additional columns in your query for the what if analysis. These columns would use formula variables for the user to input for the changeable fields. These will give hima side by side comparison of actual and what-if values.
Thanks
Vineet -
How to create a table report with alphabetic link at the top
Hello,
I have a db table of users, and have created a report based on this table, however I want to have each aphabet letter at the top of the report so that users can click on the letter and see all records where the username field starts with that letter.
How can I achieve this?
Thanks,Hello user11243298 (please tell us your name),
Your report query would look something like this (assuming page number is 1):
select some_column1, some_column2
from your_user_table
where username like :P1_INITIAL || '%'
For the letters at the top of the report, here's a couple options:
- If you want all letters to appear whether or not there are any rows, you can create a series of buttons or links, one for each letter, and specify the target URL to submit back to the report page, setting the item P1_INITIAL to each letter.
- If you want only letters that have rows, one way is to create a dynamic LOV based on a query like this:
select distinct upper(substr(username, 1, 1)) d, distinct upper(substr(username, 1, 1)) v
from your_user_table
order by upper(substr(username, 1, 1))
Then use that for a select list with submit, again targeting the report page and setting P1_INITIAL to the selected value.
Hope this helps (if it does, please reward it),
John -
How to Create a simple report with headers and repetitive details
Hi All,
I have been trying to do a report through PLD with a query that accept a parameter and has been saved into a Query category of the Query Manager. The Problem that i have encountered is that though i wish to have some of my fields into the Report's Page Header Area, i may not able to move it from Repetitive Area1 Area.
I tried creating a field of database and tried linking it with Table but only the First Record details of my table gets displayed in that field irrespective of the parameters i provide.
Thanks in Advance,
Siju DasanHi Suda,
The 'T0.' and 'T1.' can be avoided as you say...
The resultset would contain same values for fields of Table1 and the different values of fields of Table2, which means the fields of table1 can be grouped and moved to the header and so it needn't be redundant in the report.
just like resultset,
T0.Field1 T0.Field2 T1.Field1 T1.Field2
1 Henry Item01 345
1 Henry Item02 112
1 Henry Item03 745
As in this resultset above, you can see that fields of T0 that is Table1 can be grouped so that only Fields of T1 that is Table2 need be displayed in repetitive area.
Thanks,
Siju Dasan -
Oracle Reports with XML output showing data as asterik character
Hello,
I'm trying to create an Oracle report with xml output. Here is the issue I'm having some of the columns in my report are of datatype number. When I run the report and generate xml file the values for those columns(datatype number) are showing as (*) character, other columns are showing fine. But when I run the report as text output then data is fine. I don't understand why this is happening.
The property of column is Column Type - Database Scalar, Datatype - Number , width 0,-127.
Does the width has to do anything with this?
I'm using Report Builder 6.0.8.11.3, DB version 10g.
Can anyone please help me with the issue I'm having.
ThanksIf the links in your example report1 and report2
follow my format stated earlier
http://machine:port/reports/rwservlet/report=reportnam
e.rdf&destype=cache& paramform=htmlcss&server=<YourReportSe
rverName>&userid=scott/tiger@hrdb&desformat=pdf
This is what I believe
>
so http://machine:port/ is the port where
JBoss is running and
This should be the port that the report server is listening on
>
server=<YourReportServerName> is the name of
my oracle report server
so I call the above link in my current application
and the report would show up
Yes
>
that means (correct me if I am wrong) that my reports
would have to be deployed in OracleAS
Yes
>
I have to try all this yet as till this point I was
trying to run Oracle reports deployed in JBoss...
This may be possible, I am not sure.
>
Oracle J2EE Thin Client?
I am not sure what this is used for in your setup. -
Matrix report with group.
dear all,
can anyone guide me how to build a matrix report with group using scott schema.
i can not be able to build a query.
Thanks
Muhammad NadeemThe example given by Oracle (from the above link) using the following SQL for a matrix report is flawed.
SELECT DEPTNO, JOB, SUM(SAL)
FROM EMP
GROUP BY DEPTNO, JOB
ORDER BY DEPTNO, JOB
The SUM function handled by the query restricts you from doing so many things - especially when you want the empty fields to be filled by 0 (by using the Value if Null property).
If the query is changed to ''SELECT DEPTNO, JOB, SAL FROM EMP' , and use the SUM function in the wizard to build the Matrix cell, then the 'Value if Null' property can be used without any issues.
This also makes Section 25.6 (Add zeroes in place of blanks) of the documentation a joke.
Anyway, that's my cents worth.... -
Tree Matrix Report with double line heading
Hi,
I am very new to HTML-DB and HTML as well.
I need to create a matrix report with a tree functionality and with two line heading.
Basically This is what I need to generate
REGION1 REGION2 REGION3
COL1 COL2 TOTAL COL1 COL2 TOTAL COL1 COL2 TOTAL
===========================================================
CAT1+
Sub_CAT1
Sub_CAT2
CAT2+
Sub_SCAT3
Sub_SCAT4
Where CAT1 , CAT2 needs to be collapsible rows. SCAT1..SCAT4 are sub categories under main categories.
REGION1.... REGION3 are top level headings. And COL1,COL2 are sub headings under top level headings.
Thanks,
ShriPlease help me on this!
Thanks,
Shri -
How to create a matrix like report with description column
Hi,
currently i have two tables - one describing a job and another describing the stock. it is a simple relation where a job uses stock.
i join job and stock using stock_code. there are three categories of stock - namely envelope, insert, stationary.
i wish to create a cross tab report - basically i would like it to look like
jobname, envelope, stationary, insert
abc, e1, s1, i1
, ,s2,i2
def, e2,s3,i4
, e3, , i5
basically for each job i would like to place the stock code under envelope, stationary, or insert based on what type of stock it is. i can do this in sql, however, i get left with blank spaces.
i do this by
select
"FILE_PARAMETER"."FILE_NAME" as "FILE_NAME",
"CATEGORY",
"STOCK"."STOCK_CODE" as "STOCK_CODE",
decode(upper("CATEGORY"), 'LASER', "STOCK_CODE", '') "LASER",
decode(upper("CATEGORY"), 'ENVELOPE', "STOCK_CODE", '') "ENVELOPE",
decode(upper("CATEGORY"), 'INSERT', "STOCK_CODE", '') "INSERT",
decode(upper("CATEGORY"), 'INSERT',"STOCK"."DESCRIPTION",'') "DESCRIPTION"
from
"FILE_PARAMETER" "FILE_PARAMETER",
"JOB_OVERVIEW" "JOB_OVERVIEW",
"STOCK" "STOCK"
where
"FILE_PARAMETER"."FILE_NAME"="JOB_OVERVIEW"."AP_JOB_CODE"
and "FILE_PARAMETER"."SCODE"="STOCK"."STOCK_CODE"
ORDER BY "FILE_PARAMETER"."FILE_NAME", "CATEGORY"
unfortunately this doesn't give me exactly the output i want. i would like it to show the first piece of stock in each category on the first line, and each subsequent stock on the line after that for each job group. my solution at the moment will put the stock in the corresponding stock category column but i have been unable to find a solution to removing the blank space.
i have created the matrix report in developer and it can do what i want, however, it will not show the description for insert only. the way i have grouped it, it wants to show it all, and being a reports newbie i have no idea how to fix that
any solutions would be very much appreciated!This feature is supported in MS Access and known as CROSSTAB through TRANSFORM function.
In Oracle this exists but not in a elegant way as in MS.
You have addition function GROUP BY ROLLUP and CUBE and GROUP BY GROUPING SETS, available in 10g, which can help you.
Look in manuals and play with it! -
Matrix report in XML publisher with dynamic column groups
hi,
i have one matrix report in txt format having 5 columns under 1 month heading.
Now i want that all these 5 columns should repeat for multiple months depending upon input parameters.
S. No.
Organization Name
Organization Id
Project Code
1
GRANDWOODS 2
6825
1495
month
January
Wrk Count Ven
Wrk Cont Prw New
Wrk Amt Ven New
Wrk Amt Prw New
Tot Amt New
New
0
0
0
0
0
Existing
0
1
0
255000
255000
Total
0
1
0
255000
255000
rtf template is as follows:
S. No.
Organization Name
Organization Id
Project Code
F CS_11
ORGANIZATION_NAME
ORGANIZATION_ID
PROJECT_CODE E
month
Wrk Count Ven
Wrk Cont Prw New
Wrk Amt Ven New
Wrk Amt Prw New
Tot Amt New
New
F WRK_COUNT_VEN_NEW
WRK_CONT_PRW_NEW
WRK_AMT_VEN_NEW
WRK_AMT_PRW_NEW
TOT_AMT_NEW
Existing
F WRK_CONT_VEN_EXISTING
WRK_CONT_PRW_EXISING
WRK_AMT_VEN_EXISTING
WRK_AMT_PRW_EXISTING E
TOT_AMT_EXIS
Total
TOT_CONT_VEN_NEW_EXIS
TOT_CONT_PRW_NEW_EXIS
TOT_AMT_VEN_NEW_EXIS
TOT_AMT_PRW_NEW_EXIS
TOT E
E
now, please help me as to how repeat these 5 columns for multiple months.
if anybody has some template for matrix report with multiple coloumn group repeatation, pls. share along with sample data.
regards,
mohit guptaHi,
Check this link for developing the matrix report
Oracle Database and Oracle Applications: Matrix Report in XML Publisher
Regards
Srikkanth -
How to Create MultiSheet Excel Report Output in XML Publisher in Oracle R12
Dear All,
How to Create MultiSheet Excel Report Output in XML Publisher in Oracle R12.
My Requirement is to develop RTF Template and geneate Excel output in Multiple sheet.
plz guide me on this..
thnx
Khushalplz see
BI Publisher: How to create Multisheet in Single Excel file using Excel Template [ID 1352000.1]
for r12 you can use excel template
i think it more appropriate for excel output -
How to create a matrix with constant values and multiply it with the output of adc
How to create a matrix with constant values and multiply it with the output of adc
nitinkajay wrote:
How to create a matrix with constant values and multiply it with the output of adc
Place array constant on diagram, drag a double to it, r-click "add dimension". There, a constant 2D double array, a matrix.
/Y
LabVIEW 8.2 - 2014
"Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
G# - Free award winning reference based OOP for LV
Maybe you are looking for
-
Unable to expand/extend partition after growing SAN-based iSCSI target
Hello, all. I have odd situation regarding how to expand iSCSI-based partitions. Here is my setup: I use the GlobalSAN iSCSI initiator on 10.6.x server (Snow Leopard). The iSCSI LUN is formatted with the GPT partition table. The filesystem is Journal
-
Premiere Pro CC 2014 Startup Crash "Quit Unexpectedly"
This morning, I take a look at Creative Cloud and there was 2 updates called "Adobe Premiere Pro CC 2014" and "Adobe Photoshop CC 2014". So, I figured, "Sure. Why not?" I updated them. So far, Photoshop still works. After Effects works too. But when
-
I can't get any extensions to install for either Flash CS3 or Dreamweaver CS3. Either double-clicking the extension or going through the install menu have the same result: a flashing progress bar and no installation. This is happening on OS X Leopard
-
Urgent help in understanding this
Hi I have the attached Vi. Ths VI generate six different number between 0 and 45 i dont understand very well the logic of program. I dont understand the input of shift register []DBL. is it in funtions palette? I would like that you help to unders
-
HT3180 lost shsh blob how do i get it back
lost my shsh blob how do i get it back