Two columns in a report

i have a unique problem. i want to present boilerplate text in oracle reports 6.0 as two columns. like the multiple columns in a news paper. and then i want to generate it to a pdf file or html file. right now, if i try to put spaces in between the two columns, the first column is aligned to the left properly, while the second column is not left aligned properly, leading the report to look ugly. can anyone help me, urgently please. thank u

user9255588 wrote:
Hi,
I have a requirement to generate a report with 3 columns, year, flow balance, asset balance. The flow balances, asset balances are stored by month in table in different tables.
But for flow balance column the year is considered as FEB 2007 to JAN 2008 --for year 2007
FEB 2008 to JAN 2009--for year 2008
FEB 2009 to JAN 2010--for year 2009
For asset balance column the year is considered as JAN 2007 to DEC 2007 --for year 2007
JAN 2008 to DEC 2008---for year 2008
JAN 2009 to DEC 2009 --for year 2009
In my reports I only need to display 3 columns year, flow balance, asset balance, but year definition is different for flow balance and asset balance. Please let me know and help me in achieving this report.
Thanks & Regards,
SRThe modelling depends on how your data is available to you. Are both the metrics coming from the same physical fact table or two different fact tables?
Thanks,
-Amith.

Similar Messages

  • How to add two columns in OBIEE report?

    Hi to All,
    Can anyone tell me how to add two columns in OBIEE report and get that result in a new column?
    Thanks in Advance,
    Thenmozhi

    Assume you already have two columns SalesAmt1 and SalesAmt2, and you want to derive 3rd column say SalesAmt3 which would be the sum of SalesAmt1 and SalesAmt2.
    For this, as I mentioned above pull SalesAmt1 and SalesAmt2 columns in Report. Now pull another column (say SalesAmt1) and open the fx. Clear the contents of fx. Now locate the columns button in the bottom of the fx. From Here, first select SalesAmt1 and + sign and the select SalesAmt2.
    Now in this new column, the fx should look like SalesAmt1 + SalesAmt2.
    Let me know if you are looking for something else.
    Thanks

  • Add Two Column in report ,Download and Delete

    Hi Friends,
    i have one item File Browser to use browse :P1_file_browser and i have create a Report
    My Table Is
    CREATE TABLE  "ARM_DOC_CER"
       (     "ID" NUMBER,
         "NAME" VARCHAR2(500),
         "MIME_TYPE" CLOB,
         "BLOB_CONTENT" BLOB,
         "SUBJECT" VARCHAR2(500)
    i jus want to add two column in my report
    1--Download
    2--Delete
    When i click on download then download file and when i click on delete then delete corresponding file.
    How can i do this.
    Thanks                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Hi,
    You can use concat function or also '||' to combine two columns.
    1. with concat-
    concat("D4 Product"."P01 Product","D4 Product"."P02 Product Type")
    2. With '||' operator
    "D4 Product"."P01 Product" || '-'||"D4 Product"."P02 Product Type"
    (Remove '-' if not required)
    This should resolve. Hope this helps
    Regards
    MuRam

  • Dynamically selecting column names in report builder ???

    Dear members,
    I have a requirement in which the user dynamically selects the tables column names. Like suppose take DEPT table. My query would be
    select &P Report from dept;
    so if the user selects DNAME then i would get the dname values and so on... This is fine but if one gives the value for the lexical parameter as DEPTNO,DNAME then i should get two columns in my report output. The select statement then becomes
    select DEPTNO,DNAME Report from dept;
    But i am not able to do this in report builder(6i). If i use just one value for the parameter then i get the o/p but if i use more than one (eg: DEPTNO,DNAME) then its giving an error.when i run this query through toad or sql plus then i am getting the desired o/p but wher as in report builder i am not able to get the o/p.
    My report triggers are :
    Before Parameter form :
    :P := NULL;
    After parameter Form :
    function AfterPForm return boolean is
    begin
    IF :P = 'DNAME,DEPTNO' THEN
    :P := ' DNAME,DEPTNO ' ;
    ELSE
         :P := NULL;
         END IF;
    return (TRUE);
    end;
    Your comments and suggestions are welcomed.
    thanks
    regards
    sandeep

    Number of columns can not be changed at run time. If your data model has three columns, lexical parameter should pass 3 values. If you have query like this in data model:
    select &p_1 from table
    Whatevere you have as initial value in user parameter p_1, data model captures that info.

  • Inserting a Column on a report

    How do I insert a column with fixed contents into a report? I currently have two columns on the report and I'm doing a Union so I need to insert a 3rd column with a fixed text based on the criteria. For example, the inserted column for the first section would say "AAAAAAA", the inserted column for the 2nd section would say "BBBBBBB", etc... How can this be done?

    Insert any column into your report and position it where you want your static text column to appear. Click the fx button to edit the column's formula and replace the entire column formula with your desired text enclosed in single quotes.
    'AAAAAAA'
    Mike L

  • How to keep first two columns constant

    Hi
    IF i move the scroll bar till end i should get first two Columns constant....
    I mean i want to set Freez to First two columns in my report
    how to du this?
    Regards
    Smith

    HI
    Can you try below for your firtst column while filling the field catalog.
    wa_fieldcat_alv-fix_column = 'X'.
    it works.
    Thanks!

  • Export option in ALV report downloades first two columns blank

    Hi ,
    Before posting this query I searched the solution in SDN but I did't find the solution.
    My problem is  After displaying report in ALV format ,if I press Export --> Local file --->spreadsheet ;  file will downloaded to excel sheet but first two columns(only heading no data ) will be blank  and next two columns with proper data.
    I checked field catalog defination it seems to be ok,  any other mistake ?
    Please suggest.
    Narayan

    Hi
    It's the option you have in the path System->List->Save->Local file
    I means it's the standard option to export an abap list into a local file, so you should try this path too and check if the resul it's the same
    I think you should choose  Export --->spreadsheet: here before saving the file an excel document will be open
    Max

  • Calculation based on two result columns in combined report

    Hi all - I have a combined analysis and I need to add a result column based on two of my result columns. The calculation involves one column from my first report and one column from my second report.
    The first report has # of opportunities and my second report has a number of booked opportunities. I have to have two separate reports because these two columns need to be filtered on different dates. In my result column, I want to add a column that gives me close % which is # of booked opps/# of opps. I am using the SAW references but it is not working right. I have tried the following calculations:
    (SUM(SAW_9 BY SAW_1) / SUM(SAW_7 BY SAW_1))*100 This gives me 100% in any row that is 1 opp to 1 booked opp. But gives me 0 in all the other fields even if it is 2 opps to 1 booked opp.
    (MAX(SAW_9 BY SAW_1) / MAX(SAW_7 BY SAW_1))*100 This shows 100% for every row that has a number in the opp and booked opp columns. Even shows 100% if it is 2 opps to 1 booked opp which should be 50%.
    Any ideas on what formula I need to use to get the right calculation?
    Thanks!
    Lacey

    Lacey,
    (SUM(SAW_9 BY SAW_1) / SUM(SAW_7 BY SAW_1))*100 is the correct formula so the only thing I can think of is do you have the correct columns selected?
    SAW_9 is column 10 and SAW_1 is column 2?
    and I think the aggregation rule needs to be sum as well.
    Good Luck
    Alex
    PS thanks to Mike Lairson for putting this solution in his book as it got me working.

  • How to make RDLC report two column

    Hello. I have a simple report which is supposed to be used for printing stickers. The sticker paper is A4 size and it has two columns. I successfully managed to print data to left column. I also want to print data to right column too. My current report looks
    like this :
    [Title]
    [NameLastName]
    [Address]
    How can I make my report to fill data to two columns? Thanks in advance.

    Thank you for your response. Here is what I have :
    Here is what I need :
    Thank you very much.

  • Vertical report with two columns

    I have table with picture. I can display common sql report(horizontal or vertical). Is it possible to display this to two columns (eshop).Two vertical columns (for example field of records 10x2).
    Message was edited by:
    user542927

    Hi,
    There are probably a number of ways that you can handle this, but the underlying principle for all of these would be that you need to have 2 reports. The first report would contain the first ten records and the second report would contain the next ten.
    The way to do that would be to get the ROW_NUMBER() value for each line and, in the query defintion for each report, you would have a WHERE clause that restricted the results based on this value. The best way to do this would be to create a view and base the reports on this view. The view definition would include:
    ROW_NUMBER() OVER (ORDER BY xxxx) AS ROW_NUMBER
    where xxxx is the same order definition as the main ORDER BY clause. Each row will then get a ROW_NUMBER value that matches it's position in the query resultset.
    Your first report would then have a WHERE clause of:
    WHERE ROW_NUMBER < 11
    the second report would have:
    WHERE ROW_NUMBER BETWEEN 11 AND 20
    The final step would be styling/positioning the reports. The first would probably be in Column 1 in the region and the second in Column 2. You would almost certainly have to adjust the styling and/or positioning using a style attribute in the region/report definitions.
    Regards
    Andy

  • Sorting based on two columns in report

    Hi,
    we have one issue on sorting based on two columns in report.
    In the report we are doing sorting on two columns(week_id and stage_name). I have attached the screen shot for the same. The sorting is first done on the week_id and then on the stage_name. The issue comes when we have no data for the stage 1 - Prospect in W1. The stage goes to the second position.
    Please suggest if there is any work around to show the 1 - Prospect stage in W1.
    Regards,
    Ambika Nanda.

    what is w1? where is screenshot? and is stage seoncd sort? if so what is the issue?

  • Two column telephone directory style report

    Does anyone have an example of a two column telephone directory style report (2.0,2.5,3.0 or 6.0) that they would be willing to share?
    Thank you.
    Bill Harman
    null

    ah ok, you never said you were data merging them.
    in short, data merge doesn't have a feature like microsoft word where there is a "next record" TEXT field which lets the records flow on.
    instead, data merge works by merging the elements on the page, so if you were to merge the file and in the options turn on the multiple record feature, you'd see that many text boxes were generated but they're not threaded together... but the text boxes do have record one, then record two, then record three...
    indesign's data merge is best suited to generating data where one record changes per page. yes, it can do many records per page, but this is ideally suited to people who are imposing their own business cards many up on a page; or people making picture heavy catalogues with set amounts of records per page. indesign's data merge is not built for catalogue-style in-line data merges similar to microsoft word's mail merge to catalogue.
    for your purposes, i'd use XML but that is user unfriendly. there are CSV to XML converters online (assuming your database isn't too huge) and a great resource called "A Designer's Guide to Adobe InDesign and XML: Harness the Power of XML to Automate your Print and Web Workflows" written by James Maivald and it is about the only easy to pick up and run with book out there on the topic. There is another book by Grant Gamble on the topic and no offense to him, but my brain was full by chapter three.
    otherwise, aftermarket plug-ins such as ones made by cacidi systems or emsoftware may help.
    or, does this really need to be a data merge solution? could the text not simply be placed into indesign rather than using the data merge feature? i'd imagine the data is already in the correct order, just needs formatting. if that is the case and the excel file is available, i'd save it out as a tab delimited TXT format and place that into indesign and then format it with nested styles.

  • Webi Report Data compare between two columns

    There is two different queries in Webi Report BI 4.1
    Query 1 - Name_1 == 100 records
    Query 2 - Name_2 == 75 records
    On the report need to compare the data between Name_1 and Name_2.
    Need report level flag as a second column
    name_1 = name_2 = Y
    name_1 <> name_2 = N
    One the report there is only two columns Name_1 Flag(Y/N)
    1. If statement is not working at all in this scenario
    2. Merge dimension is not useful since I need to treat these columns separately on the report.

    Hi Suri,
    As the objects belong to two different queries, the comparison might not work as they are not merged and incompatible.
    You can try creating a seperate query and can use subquery in it.
    For example:
    SELECT NAME_1 FROM QUERY_1
    WHERE
    NAME_1 NOT IN (SELECT NAME_1 FROM QUERY_2)
    This will display the names which are not common.
    Hope it will help.
    Regards,
    Yuvraj

  • Report module: LOV with two columns

    I would like to create a LOV with two columns in a designer generated report module.
    scott@ntw>select deptno, loc
      2  from dept;
        DEPTNO LOC
            10 NEW YORK
            20 DALLAS
            30 CHICAGO
            40 BOSTON
            50 LAS VEGASIs it possible to create the lov of the report module with an indivdual select statement?
    Does anyobody have an idea?

    Hi,
    There are probably a number of ways that you can handle this, but the underlying principle for all of these would be that you need to have 2 reports. The first report would contain the first ten records and the second report would contain the next ten.
    The way to do that would be to get the ROW_NUMBER() value for each line and, in the query defintion for each report, you would have a WHERE clause that restricted the results based on this value. The best way to do this would be to create a view and base the reports on this view. The view definition would include:
    ROW_NUMBER() OVER (ORDER BY xxxx) AS ROW_NUMBER
    where xxxx is the same order definition as the main ORDER BY clause. Each row will then get a ROW_NUMBER value that matches it's position in the query resultset.
    Your first report would then have a WHERE clause of:
    WHERE ROW_NUMBER < 11
    the second report would have:
    WHERE ROW_NUMBER BETWEEN 11 AND 20
    The final step would be styling/positioning the reports. The first would probably be in Column 1 in the region and the second in Column 2. You would almost certainly have to adjust the styling and/or positioning using a style attribute in the region/report definitions.
    Regards
    Andy

  • How to compare two columns and provide a report

    hi guys any idea on this one i have a table in apex
    which looks like this                                                Create table Assessments ( USER_ID varchar(40) , Assessed number ) ;
                                                                                         CREATE OR REPLACE TRIGGER "TABLE_IMP_T1"
                                                                                          BEFORE
                                                                                          insert on "TABLE_IMP"
                                                                                         for each row
                                                                                         begin
                                                                                         :NEW.USER_ID := nvl(v('APP_USER'),USER);
                                                                                         :NEW.ASSESSED := ('1');
                                                                                         end;
    The data in this table looks like after some inserts                          USER_ID                    ASSESSED
                                                                                                                          user1@mail                      1
                                                                                                                          user2@mail                       1
                                                                                                                          user3@mail                       2
                                                                                                                          user4@mail                       7
    Then i have another table that has fixed values in it which is called    Assessments_complete  the data in this table looks like                 USER_ID             Assessments_2do 
                                                                                                                                                                                                                                                       user1@mail                       1
                                                                                                                                                                                                                                                        user2@mail                      1
                                                                                                                                                                                                                                                        user3@mail                      3
                                                                                                                                                                                                                                                        user4@mail                     10
    What id like to do is create a report in apex that compares the to tables  and would have columns in the report to shows the USER_ID ,  ASSESSED  ,  Completed   so it would look something like 
    USER_ID                      ASSESSSED                    COMPLETE
    USER1@MAIL               1                                         yes
    USER2@MAIL               1                                         yes
    USER3@MAIL               2                                         no
    USER4@MAIL               7                                         no
    So why it shows no for user3@mail and user4@mail is because there Assessments 2do is not he same as Assessed 
    Any ideas guys

    SCW,
    I'm sure there is a clever way to cascade functions to avoid adding an auxiliary column in your practice table, but to me it wouldn't be worth the aggravation. I would add a column that concatenates Columns A & B, AWG & mils. This column can be anywhere and would be Hidden. Let's say your new column is Column N.
    In Column N, fill the body rows with:
    =A&"-"&B
    As good Numbers programming form would indicate, let's name the Practice Table Practices and only put the practices in that table. In another table where you do the lookup, let's call it Program, we will have the calculation/lookup.
    Based on your example, I'd guess that AWG may be in Column D and mils in Column E of your Program table, and the Soak lookup in Column F. If I'm wrong, adjust the column id.
    In Column F, write:
    =OFFSET(Practices::I$1,MATCH(D&"-"&E, Practices::N,0)−1, 0)
    The hyphen in the concatenated representation of the combination of AWG and mils is just tp make it more readable.
    As I'm sure you know, you could use other approaches, but since I had you put your aux column at the end of your Practices table, OFFSET with MATCH is a clean approach. INDEX could be used too.
    Here's an illustration:
    Regards,
    Jerry

Maybe you are looking for

  • K7T Turbo-R Limited Edition and USB

    After doing whatever research I could in these forums, I really couldn't find solid answer so I'm posting my questions. I have recently ordered a new case for my K7T Turbo-R Limited Edition (it's the red one) which has additional USB connections in t

  • Output of Report 6i (.PDF format to .TXT)

    Using 3 tire application it is generating output in .PDF format which takes lot of time in printing as graphics. I would like to convert .PDF format to .TXT format so that I can print on Dotmatrix printer with speed. Your suggession in converting .PD

  • Help required in configuring counting rule

    I have limited experience in SAP-HR configuration. Kindly help me quota configuration. The client has only absence type u2013 Earned Leave. The leave rule is the same for all the employees. The leave rules are: 1.     The employees are credited with

  • Basic sql update statement

    here are my columns: SQL> desc leaguetable; Name Null? Type LEAGUETABLEID NOT NULL NUMBER(8) TOURID NUMBER(8) TEAMNAME VARCHAR2(25) PLAYED NUMBER(3) WON NUMBER(3) LOST NUMBER(3) DRAW NUMBER(3) FORFOR NUMBER(3) AGAINST NUMBER(3) POINTS NUMBER(3) POSIT

  • Wfa_html.home web page cannot be displayed

    Hi guys, I have installed OWF 2.6 on Windows xp SP1. As I have the database on the same PC I installed the Oracle Companion in another oracle home. I already configured C:\ora10.1\companion\Apache\modplsql\conf\dads.conf to set the username and passw