Omniportlet break on column
Hi,
I want to present the following report in portal using omniportlet. Could anyone help me on this breaking on DEPTNO column(duplicate values not present out) issue of omniportlet!
DEPTNO------ENAME
10--------------CLARK
----------------KING
----------------MILLER
20--------------SMITH
----------------SCOTT
----------------FORD
Hi
You need to check the user docs ... to create what you need just use 'table' layout in the document hierarchy.
Regards
tim
Similar Messages
-
Hi Ppl,
I'm using the LabVIEW code of the full featured user interface. I want to disable the break points column from the sequence file steps view. I tried setting the station option enable break points to false. This disabled the break points but still the break point column was still there and I was able to set disabled breakpoints(white colored one) in the sequence file steps view. In the sequence file step view control properties also I couldn't find any column for the break points. How do I disable the break points column.
ThanksYou may need to use dynamic sql for the same:
Try the sample script:
create Table factFinance_backup(Col1 int identity(1,1),Col2 Varchar(50))
Insert into factFinance_backup Select 'SQL'
Insert into factFinance_backup Select 'Server'
Select * From factFinance_backup
declare @tbname varchar(200),
@query varchar(500)
set @tbname ='factFinance_backup'
Exec('SET IDENTITY_INSERT '+@tbname + ' ON;
Insert into factFinance_backup (Col1,Col2) Select 100,''Test'';
SET IDENTITY_INSERT '+@tbname + ' OFF;')
Select * From factFinance_backup
Insert into factFinance_backup Select 'test1'
Select * From factFinance_backup
Drop table factFinance_backup -
APEX IR report - breaking down columns
Hello experts,
I am creating Interactive Report and need break down couple columns.
ex:
country province city
USA CA city1
USA CA city2
USA MA city3
USA MA city4
What I need to display is:
USA CA city1
___ __ city2
___ MA city3
___ __ city4
I can display this format using classic report. When I use IR report, the breaking down column goes on the top.
How can I get the same format in IR ?
BTW, I don't have any print server setup.
Many thanks.
Edited by: user2855902 on Oct 7, 2012 6:24 PMThanks for the reply.
I can go to the header and click control break, but the report format is not what I need.
By clicking control break, I can get report:
USA
CA city1
CA city2
MA city3
MA city4
I need display "USA" at the left side.
Thanks. -
Can I break table columns to allow for gutter???
I am placing a very large Excel table onto my spread. Can I break the columns and thread to a new frame on the next page to allow for gutter? This would be a vertical break rather than a horizontal break acheived by (shift+number panel enter).
Your attachment is still queued. If you *insert* instead of attach your picture (use the camera button at the top of the post window instead of the attach field at the bottom) we would be able to see it.
If your table has too many columns to fit on one page, you can open the text frame all the way across the spread and run your table completely across the spread. You'll have to put an extra, blank column across the dead zone between the pages.
If your table has too many rows to fit on one page, you can thread the text frame to a second frame on the next page (doesn't matter if it's across a spread or not, although keeping it on a spread certainly is easier for the reader).
What you can't do is break rows. ID won't split a row across pages the way Word will.
Hope that helped. If it didn't, insert your picture 'cause that queue can take days.
Ken -
Control break on column displayed as link in Interactive Report
Hi,
If someone can help me, i'd greatly appreciate it!
I created an interactive report - one of the columns has a link attached to url specified in the Report Attributes/ link section.
When I use the control break feature in the gear icon, the report seems to be grouped by the url/link and not by the actual column value.
When I remove the link from the column - all is fine and the break does work.
This column must get displayed as a link. Is there any workaround for this problem?
Thanks,
Hindy
Edited by: hindyp on Dec 2, 2009 7:33 AMHi,
I don't know the details of the procedure, but you would have something like:
CREATE OR REPLACE PROCEDURE "print_model_change"
v_acctnum NUMBER,
v_model VARCHAR2,
v_rrcode NUMBER
AS
BEGIN
.. DO SOMETHING WITH v_acctnum, v_model, v_rrcode
END;This needs to be updated to something like:
CREATE OR REPLACE PROCEDURE "print_model_change"
v_manager_model NUMBER
AS
BEGIN
DECLARE
v_acctnum NUMBER;
v_model VARCHAR2;
v_rrcode NUMBER;
BEGIN
SELECT ACCTNUM, MODEL, RRCODE
INTO v_acctnum, v_model, v_rrcode
FROM .. your report's FROM statement plus ..
WHERE MANAGER_MODEL = v_manager_model;
.. DO SOMETHING WITH v_acctnum, v_model, v_rrcode
END;
END;and followed by:
GRANT EXECUTE ON "print_model_change" TO PUBLICto make it available
The existing code receives all the data it would need (presumably). The updated code receives the manager_model value and, using the same FROM clause that you have for your report PLUS a WHERE clause (or, if you are using a WHERE clause in your report, change this to AND), finds the data that it needs for v_acctnum etc. After it has that data, the rest of the existing code can be used unchanged.
Andy -
Breaking a column header in OBIEE
Hi All,
I have a very simple issue and I thought I had the work around but not really
I have a column that reads
Amount sold and I want to break it as
Amount
Sold
solely because when the reports are downloaded to excel or other formats it makes it easier to read the column names
I have tried the following
1.HTML TAG /BR HTML TAG does not work.
2.Can not use the HARDEN XSS config parameter because of security issues.
Any tips on how to go about doing this.
Regards,When it comes to exporting OBIEE reports to Excel, there is a very limited amount that you can do. You are not going to find much you can do configuring the OBIEE report to come out the way you want it to in Excel, especially when it comes to formatting. It would be best to simply highlight the row in Excel after download, and turn on "wrap text."
As you might know, if you "download to Excel" via the Report Links from the dashboard, the actual file will be in mhtml format, not xls. It will open in Excel, but you have to convert it to Excel to make it a true Excel file.
There are other ways to get an OBI file to Excel.
Another way is to click on the Advanced tab of the request. Click on the second link from the top and select "Open" in the next pop-up window. After requesting OBIEE credentials (your login and password), it will open up Excel and this time actually produce an Excel file.
The third way to get an Excel file from OBIEE is to first open Excel. Then click on the "Get External Data from Web." (I'm using Excel 2007 -- you will have to search for this command as Excel doesn't default this option from showing up in the ribbon or menus. I created a shortcut.) When the pop-up window comes up, paste the URL from of the answers report and at the very end, add &Format=Excel to the end. The OBI login screen will appear. Log in. The next window will display your report with a whole bunch of yellow arrows. Select the proper yellow arrow (you'll know what I'm talking about once you try it), and voila, the report will pop in Excel.
That's about all the (easy) options you have to work with.
Edited by: David_T on Aug 24, 2010 7:25 AM
Edited by: David_T on Aug 24, 2010 1:34 PM -
hi there!
I am using indesign for a large amount of type formatting.
My problem begins when I have a word break and I try to kerm it in to come back to the line above and it doesn't work until it's kerned far too much. When I look at the column, there is plenty of room for the remainder of the word to kern back up, but something prevents it. I checked my text formats and all the insets are set to "0"
Does anyone know what is causing my word breaks to occur when it's clear there is enough room for the words to fit on one line?
Hope this makes sense!
Any help is much appreciated!
LOther things to try after Peter's suggestion.
Turn off hyphenation for that paragraph only. Or change hyphenation settings.
Play with Optical vs. Metrics in the kerning field (sometimes one works, sometimes the other.)
Play with justification: make "minimum" and "desired" 99% instead of 100--you can try it on just that line.
You can find all these in the Control Bar. There's a contextual menu at the very right when you toggle the Control Bar to Paragraph, and you should see a list that includes Hyphenation and Justification.
Cheers.
Greg Ledger
macproductionartist.wordpress.com -
after you run your sql statement, let us say that your column header looks like this companName(Main Head Quarter) will it possible to have a line break after the companyName in your sql statement and make the out put for the sql statement look like this.
companyName companyAddress Zipcode
(Main Head quarter)I know I can do this in sql plus. example COLUMN SALARY HEADING 'MONTHLY|SALARY'
but I am using toad and wondering if there is an option that I can turn on to display the header in two lines. thank you -
OmniPortlet Tip: Adding columns to the tabular layout
Hello,
I had some questions about the limitation to 5 columns of the OmniPortlet tabular layout. Here is a tip to add more columns to this layout:
1. backup the current OmniPortlet provider.xml
/OC4J_HOME/applications/portalTools/omniPortlet/WEB-INF/providers/omniPortlet
2. You can not open the file:
and look for the tag <dataField
3. You can add new fields, by copying the existing <dataField> tag and change the value of the <name> and <displayName>
<!-- Here is a complete example -->
<dataField class="oracle.webdb.reformlet.definition.DataFieldDefinition">
<name>Field6</name>
<displayName>Column6</displayName>
<description>Field6</description>
<text>##column##</text>
<alignment>left</alignment>
<displayAs>hidden</displayAs>
<type>linebreak</type>
<font>Arial.3.Plain.None</font>
<color>#000000</color>
<style>none</style>
<styleType>custom</styleType>
</dataField>
<!-- end of the example -->
The same logic could be used to add parameters or events to the OmniPortlet.
Regards
Tugdual GrallHi, I have some problem to find this file "Omniportlet provider.xml".
Where I can find it?
I try to find in this path:
/OC4J_HOME/applications/portalTools/omniPortlet/WEB-INF/providers/omniPortlet
but I don't view OC4J directory.
I'm using AS 10g
Please answer me as soon as possible.
Thanks. -
Any problem with the BREAK ON COLUMN on REPORT statement
Hi All,
We are using the sql query output to print a summary report in our application.
We are taking a ref cursor variable and capturing all the data into this. There is a group by
Clause in the select statement that will populate the ref cursor variable. And there is a BREAK on one of the column.
While printing the ref cursor variable data after each group data first line there is a gap of 4 lines and then it is printing the next line.
The format is like this.
COLA COLB COLC
abc mno XYZ
kgh yop
ksjd djf
def mno XYZ
kgh yop
ksjd djf
Is there any problem with this format. Please advice.
Thanks in advance.
Regards,
GirijaThis should handle your problem if you are facing the same problem like i'm showing ->
satyaki>
satyaki>select * from v$version;
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Prod
PL/SQL Release 10.2.0.3.0 - Production
CORE 10.2.0.3.0 Production
TNS for 32-bit Windows: Version 10.2.0.3.0 - Production
NLSRTL Version 10.2.0.3.0 - Production
Elapsed: 00:00:01.58
satyaki>
satyaki>
satyaki>break on job
satyaki>
satyaki>
satyaki>select *
2 from emp
3 order by job;
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
7902 FORD ANALYST 7566 03-DEC-81 3000 20
7788 SCOTT 7566 19-APR-87 3000 20
7876 ADAMS CLERK 7788 23-MAY-87 1100 20
7900 JAMES 7698 03-DEC-81 950 30
7698 BLAKE MANAGER 7839 01-MAY-81 2850 30
7566 JONES 7839 02-APR-81 2975 20
7782 CLARK 7839 09-JUN-81 4450 10
7839 KING PRESIDENT 17-NOV-81 7000 10
7521 WARD SALESMAN 7698 22-FEB-81 1250 500 30
7844 TURNER 7698 08-SEP-81 1500 0 30
7654 MARTIN 7698 28-SEP-81 1250 1400 30
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
7777 SOURAV SLS 14-SEP-08 45000 3400 10
9999 SATYAKI 7698 02-NOV-08 55000 3455 10
13 rows selected.
Elapsed: 00:00:00.42
satyaki>
satyaki>
satyaki>clear break
breaks cleared
satyaki>
satyaki>
satyaki>select *
2 from emp
3 order by job;
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
7902 FORD ANALYST 7566 03-DEC-81 3000 20
7788 SCOTT ANALYST 7566 19-APR-87 3000 20
7876 ADAMS CLERK 7788 23-MAY-87 1100 20
7900 JAMES CLERK 7698 03-DEC-81 950 30
7698 BLAKE MANAGER 7839 01-MAY-81 2850 30
7566 JONES MANAGER 7839 02-APR-81 2975 20
7782 CLARK MANAGER 7839 09-JUN-81 4450 10
7839 KING PRESIDENT 17-NOV-81 7000 10
7521 WARD SALESMAN 7698 22-FEB-81 1250 500 30
7844 TURNER SALESMAN 7698 08-SEP-81 1500 0 30
7654 MARTIN SALESMAN 7698 28-SEP-81 1250 1400 30
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
7777 SOURAV SLS 14-SEP-08 45000 3400 10
9999 SATYAKI SLS 7698 02-NOV-08 55000 3455 10
13 rows selected.
Elapsed: 00:00:00.21
satyaki>
satyaki>
satyaki>Regards.
Satyaki De. -
I have a requirment i.e i've convert rows into seperate columns
i'm using oracle 10g r2.
my query is
SELECT deptno,
LTRIM(MAX(SYS_CONNECT_BY_PATH(ename,','))
KEEP (DENSE_RANK LAST ORDER BY curr),',') AS employees
FROM (SELECT deptno,
ename,
ROW_NUMBER() OVER (PARTITION BY deptno ORDER BY ename) AS curr,
ROW_NUMBER() OVER (PARTITION BY deptno ORDER BY ename) -1 AS prev
FROM scott.emp)
GROUP BY deptno
CONNECT BY prev = PRIOR curr AND deptno = PRIOR deptno
START WITH curr = 1;the output is
DEPTNO EMPLOYEES
10 ABC,CLARK,KING,MILLER,OPO,XYZ
20 123,ADAMS,FORD,JONES,MARTIN,SCOTT,SMITH,ZAFAR
30 ALLEN,BLAKE,JAMES,MARTIN,TURNER,WARDmy requirment is
i dont want to seperate with comma's i want separate columns dynamically is it possible?Hi,
Here's one way:
WITH got_r_num AS
SELECT deptno, ename
, ROW_NUMBER () OVER ( PARTITION BY deptno
ORDER BY ename
) AS r_num
FROM scott.emp
SELECT deptno
, MIN (CASE WHEN r_num = 1 THEN ename END) AS ename_1
, MIN (CASE WHEN r_num = 2 THEN ename END) AS ename_2
, MIN (CASE WHEN r_num = 3 THEN ename END) AS ename_3
, MIN (CASE WHEN r_num = 4 THEN ename END) AS ename_4
, MIN (CASE WHEN r_num = 5 THEN ename END) AS ename_5
, MIN (CASE WHEN r_num = 6 THEN ename END) AS ename_6
, MIN (CASE WHEN r_num = 7 THEN ename END) AS ename_7
FROM got_r_num
GROUP BY deptno
;The number of output columns in any query is hard-coded into the query. In this example, you want n+1 columns, where n is the maximum number of employees in any single deptartment. In the version of scott.emp that Oracle distributes, that happens to be 6, so the query above is more than enough for what is in that table now, but there's no way I can write a static pivot query like this now that will be sure to have enough columns for however many employees may be in the same department next year. See this thread:
Re: Report count and sum from many rows into many columns
for various ways of coping with that.
You've already found one of the solutions: string aggregation, but it produces one big column for all the employees, not separate columns. Do you really need separate columns, or would it be okay if that one big column were formatted so that it looked like separate columns? If so:
WITH got_r_num AS
SELECT deptno, ename
, ROW_NUMBER () OVER ( PARTITION BY deptno
ORDER BY ename
) AS r_num
FROM scott.emp
SELECT deptno
, REPLACE ( SYS_CONNECT_BY_PATH ( RPAD (ename, 11)
) AS all_names
FROM got_r_num
WHERE CONNECT_BY_ISLEAF = 1
START WITH r_num = 1
CONNECT BY r_num = PRIOR r_num + 1
AND deptno = PRIOR deptno
;Output:
DEPTNO ALL_NAMES
10 CLARK KING MILLER
20 ADAMS FORD JONES SCOTT SMITH
30 ALLEN BLAKE JAMES MARTIN TURNER WARDThe way you're using using SYS_CONNECT_BY_PATH, with GROUP BY, was necessary in Oracle 9. Starting in Oracle 10, it's simpler and more efficient to use CONNECT_BY_ISLEAF, as shown above. -
Break individual columns into rows
hi all
i need a solution on the below defined table structure n values
ProdCode ProdName Generic1 Generic2 Generic3
123 XYZ Null Null ABCD
345 LMN NUll Null Null
678 ABC OPR Rst UVW
001 AAA PPP Null Null
Output Expected
ProdCode ProdName Generics
123 XYZ ABCD
345 LMN
678 ABC OPR
RST
UVW
001 AAA PPP
thanks to one n alllSince you didn't mention a version number, I assume it is the latest: 11.1.0.6 :-)
The operator [url http://download.oracle.com/docs/cd/B28359_01/server.111/b28286/statements_10002.htm#CHDJBHHI]UNPIVOT is designed for this kind of actions.
If you are on a lower version, you'll have to join your table to a 3-rows-containing-set. Lots of examples can be found if you search this forum.
Regards,
Rob. -
Forum FAQ: How do I achieve column break in a matrix?
Symptom
Although you can set page break for column group in Reporting Services 2008, page breaks are ignored on column groups. Reference:
http://msdn.microsoft.com/en-us/library/ms156434.aspx
Solution
Here are some workarounds, available forboth Reporting Services 2005 and2008:
Workaround 1
Spread the columns from one matrix into several matrixes. You can first copy one matrix and then paste it into several ones you want. Then set the filter for each column group to make sure that the total columns’ length in one matrix just fit a page’s width.
Workaround 2
The other method is to use a custom code.
a. Please copy the following code to the custom code area:
Dim FlagTable As System.Collections.Hashtable
Dim Flag AS Integer
Function MyFunc(ByVal NewValue As Object) As Integer
If (FlagTable Is Nothing) Then
FlagTable = New System.Collections.Hashtable
End If
If (NewValue Is Nothing) Then
NewValue = "-"
End If
If (Not FlagTable .Contains(NewValue )) Then
Flag =Flag + 1
FlagTable.Add(NewValue, nothing)
End If
MyFunc = Flag
End Function
b. Create a list in your report.
Imagine thatthe column group of a matrix is grouped bythe field ‘Column_Group’, then set the detail group of list withthe expression like this:
=Ceiling(Code.MyFunc(Fields!Column_Group.Value)/5)
Note: This means the Max number of column in matrix will be five after you follow step C.
c. Sort the dataset by column group field, and then drag the matrix into the list. Click Preview.
Workaround 3
Similar to the second method, you need to modify the dataset.
a. Create an ID column for the column group in your dataset.
For example,there isa datasetwith the following query:
SELECT * FROM Table
The column group is grouped on the field “Group1”.Then, modify the query like this:
SELECT *, Dense_Rank()OVER(order by Group1) AS ID FROM Table
b. Create a list in your report, set the detail group of the list with the Expression like this:
=Ceiling(Fields!ID.Value/5)
Note: This meansthat the Max number of column in matrix will be five after you followthe step C.
c. Sort the dataset bythe column group and then drag the matrix into the list. Click Preview.I have near about 30 matrics. so I need a paging. I did every thing as per this post and it really works for me.
I have total four columns. On one page it should show three and the remaining one will be moved to next page.
Problem occurs when in my first row i have 3 columns and in next page if I have one columns then it show proper on first page but on second page also it gives me three columns insted of one. the first column data is exactly what I have but in remaining two
columns it shows some garbage data.
I have data like below.
Metric ColumnNo RowNo
1 1
1
2 2
1
3 3
1
4 1
2
so while grouping i have a row parent group on RowNo and Column group on ColumnNo.
can anyone please advice on this. -
Removing Totals for Break Columns
Hi All,
If we add break on two or three columns in report, it gives totals for each group plus a report level total. Is there any way to remove any group or break's total.
For example, if we have a report on emp table and having groups on deptno and job columns, it would be giving totals like this:
JOB TOTAL: 3000
DEPTNO TOTAL: 3000
report total: 3000
How can we remove any of the above totals?
Thanks
Zahid Khan
DeptnoLooks like this is a popular request!
I have report with a break on Column 1, 2 and 3. I would like to display the Report totla but not the sub totals at each column break. Can anyone please share their experience on how to get rid of the Sub Total for a break column?
Thanks. -
How to break columns in table..?
Hi All,
How to break table columns in xml pulisher report template.
i need only 5 colums in one line and 5 more in another line like that..?
how to get current date on template?
thanks & Regards,
NareshSkbi:
Using Word Feature will definitely work. Not sure what is the effect on performance if you use Sysdate. You do not need to use a Form field. Word does that. use the option "Date and Time", Under "Insert" menu.
Naresh:
Use "Draw Table" option in the "Tables and Borders" toolbar to draw the columns as you like.
Srini Ramanujam
Maybe you are looking for
-
SAP R/3 application component issue
Hi all, My issue: SAP R/3 application component hierarchy node in RSA6 got saved in $TMP package as local object. When iam transporting the request from Dev to QA this hierarchy is not getting transported and all the application components in ECC QA
-
New ALS Demo Application (release 9.0.5.x)
AMIS just released the ALS (AMIS Library System) application based on BC4J and JSP with JSTL for JDeveloper 10g and JHeadstart 9.0.5.x. The ALS application is shipped with JHeadstart 9.0.5.x, to demonstrate the use of Toplink with JHeadstart. The app
-
Hi, I required some one to help designing an SCCM 2012 Solution. I dont have any knowledge on Design Part, This is my first deployment My goal: Interconnect 3 remote offices and The infrastructure is as follows: Primary Site Server ( HQ ) : 100
-
I can't install MS Visual Studio 2010 ultimate
Hi everyone I'm trying to install MS Visual Studio 2010 in my laptop, but it get stuck on this point shown in snap shot. I've installed this several times before but now i can't, even I installed my windows again but the problem is same. I'm using wi
-
How soon n80 ota firmware?
Hi anyone knows how soon the updated v4 firmware will appear on nokias website? Karim can you shed some light on this?