How to Customize Report (presenting a single row into two rows)...?
As of now my report presents the data in the following way:
EMP ID EMP NAME EMP ADD EMP DEPT
1 Mike NJ HR
2 Peter LA Marketing
I want to have the following pattern:
EMP ID EMP NAME
1 Mike
EMP ADD EMP DEPT
NJ HR
EMP ID EMP NAME
2 Peter
EMP ADD EMP DEPT
LA Marketing
Do you think this is possible with HTML DB?
Also how can I set the print format for a page....?
Early help in this regard would be highly appreciated.
As of now my report presents the data in the
following way:
EMP ID EMP NAME EMP ADD EMP DEPT
1 Mike NJ HR
2 Peter LA
Marketing
I want to have the following pattern:
EMP ID EMP NAME
1 Mike
EMP ADD EMP DEPT
NJ HR
EMP ID EMP NAME
2 Peter
EMP ADD EMP DEPT
LA Marketing
Do you think this is possible with HTML DB?
Also how can I set the print format for a page....?
Early help in this regard would be highly appreciated.Take a look at the Tips/Tricks page of HTMLDB Studio. I just posted a tip on doing this with named column report formatting.
Earl
Similar Messages
-
i would like to ask about imovie. my project cannot output and how can i divide my project in imovie into two part??, i would like to ask about imovie. my project cannot output and how can i divide my project in imovie into two part??
Go to the Project Library View and select your project.
Then FILE/DUPLICATE PROJECT and give the duplicate a name like "your name - part 1".
Then duplicate it again and give the duplicate a name like "your name - part 2"
Now you can open "part 1" as a project and delete everything that is in part 2.
Open "part 2" as a project and delete everything that is in part 1. -
How can I make a detailed form widget into TWO columns?
how can I make a detailed form widget into TWO columns? I have a contact form with a lot of fields.
Hi Whatsmyjam9999,
You can place a blank composition widget then click tigger 1, click inside target 1 and from menu--> files--> place the image and adjust it's dimensions, you can repeat the same steps for trigger 2 and 3
Here is a video link http://ghai2.worldsecuresystems.com/jing/2013-07-22_1442.swf -
Possible to exclude interactive report column from single row display?
hi -- I have an interactive report that I've added a column to (in addition to the table columns that are selected).
The added column is a link to a form for editing a single row. This column/link is in addition to the default link
that goes to a single row view. So, a row of the report has 1) the single row view link, 2) the Edit link,
3) the columns in the table.
The edit link column is named "Edit" (so Edit appears above the "pencil" link icon). Problem is that when the
user goes to the single row view, the Edit column is displayed. (I've set the label in the view to a blank space,
and the value is null (displayed as "-" in the single row view)... but it's generally ugly, and adds that nonsensical
line to the single row view.
Is there any way to never display that column in the single row view, but always display it in the report?
I've considered putting the edit link on the first column of the table... but I don't like that the link will move
if the user changes the column order. It seems it should always be at the left of the row, like the single row view
link.
Thanks,
CarolPlease disregard this thread. I see a flaw in the design of what I was attempting to do! Creating the link for Editing as a column means the user could inadvertently not display it, or move it, or... any number of problematic scenarios.
Thanks,
Carol -
How to find max value in single row
i would like to know that,
how can i display maximum value among several values in a single row of table
example : i have to get value 5
among 1 2 3 4 5 values of same row.Take a look at GREATEST function.
C.
Link to documentation added
Message was edited by:
cd -
How can a star based slideshow be split into two using metadata?
I created a slideshow based on a five star sort. It is too long so I want to split it into two, one for Australia and the other for Polynesia.. Images are are titled under Australia and Polynesia in the metadata. how can I use the metadata headings to creat separate slideshows? Thanks.
Hey, thank you for responding.
Perhaps I didn't explain myself correctly. Let me try and walk you though the whole thing.
When I first synced my video, with the better audio we recored separately, left and right are both on A1. When I merge the video with the new audio, and put it back into the timeline, left and right now take up both A1 and A2. This would be totally fine, but my annoyance is simply with the fact that when editing, I have to select them separately… to do anything.
So for instance, at the moment I'm editing a dialogue scene, so of course there are times when I want to have audio from one clip, cross over into another's. Such as when a character's dialogue is heard a few seconds before we see them on screen. I can accomplish this effect with the slide too, or just the selection tool (With "linked selection" off of course), but either way, I have to select and move both audio clips separately, or I have to "shift click" to select them both. It just seems like an extra step I shouldn't have to take ever time I want to change the length of the audio in my timeline.
As I said, I am very new to Premiere Pro, I recently made the switch from Final Cut 7, and when I merged audio and video in that editor, it kept left and right audio linked together. If for some reason you needed to work with left and right separately, you could hit a button to make that happen.
I realize it's a minor complaint, but after editing for an hour last night with this thorn in my side, I thought there must be a solution. -
I am running IMovie 8.0.6. (OS X Mavericks 10.9.5) How do I split a project into two projects? When I share it in Media Browser to IDVD, and try to burn a DVD- RDL, it keeps telling me the project is too long. Do I split it in IDVD and how do I do that?
AppleMan Thanks very much for the information, however I could't make it work. I followed your instructions to the letter, in fact I tried every which-way. I created a dedicated file into which I copied and pasted the project from "package contents" but it was still greyed out when I went to retrieve it. I also found that the file size was reduced to only a few Kb. Any further step-by-step instructions would be appreciated as I am obviously doing something wrong. Babowa It appears that in imovie everything has to be "finalised" before it can be used or shared elsewhere in the same way as a disk has to be to be played elsewhere. Funnily enough an MOV file I converted to Mp4 was not greyed out and I was able to import it.... an exercise I am not keen on because of resolution loss during conversion
-
Obiee report two rows data present in single row
Hi Experts,
I have facing one problem how to reslove this problem let me know.
In DB Table like this.
Sno **** Value1 **** Value2
10 ******** 100 ******* 0
10 **** *** 0 ******* 200
i want to out put Obiee reports like this ?????????
sno ***** value1 **** value2
10 ****** 100 **** 200
How to achive this please tell me any method
i am using obiee 10.1.3.4.1 version (i am try to create report OBIEE answers )
Thanks
Satya
Edited by: satya vardhan on Jul 11, 2011 6:56 PMTry going it by Sno.
If you are using Pivot Table, try changing measures from columns to rows and see. I vaguely remember doing this would address your need
Thanks,
Vinag -
Calculate percentage between two rows in a matrix report with a single row group in SSRS 2008
I need your help. I have a matrix report in ssrs 2008. The report contain one field value column and one value column. I need to calculate a percentage for two values. For example : row 1 : Discount 10 Row 2 : Sales 100 Result : 10/100. I have only one
row group, I need to have a condition where Field = Discount % on Revenue then Discount/Total Turnover. Because of the grouping for total, I am not being able to calculate the %, its just totalling the % discount. Kindly refer to the snapshot of the
report.Hi Thanks a lot for your answer, but unfortunately it didn't work,the report is reading from a stored procedure which I have unpivot to convert all columns into rows, so that's why Discount % on Revenue, Discount and Total Turnover is found in one column.
So the Field!Col.Value is the Discount % on Revenue, Discount and Total Turnover. I have tried to change the code to
"=SUM(IIF(Fields!Col.Value = "Discount",Fields!value.Value),0))
/IIF(SUM(IIF(Fields!Col.Value = "Turnover Total",Fields!value.Value),0)) = 0 ,
Nothing,SUM(IIF(Fields!Col.Value = "Turnover Total",Fields!value.Value),0)))" but to no avail. Any other suggestion will be most welcome.
Thanks.
If everything you're getting from stored procedure then you need to calculate and bring the value from there itself.
Please Mark This As Answer if it solved your issue
Please Mark This As Helpful if it helps to solve your issue
Visakh
My MSDN Page
My Personal Blog
My Facebook Page -
How to concatenate the values in single row with images or colours
hi all,
i am apex 4.2,
i tried to execute a plsql query for the values concatenate two values into same column
example in my table
i am having teachers list one can teach two or three subjects
in table i am saving like
teacher_id teacher_name salary subjects
1 ram 5000 science,maths
2 gang 4000 maths,science,english
but my report should come like
teacher_id teacher_name salary subjects
1 ram 5000 science maths i have to highlighting these subjects with images or with different colors
2 gang 4000 maths english science
can any one help me please
thanks & regards
pavan
Edited by: Pavan on Apr 9, 2012 4:15 AM
Edited by: Pavan on Apr 9, 2012 4:22 AMFirst of all, i would split the subjects column.
If you for sure only need up to 3 subjects, you could make three columns subject1, subject2, subject3.
If you may have an indefinite number of subjects for each teacher, you might create a detail-table with the subjects for each teacher.
I also would create a list of values for the subjects, either based on static values or based on another table with the subjects allowed.
Now that the subject-names are fixed you could create a subject-image for each subject, named as the subject itself. Then you "construct" the image for each subject as
<img src="#APP_IMAGES##SUBJECT_NAME#.png"/> -
How to separate a single join into two separate join statement
select PA0002NACHN PA0002PERNR PA0002VORNA KNVPKUNNR KNVPPARVW KNVPPERNR KNVPSPART KNVPVKORG KNVPVTWEG VBAKAUART
VBAKERDAT VBAKERNAM VBAKERZET VBAKFAKSK VBAKKUNNR VBAKLIFSK VBAKSPART VBAKVBELN VBAKVKORG VBAKVTWEG VBUK~CMGST
VBUKVBELN TVLSLIFSP
into (PA0002-NACHN , PA0002-PERNR , PA0002-VORNA , KNVP-KUNNR , KNVP-PARVW , KNVP-PERNR , KNVP-SPART , KNVP-VKORG , KNVP-VTWEG
, VBAK-AUART , VBAK-ERDAT , VBAK-ERNAM , VBAK-ERZET , VBAK-FAKSK , VBAK-KUNNR , VBAK-LIFSK , VBAK-SPART , VBAK-VBELN
, VBAK-VKORG , VBAK-VTWEG , VBUK-CMGST , VBUK-VBELN , TVLS-LIFSP )
from ( PA0002
inner join KNVP
on KNVPPERNR = PA0002PERNR
inner join VBAK
on VBAKKUNNR = KNVPKUNNR
and VBAKSPART = KNVPSPART
and VBAKVKORG = KNVPVKORG
and VBAKVTWEG = KNVPVTWEG
inner join VBUK
on VBUKVBELN = VBAKVBELN
inner join TVLS
on TVLSLIFSP = VBAKLIFSK )
where PA0002~NACHN in SP$00003
and PA0002~PERNR in SP$00001
and KNVP~KUNNR in SP$00004
and KNVP~PARVW in SP$00014
and VBAK~AUART in SP$00005
and VBAK~ERDAT in SP$00011
and VBAK~ERNAM in SP$00013
and VBAK~ERZET in SP$00012
and VBAK~KUNNR in SP$00006
and VBAK~SPART in SP$00009
and VBAK~VBELN in SP$00010
and VBAK~VKORG in SP$00007
and VBAK~VTWEG in SP$00008.Hi,
1.Dont use joins.
2.Create separate internal table and write select statement.
Regards,
Billa -
How do I split an iTunes account/library into two?
Hi. I have a single Apple ID and iTunes library that I share with my son.
We would like to split the library up so that he has his own account and library on his laptop and I retain my own stuff on my PC. We don't need to share any of the stuff in the library - he likes his stuff and I like mine - so all I need to know is how to divide it up and to move his stuff onto the laptop.
Can this be done?
If so how?
Thanks in advance for your help.
StephenStephen J Walsh wrote:
Thanks. Almost none of my stuff was downloaded from the Apple store. It's mostly cds that I have downloaded and tracks I have bought from Amazon. Would it be possible to put them into a separate account?
No. An iTunes account is for only iTunes purchases.
You can put them into a separate iTunes library.
The simplest way is to copy the entire /My Music/iTunes/ folder from your computer to /My Music/ on his computer. His library will be identical to yours.
Then each of you can delete what you don't want.
He can use teh iTunes account you have now and change the info in it to his own.
You can create a new iTunes account for yourself if you want one. -
Displaying the values from a single column into two columns???
hi buddies.....I've a table "Stock" and its fields are:
Date, Invoice#, prod_id, sal_qty, pur_qty, rate, status
The "rate" column stores the rate value on which a product was sold or purchased and "status" column values are like "S" for Sale,"OP" for opening and "P" for purchase.
The problem here to me is that I'm unable to pick the purchase & sale rate of a product based on the status either "S" or "P". Is it possible to pick the purchase rate of a product sold between a specified limit of dates??? and show both sale & purchase rates in two separate columns in the result sets for a given product in a specified duration. The resulte set format should be like this:
Prod_id Sale_Rate Pur_RateDear Dmitri,
Let me tell u my case more elaborately so that u can have a better insight on my problem. I've a Stock table to which I'm trying to use to calculate current stock quantity, its value and profit per sale transaction. It has following simple description.
Stock_Table:
Invoice# Date Product Batch# Sale_QTY Pur_QTY Rate Status
Pur-001 01/01/05 Asprin AB123 0 100 10 OP --(Opening)
Pur-002 02/01/05 Paracetamol CD456 0 150 15 OP
Pur-002 03/01/05 Menthol XY333 0 80 7 OP
Pur-003 01/01/05 Asprin ZZ990 0 50 8 P ..(Purchase)
Sale001 02/01/05 Asprin AB123 10 0 2 S
Sale001 02/01/05 Paracetamol CD456 5 0 16 S ..(Sale)
Sale002 04/01/05 Asprin ZZ990 6 0 10 S
Sale002 04/01/05 Paracetamol CD456 7 0 20 S
Sale002 04/01/05 Menthol XY333 4 0 10 S
From this design can u calulate the difference of sale & purchase rate of a product during a range of dates(which is the Profit)? i.e firstly pick a sale transaction and then minus the purchase rate of the product from the sale rate in that sale transaction by looking at the product name and its batch number.
While solving this case, please keep in mind that I'm using Oracle 8.0 which doesn't support inlined Sub-Query(a query within FROM clause). So giving u a hint(although I'm not genious enough;), I tried the Self Join at Stock Table by picking the sale rows at first and then purchase rows afterwords by giving this table two different names. I also tried the following query by joining the Sale Table with Stock Table. Is it the right way I'm heading towards???
SELECT S.Sale_Date, SD.Invoice#, SD.Product, SD.QTY, SD.Rate Sale_Rate,
ST.Rate Pur_Rate, ST.Product
FROM Invoice_Master S, Invoice_Detail SD, Stock ST
WHERE S.Invoice# = SD.Invoice#
AND ST.Status IN('OP','P')
AND ST.Product = SD.Product
AND S.Sale_Date BETWEEN :From_Date AND :To_Date
AND SD.Product = P.Product
ORDER BY S.Sale_Date -
How to partition one column of the resultset into two columns
Step 1
Row_Num | Col1 | Col2
1 52 100
1 52 101
1 52 102
1 52 103
2 52 200
2 52 201
2 52 202
2 52 203
2 52 204
2 52 205
Step 2
Row_Num, Decode(Row_Num,1,Col1,Null) Col1_1, Decode(Row_Num,2,Col1,Null) Col1_2,Decode(Row_Num,1,Col2,Null) Col2_1, Decode(Row_Num,2,Col2,Null) Col2_2
Result
Row_Num | Col1_1 | Col2_1 | Col1_2 | Col2_2
1 52 100 Null Null
2 Null Null 52 200
1 52 101 Null Null
2 Null Null 52 201
1 52 102 Null Null
2 Null Null 52 202
1 52 103 Null Null
2 Null Null 52 203
2 Null Null 52 204
2 Null Null 52 205
What i want it is something as below.
Row_Num | Col1_1 | Col2_1 | Col1_2 | Col2_2
52 100 52 200
52 101 52 201
52 102 52 202
52 103 52 203
Null Null 52 204
Null Null 52 205
Null Null Null Null
Null Null Null Null
Null Null Null Null
Null Null Null Null
Which means move nulls to the last in a group
I don't need Nulls at the end. I have added that just to show all rows.
I would also like to know whether any analytic functions can be used to bring the desired result.
please consider the columns as varchar type even though it has numeric values.
thanks,
renga
Edited by: user12367921 on Dec 18, 2009 5:25 PMBoth Solomon's solution and Frank's one are based on the sequence of the row. Let's delete the (1 52 102) row from the table, the two queryes will behave the following way:
Solomon
SQL >with t1 as (
2 select 1 row_num,52 col1,100 col2 from dual union all
3 select 1,52,101 from dual union all
4 select 1,52,103 from dual union all
5 select 2,52,200 from dual union all
6 select 2,52,201 from dual union all
7 select 2,52,202 from dual union all
8 select 2,52,203 from dual union all
9 select 2,52,204 from dual union all
10 select 2,52,205 from dual
11 ),
12 t2 as (
13 select row_number() over(partition by row_num order by col2)
14 dense_rank() over(order by row_num) rnk,
15 col1,
16 col2
17 from t1
18 )
19 select distinct case rnk
20 when 1 then col1
21 else lag(col1) over(partition by rn order by rnk)
22 end col1_a,
23 case rnk
24 when 1 then col2
25 else lag(col2) over(partition by rn order by rnk)
26 end col2_a,
27 case rnk
28 when 2 then col1
29 else lead(col1) over(partition by rn order by rnk)
30 end col1_b,
31 case rnk
32 when 2 then col2
33 else lead(col2) over(partition by rn order by rnk)
34 end col2_b
35 from t2
36 order by col2_a nulls last,
37 col2_b nulls last
38 /
COL1_A COL2_A COL1_B COL2_B
52 100 52 200
52 101 52 201
52 103 52 202
52 203
52 204
52 205
Frank
with t1 as (
select 1 row_num,52 col1,100 col2 from dual union all
select 1,52,101 from dual union all
select 1,52,103 from dual union all
select 2,52,200 from dual union all
select 2,52,201 from dual union all
select 2,52,202 from dual union all
select 2,52,203 from dual union all
select 2,52,204 from dual union all
select 2,52,205 from dual
got_rs AS
SELECT row_num
, col1
, col2
, ROW_NUMBER () OVER ( PARTITION BY row_num
ORDER BY col2
) AS r_col2
FROM t1
SELECT MIN (DECODE (row_num, 1, col1)) AS col1_1
, MIN (DECODE (row_num, 1, col2)) AS col1_2
, MIN (DECODE (row_num, 2, col1)) AS col2_1
, MIN (DECODE (row_num, 2, col2)) AS col2_2
FROM got_rs
GROUP BY r_col2
ORDER BY r_col2
OL1_1 COL1_2 COL2_1 COL2_2
52 100 52 200
52 101 52 201
52 103 52 202
52 203
52 204
52 205In both resultsets the code 103 is now associated to the 202. Is it correct?
My query assumes (and is a strong assumption) that two rows of the source table can be associated only if they have the same last two digits of the col2 column.
SVIL>with t0 as (
2 select 1 row_num,52 col1,100 col2 from dual union all
3 select 1,52,101 from dual union all
4 select 1,52,103 from dual union all
5 select 2,52,200 from dual union all
6 select 2,52,201 from dual union all
7 select 2,52,202 from dual union all
8 select 2,52,203 from dual union all
9 select 2,52,204 from dual union all
10 select 2,52,205 from dual
11 ),
12 t1 as (select * from t0 where row_num=1),
13 t2 as (select * from t0 where row_num=2)
14 Select t1.col1 col1_1, t1.col2 col2_1,t2.col1 col1_2, t2.col2 col2_2
15 from t1 full outer join t2 on t1.col2+100=t2.col2;
COL1_1 COL2_1 COL1_2 COL2_2
52 100 52 200
52 101 52 201
52 103 52 203
52 205
52 202
52 204The results are quite different.
I don't know what is the correct approach (or whether both of them are wrong), hope Renga will clarify.
Max
[My Italian Oracle Blog|http://oracleitalia.wordpress.com/2009/12/19/totali-parziali-con-group-by-rollup/] -
How to break up one large jspx page into two pages
How do i break it up without losing the functinality of the application.
thanksI fixed it like this:
In the parent page:
<af:panelTabbed id="panelTabbed1" inlineStyle="width:1900px; height:500px;">
<af:showDetailItem text="tab name" id="showDetailItem1">
<af:declarativeComponent id="id01" viewId="tabfragment1.jsff"/>
</af:showDetailItem>
<af:showDetailItem text="tab name" id="regProviderId">
<af:declarativeComponent id="id02" viewId="tabFragment2.jsff"/>
</af:showDetailItem>
</af:panelTabbed>
In the child pages:
tab1 fragment 1 tabFragment1.jsff
<?xml version='1.0' encoding='windows-1252'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich" version="2.1"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:afh="http://xmlns.oracle.com/adf/faces/html">
<jsp:directive.page contentType="text/html;charset=utf-8"/>
<af:componentDef>
your components inside
</af:componentDef>
</jsp:root>
Maybe you are looking for
-
How do I transfer my itunes library from one laptop to another?
I have 5 computers on my itunes account. Main computer is our mac mini. The rest are laptops. I just want to transfer the exact library from one of our laptops which is a macbook pro to my new macbook air.
-
RE: Appending a link to a message
(Sorry, removed the signature now) Hi, I am using the "TextSetMessage" token to append a new line to a message. The new line is a URL. All works OK, except that Groupwise 6.5 sp5 does not consider the URL a link, unless the user changes the message f
-
Mail folder is 400GB overnight. Even after cleanup is back to 100GB
Hello, My Mail folder became 400GB+ overnight, without any intervention or setting changes (today my comp just gave a warning that I have 50MB left of my 1TB HD!?! After looking at all the folders, I saw that Mail was eating up all that space) I went
-
Everytime a new song starts playing, it starts to skip. THis happens whenever the name at the top changes to the album name or the artist name. What can I do to fix this? Yes, I did read the FAQ about this and it didn't help.
-
Copying Text or Images by right-clicking mouse?
I used to be able select text, right click and copy the text or image into my Word documents. I can't do it anymore. All I get is a box that pops up and has a "Settings" option an "An About Adobe FlashPlayer 10" option. I am an authorized account w