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.
Similar Messages
-
Reporting data with quotes around each column, separating with ,
I want to report data with quotes (") around the data and make is CSV.
I use colsep , to allow the comma separator, but how can I get " around each column?
I do not know the column I am dealing with, since it's over several tables from a dynamic script.
EG
set pagesize 90 linesize 1000 colsep ,
spool FND_SESSION_REP.csv
with mycount as (select count(*) numrows from FND_SESSION_REP) select vi.instance_name, vi.version, moredata.* from (select rownum r,mycount.numrows, data.* from FND_SESSION_REP data, mycount where mycount.numrows>0) moredata,v$instance vi where r>numrows-10;
spool off And I'd like
"col1","col2","col3"
etc
Possible?SQL> select '"'||empno||'","'||ename||'"' from scott.emp;
'"'||EMPNO||'","'||ENAME||'"'
"7369","SMITH"
"7499","ALLEN"
"7521","WARD"
"7566","JONES"
"7654","MARTIN"
"7698","BLAKE"
"7782","CLARK"
"7788","SCOTT"
"7839","KING"
"7844","TURNER"
"7876","ADAMS"
"7900","JAMES"
"7902","FORD"
"7934","MILLER"
14 rows selected
SQL> -
How to load Matrix report data into basic table data using ODI
Hi,
How to load Matrix report data into basic table data using oracle Data Integrator ?
Requirement Description:
Following is the matrix report data:
JOB DEPT10 DEPT20
ANALYST 6000
CLERK 1300 1900 Need to convert it into below format:
JOB Dept Salary
ANALYST DEPT10
ANALYST DEPT20 6000
CLERK DEPT10 1300
CLERK DEPT20 1900
Thanks for your help in advance. Let me know if any further explanation is required.Your list seems to be a little restrictive, you can do a lot more with ODI procedures.
If you create new procedure, and add a step. In the 'command on source' tab set you technology and schema as per your source database. Use the unpivot functionality as described in the link, please, rather than using 'SELECT *' use the appropriate column names and alias them for eg:
SELECT job as job,
deptsal as deptsal,
saldesc as saledesc
FROM pivoted_data
UNPIVOT (
deptsal --<-- unpivot_clause
FOR saldesc --<-- unpivot_for_clause
IN (d10_sal, d20_sal, d30_sal, d40_sal) --<-- unpivot_in_clause
Then in your 'command on target' tab set the technology and schema to your target db, then put your INSERT statement for eg:
INSERT INTO job_sales
(job,
deptsal,
saledesc
VALUES
:job,
:deptsal,
:saledesc
Therefore you are using bind variables from source to load data into target.
Obviously if the source and target table are in the same database, then you can have it all in one statement in the 'command on target' as
INSERT INTO job_sales
(job,
deptsal,
saledesc
SELECT job as job,
deptsal as deptsal,
saldesc as saledesc
FROM pivoted_data
UNPIVOT (
deptsal --<-- unpivot_clause
FOR saldesc --<-- unpivot_for_clause
IN (d10_sal, d20_sal, d30_sal, d40_sal) --<-- unpivot_in_clause
also set the log counter as 'Insert' on the tab where your INSERT statement is, so you know how many rows you insert into the table.
Hope this helps.
BUT remember that this feature only came out in Oracle 11g. -
How to repair xls file? Microsoft Excel report me what file is not Excel format.
I need help again(( i have .xls file that cannot be opened by Excel. It reports that this file is not excel format. Can i recover it?
When an Excel file is corrupted, then you can try several methods to recover it:
1. First of all, you can try to repair the file manually in Excel, as follows:
(1) On the File menu, click Open.
(2) In the Open dialog box, select the file you want to open, and click the arrow next to the Open button.
(3) Click Open and Repair, and then choose which method you want to use to recover your workbook.
You may find more information about this at:
http://office.microsoft.com/en-us/excel-help/repairing-corrupted-files-in-excel-HA001034656.aspx (for Excel 2003)
http://office.microsoft.com/en-us/excel-help/repairing-a-corrupted-workbook-HA010097017.aspx?CTT=1 (for Excel 2007)
http://office.microsoft.com/en-us/excel-help/repairing-a-corrupted-workbook-HA010342840.aspx?CTT=1 (for Excel 2010)
http://office.microsoft.com/en-us/excel-help/repair-a-corrupted-workbook-HA102749554.aspx?CTT=1 (for Excel 2013)
2. Second, since Excel 2003, it provides a "Document Recovery" mechanism so that when Excel is shutdown abnormally, the Excel file being edited will be recovered when Excel is launched next time, which makes the file recovery possible.
See below:
http://office.microsoft.com/en-us/excel-help/recover-your-office-files-HP010354299.aspx?CTT=1
for more detailed information.
3. If 1 and 2 does not work, then you may try third-party tools such as DataNumen Excel Repair at
http://www.datanumen.com/excel-repair/
It provides a free demo version so that you can try to see if the data you want can be recovered or not.
Good luck! -
Export the data of a chart to Excel format
I developed Histogram and Bar diagram in java Graphics2D pkg. I want to export the data of the chart in Excel format so that the file can be opened in Excel tool.
Is this something that might help....
<!-- Loop through the range to create a poplist -->
<%
java.util.ArrayList alDepartments = new java.util.ArrayList();
%>
<select name="DepartmentId">
<c:forEach var="listEntry" items="${bindings.DepartmentsListView1.rangeSet}">
<c:set var="thisdept" value="${listEntry.DepartmentId}"/>
<%
//<c:out value='${listEntry.DepartmentId}'/>
String strThisDept = ((Number) pageContext.getAttribute("thisdept")).toString();
System.out.println( strThisDept );
alDepartments.add( strThisDept );
%>
<c:choose>
<c:when test="${listEntry.DepartmentId eq bindings['DepartmentId'].attributeValue}">
<option value="<c:out value='${listEntry.DepartmentId}'/>" selected="true">
<c:out value="${listEntry.DepartmentName}"/>
</option>
</c:when>
<c:otherwise>
<option value="<c:out value='${listEntry.DepartmentId}'/>">
<c:out value="${listEntry.DepartmentName}"/>
</option>
</c:otherwise>
</c:choose>
</c:forEach>
<%
session.setAttribute("sessionalDepartments", alDepartments );
%>
</select> -
Difficult to achive the report layout with dynamic column names
I have a report layout as below.
So here the column names are dynamic.And each fixed row group has different calculations. I have a date parameter. If I select July 2013, then I need to show data from July 2012 to July 2013 with Columns(Jul-12, Aug-12...Jul-13). How to achive below layout
with dynamic columns?Hi Sarayu_CM,
According to your description, you want to filter the records of prior year based on only one parameter selection. Right?
In this scenario, we can create two parameters. The first one is for user to select. The second parameter is based on the first parameter selection. We don't need to specify Available Values for the second parameter, but we should use expression to specify
Default Values based on the first parameter selection. Use the expression below:
=DateAdd("m",-12,FormatDateTime(Parameters!param1.Value))
Then we just need to apply a filter on the matrix/dataset to get the records which the date is between values in these two parameters.
If you have any question, please feel free to ask.
Best Regards,
Simon Hou -
SSRS 2005 - Dynamically control the width of columns in Matrix report or Hide any column
Hi All,
I just want to hide some column without having white space in Matrix report in SSRS 2005. Although I am aware of that perhaps this feature is not available on SSRS 2005. So, I just want to know if we can handle the width of column dynamically(using expressions)
in matrix report?
Please help. Thanks in Advance.
Regards
KumudHi Kumud,
Based on my test, SSRS is not support column dynamically width. It has property “CanGrow” of text box. If we configure the property to True, it will wraps to next line if needed. In SSRS 2008, we can hide some columns without white space. If possible, I
recommend you update your SSRS 2005 to SSRS 2008.
There is a similar issue, you can refer to it.
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/9e6043f1-c458-4540-be59-d37b02feab8a/dynamic-column-width-for-a-report?forum=sqlreportingservices
Alternatively, I recommend you that submit a wish to the Microsoft Connect at
https://connect.microsoft.com/SQLServer/Feedback. Your feedback is valuable for us to improve our products and increase the level of service provided.
Regards,
Alisa Tang
Alisa Tang
TechNet Community Support -
How to export a report data with a custom file name?
Hello:
Env: OBIEE 11g Answers/Interactive Dashboards
I have a tabular report (built in Answers) and displayed in a Dashboard. I want to export the report data in csv format prefixed with the <OBIEE user login name>_<Name of the Report>_<current timestamp> on a certain folder.
Any ideas appreciated..
Thanks
Sankar Bala
Edited by: 589151 on Mar 7, 2012 6:14 AMThis does not help solve my problem.
Tabular Report->Place it in a section in a dashboard->Report Links (Export Option turned on). When doing the export, I want to change the file name as the <Login Name>_<File Name>_<Time Stamp>.csv when doing the export into csv from the dashboard.
Regards
Sankar -
TREX search on SAP BW data with result in BEx/Excel?
Hello all!
I want to realize a search on TREX in BW-data with showing the results in an Excel-Sheet.
It works fine on Web but we have no idea at the moment how we can do this in BEx/Excel. How can we ask for data and get the result into the Excel-Sheet?
Does someone has an idea about how this could be done?
Best Regards,
PeterHello Karsten!
Your are right. Its more a BI topic. But maybe someone can tell me, how to request data out of Excel from TREX and how to send data from TREX to MS Excel?
Are there connections? functions or anything I could possibly use?
Best Regards,
Peter -
Exporting report values with preceeding zeroes in excel
Hi,
i'm trying to export a report to excel but the report has values like '0000250000' and excel strips it down to '250000'.
How do i fix this?
Thanks
DeepakHi Jayvee,
Without using Mid() function you can do this.
Please follow the steps given below.
(1). Select the properties of Item Description text box.
(2). Change CanShrink to True and CanGrow to False.
(3). Adjust report width so that it will fit in A4 paper.
(4) . Save and Deploy the report.
After exporting to excel, now you can see the full item description.
Hope this will solve your issue.
Please click the 'Mark as Answer' button, if this post solves your issue.
Best Regards,
Dhanisha -
How to transfer data from a program to excel format?
Hi,
<h4> I want to convert the abap output to excel format. Please tell me how to do it?</h4>
Megha Jain.Hi Megha,
What do you mean by 'DATA'. Are you talking about internal table?? If yes,
then use GUI_DOWNLOAD function module and pass the internal table to this FM. Specify the path of the file with extension '.xls'.
call function 'GUI_DOWNLOAD'
exporting
filename = 'C:\test\test.xls'
filetype = 'ASC'
write_field_separator = 'X'
tables
data_tab = it_tab
EXCEPTIONS
FILE_WRITE_ERROR = 1
NO_BATCH = 2
GUI_REFUSE_FILETRANSFER = 3
INVALID_TYPE = 4
OTHERS = 5
if sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
where internal table 'IT_TAB' is having all the values.
Feel free to revert back in case of any doubts.
Cheers
VJ -
How to download data into two different columns 2003 excel format in ole
Hi ALL
when we download data into excel using ole with delimiter it works fine in 2007 but when we check this with 2003 format
both fields come in only one column .Can any one suggest
CONCATENATE WA_ALL-PERNR LV_ICNUM INTO WA_PERNR SEPARATED BY W_DELI IN CHARACTER MODE.If you're already using OLE, you can fill in value for each cell separately instead of using a delimiter. Something like this fragment:
FORM fill_cell USING p_row p_col p_value.
CALL METHOD OF obj_excel 'CELLS' = obj_cell
EXPORTING
#1 = p_row
#2 = p_col.
SET PROPERTY OF obj_cell 'VALUE' = p_value.
ENDFORM. "fill_cell -
Matrix Report Fomating with Down group and Accross group list
Hello,
Does anyone know if there is way to ensure that the Down list of a Matix report finishes its list first instead of the Across list in layout. For example:
Pg1.
1 2 3 4
A
B
C
D
Pg2
5 6 7 8
A
B
C
D
Client wants to see
Pg1
1 2 3 4
A
B
C
D
Pg2
1 2 3 4
E
F
G
H
Thanks.
RyI had an inspiration while I was on the can of how you could get your desired solution. Assuming your columns are way too wide to get them all on one page, here's what you could do. You need to make two separate queries in your data model. One for columns 1 - 4 and one for columns 5 - 8. On your layout model you'll pretty much need to have two separate layouts, one for each query. Now if the report will only have one group value that it grabs each time it is run then you shouldn't have to add anything more. However, if you the user can select a range of values than you will need to alter your layout a little more. You will have to add a master repeating frame to contain both layouts with the item it groups on. Otherwise all pages containing columns 1 - 4 will print out for all item numbers before any pages will print out for column 5 - 8. Good luck.
-
How to display data with dynamic columns in JavaServerFaces?
I have a simple JSF application, where I click a button, it will display another page with data table of 2 columns and 3 rows of data. These data are �hard coded� for testing only.
In the jsp I will use like this:-
<h:dataTable
value="#{dataBean.users}"
var="record">
<h:column>
<h:outputText value="#{record.name}"/>
</h:column>
<h:column>
<h:outputText value="#{record.title}"/>
</h:column>
</h:dataTable>
Let�s say, if my data cannot be defined in advance in terms of quantity and names, how should I write my jsp and how should I define in java program?
For example, instead of the columns �name� and �title� as in above, I will know the column names and the number of columns at run time, how should I do?You need a custom component in this case. There afew out there, you may want to check what is out there before you write your own
-
BIPublisher + Apex report problem with summary operator
I design report layout in Microsoft Word with Oracle BI Publisher Tempate Builder.
I need to sum two numbers:
2+2
then I create following statement (addition):
<?2+2?>
In PDF preview I see correct sum:
4
Next I save this report in RTF format and import it to APEX.
When I open this report in APEX I don't see any PDF report, because Acrobat Reader show me followin message:
"Adobe Reader could not open 'report.pdf' because it is either not a supported file type or because the file has been damaged..."
In log of BI Publisher I found this error:
[101507_093321781][][ERROR] [Line 281.40] Incorrect XPath: 2 2
[101507_093322140][oracle.apps.xdo.common.xml.XSLTWrapper][EXCEPTION] XSL error:
<Line 125, Column 101>: XML-22026: (Error) Unknown expression at EOF: 2 2.
[101507_093322140][][EXCEPTION] java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at oracle.apps.xdo.common.xml.XSLT10gR1.invokeNewXSLStylesheet(Unknown Source)
at oracle.apps.xdo.common.xml.XSLT10gR1.transform(Unknown Source)
at oracle.apps.xdo.common.xml.XSLTWrapper.transform(Unknown Source)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(Unknown Source)
at oracle.apps.xdo.template.FOProcessor.createFO(Unknown Source)
at oracle.apps.xdo.template.FOProcessor.generate(Unknown Source)
at oracle.apps.xdo.servlet.Converter.process(Converter.java:302)
at oracle.apps.xdo.servlet.Converter.render(Converter.java:231)
at oracle.apps.xdo.servlet.Converter.doPost(Converter.java:95)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)
Caused by: oracle.xdo.parser.v2.XPathException: Unknown expression at EOF: 2 2.
at oracle.xdo.parser.v2.XSLProcessor.reportException(XSLProcessor.java:806)
at oracle.xdo.parser.v2.XSLProcessor.newXSLStylesheet(XSLProcessor.java:571)
... 24 more
BTW, when I multiply numbers like this:
<?2*2?>
above problems doesn't exist.well i am facing the exact same problem in FOP too. Pdf is giving that message because the file u are generating is empty. I will keep u posted if i am able to solve this particular problem.......till then u can look up my posts to see if anything helps u.
Maybe you are looking for
-
Controlling sound file with play, stop and mute button in AS3.0?
the method for stopping/playing sound in 2.0 don't work for 3.0. i can stop the sound by going to a different page/frame on the site. but i want the buttons. 1. play button? 2.stop button? 3.mute button? thanks in advance!
-
Getting back up after disc crash
The hard drive died on my ibook, so I had to have a new one installed and completely reload the software. I had my itunes library backed up on another computer on the network, so was able to import it. Now when I attach my ipod to the ibook, the ipod
-
Horizontal scroll on MX1000 sends click event as well. [SOLVED]
As in the topic, I'm having problems with the horizontal scroll sending regular click events to apps as well as the scrolling, making the function pretty unusable. All my other keys work exactly as they should. As for my configuration, I'm running ev
-
Where can I buy a replacement AirPort Card for a PowerBook?
My old G3 Firewire PowerBook is having problems recognizing my AirPort Base Station. I think the internal AirPort Card is intermittent. Where can I buy a replacement Apple AirPort card ? My local Apple Store claims that they are no longer available n
-
Why are my brushes lumpy and skipping!
I just got Elements 12 on trial to use on my Wacom companion tablet (Windows 8) and all of the brushes look lumpy and skiping. I have a document 16x12 inches at 300dpi and I am trying to sketch. The pencil and brushes are all jittery at the smaller s