Multiple Columns in sub-report

Post Author: Marcotte
CA Forum: General
I am creating an Inventory Disposition form.  At the top of the report, I want to list all of the Reason Codes the user may select.  There are currently 30 Reason Codes, but this could grow in the future.  Therefore, it is impractical to list all the the Reason Codes in one column.  I would like to list them in two columns at the top of my report (perhaps as a sub-report in the main Report Header).
I know how to create a multi-column report via the Section Expert, however what I can't figure out is how to force it to start the second column after a pre-set number of records or inches.  Here's the layout of the report I'm looking for:
What happens is that it lists all 30 records in the first column because it doesn't reach a page break.  How do I insert a page break into a report?
There is a Reason Code Group field in the table which I can use to break the Codes into smaller groups (there are about 6 groups), if that helps.

Post Author: Marcotte
CA Forum: General
Aha!  "Across Then Down", under the Layout Tab.

Similar Messages

  • OBIEE 11g How to Exclude/Include Multiple columns on BI Report at Run Time

    OBIEE 11g How to Exclude/Include Multiple columns on BI Report at Run Time

    Exclude:
    you Can exclude columns in either Table view or pivot table view by placing those columns in Excluded section but you will notice that it will appear in bi server parsed sql query.
    Not sure you were asking about runtime??
    would you please explain your question!!
    Thanks
    NK
    Edited by: DNK on May 8, 2013 9:48 PM

  • Fill multiple columns of the report at once ???

    I have been told that when coding a Report, there is some way to fill multiple columns of the report at once.
    Instead of
    select
    field1,
    field2....
    You could do
    <????> filling field 1 and 2
    My source was vague as to what kind of thing it would be that could give a value to more than one column at one time.
    Can anyone help me here? Sorry to not have any more specifics.
    Thanks, Wayne

    You can have placeholder columns and assign the output of your select statement to the place holder columns.

  • Multiple Column Header in Report (BEx and Web Reporting)

    Hi All,
            I've a requirement where my reports is having multiple column header.
       To be precise the column header is further divided into many sub-columns (upto 4 levels).
    Structure cannot help in this case since we have more than 2 such columns and we are using web reporting as well.
    Here is how it looks
                             <b>Header-A</b>
    Header-B1   |   Header-B2   |   Header-B3    |  Header-Bn
    Hdr-C1 |Hdr-C2 |Hdr-D1 |Hdr-D2 |Hdr-E1 |Hdr-E2 |Hdr-Fn..
    The above is a sample header structure.
    This report will be a Web Based report and I need to know whether its possible to do it in BEx also.
    We are not using Crystal Reports.
    If there is any document related to this, please mail to
    [email protected]
    Thanks & Regards,
    Chandran Ganesan

    Hi Chandran,
    I hope i am getting your problem right.
    If your
    Header-B1 | Header-B2 | Header-B3 | Header-Bn
    Hdr-C1 |Hdr-C2 |Hdr-D1 |Hdr-D2 |Hdr-E1 |Hdr-E2 |Hdr-Fn..
    are a set of key figures, then there is an option.
    For example:
    You drag Header-B1,Hdr-C1 |Hdr-C2
    into column section.Right click on Hdr-C1, Hdr-C2 and select down under. So your Hdr-C1, Hdr-C2 will be under
    Header-B1.
    Like wise drag Header-B2,Hdr-D1,Hdr-D2
    Right click on Hdr-D1,Hdr-D2 and say Down under and these two will fit below Header-B2.
    You can repeat the above steps for Header-B3... Header-Bn
    The output will be same as the one you have specified above.
    Hope it helps,
    Regards,
    Parth.

  • How to sort on Multiple columns in WebI report

    Hi
             I am working in BO XI R2. I have a report containing two columns in a section. Section is on Fiscal Year- Fiscal year includes calendar year 2010 and 2011.
    data for fiscal year 2010 is from october onwards.
    The two columns in the section are
    column 1- calendar  Year
    column 2- calendar Month
    I want to display results as follows
    2010 oct
    2010 nov
    2010 dec
    2011 jan
    2011 feb and so on.
    I first sorted calendar year column so that it shows
    2010
    2011
    but when i try to sort calendar month, for 2010 I am able to display oct, nov, dec in a ascending order but for 2011 the months are displayed randomly. Business user wants to see them in ascending order from Jan to June.
    Please let me know how to get this functionality in the report.
    Thanks in advance.

    Hello Gurus,
    I have same issue with me I am working on XI3.1 and I want to apply Sort on multiple columns on Single block.
    So as you can see the "Org Name" is decending Order and " Emails Sent" total is 63 and   "BCB" have 18 total.
    How would I apply sorting based on email sent from high number to low number. Please help.
    Thank you.
    Adil
    Org Name
    Org Tax ID
    Org ID
    Email
    Emails Sent
    Undelivered Emails
    Well Shot
    11111111
    22222222
    [email protected]
    32
    0
    11111111
    22222222
    [email protected]
    12
    0
    11111111
    22222222
    [email protected]
    10
    0
    11111111
    22222222
    [email protected]
    9
    0
    Well Shot
    Subtotal:
    63
    0
    Org Name
    Org Tax ID
    Org ID
    Email
    Emails Sent
    Undelivered Emails
    Well Play
    444444444
    33333333
    [email protected]
    1
    0
    WellPoint KY Test Org - Central
    Subtotal:
    1
    0
    Org Name
    Org Tax ID
    Org ID
    Email
    Emails Sent
    Undelivered Emails
    BCB
    55555555
    99999999
    [email protected]
    8
    0
    55555555
    99999999
    [email protected]
    8
    0
    55555555
    99999999
    [email protected]
    2
    0
    BCB
    Subtotal:
    18
    0
    Org Name
    Org Tax ID
    Org ID
    Email
    Emails Sent
    Undelivered Emails
    Ghazi, Foundation
    77777777
    8888888
    [email protected]
    1
    0
    77777777
    8888888
    [email protected]
    1
    0
    77777777
    8888888
    [email protected]
    1
    0
    77777777
    8888888
    [email protected]
    1
    0
    77777777
    8888888
    [email protected]
    1
    0
    Ghazi, Foundation
    Subtotal:
    5
    0
    Availity Orgnaization Name
    Org Tax ID
    Org ID
    Email
    Number of Emails Sent
    Undelivered Emails
    Ghazi, Foundations
    66666666
    1234567893
    [email protected]
    1
    0
    66666666
    1234567893
    [email protected]
    1
    0
    Ghazi,  Foundations
    Subtotal:
    2
    0
    Totals:
    89
    0

  • Selecting Multiple columns in Sub-query

    Hi All,
    I've been using three co-related queries to fetch data as shown below in the pseudo code. All these sub-queries are same, except the column name. I want to avoid the same query to be executed thrice for three columns. Is there any way to avoid this?
    insert into my_table
    select colA,
    colB,
    (select field1 from table1 where table1.fieldx =tableA.fieldy ) col1,
    (select field2 from table1 where table1.fieldx =tableA.fieldy) col2,
    (select field3 from table1 where table1.fieldx =tableA.fieldy) col3
    from tableA , table B 
    where con1= con2
        and con3 = con4
        and con4=con5;All suggestions are welcomed
    Regards,
    K

    Hi,
    Perhaps this is what you want:
    INSERT INTO my_table (colA, colB. col1, col2, col3)    -- list the columns explicitly
    WITH     table_1_summary          AS
         SELECT       fieldx
         ,       MIN (field1)     AS col1
         ,       MIN (field2)     AS col2
         ,       MIN (field3)     AS col3
         FROM       table1
         GROUP BY  fieldx
    SELECT       colA
    ,       colB
    ,       t1.col1
    ,       t1.col2
    ,       t1.col3
    FROM       tableA          a
    ,       tableB          b
    ,       table_1_summary     t1
    WHERE       con1          = con2
    AND       con3          = con4
    AND       con4          = con5
    AND       t1.field1 (+)     = a.fieldy
    ;Something a little shorter (and a little more efficient) might work, depending on you data, especially what columns are unique.
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all tables, and also post the results you want from that data.
    Explain, using specific examples, how you get those results from that data.
    Always say which version of Oracle you're using.

  • SAPGUI JAVA 7.10 (OSX 10.5.1): cannot select multiple columns in ALV

    Hi,
    in sapgui java 7.10 (on mac osx 10.5.1) I cannot select multiple columns in ALV reports.
    I can do it only in some transactions (like SE16). But on all our custom reports (REUSE_ALV_GRID_DISPLAY) in does not work.
    Any hint?
    Many thanks,
    Lorenzo

    Hi Lorenzo,
    did you double check if selecting multiple columns works with SAP GUI for Windows in the same report?
    If yes, I suggest to file a bug report so we can do a remote logon to run your custom report.
    If not it might be because of REUSE_ALV_GRID_DISPLAY itself or your parameters calling REUSE_ALV_GRID_DISPLAY.
    Best regards
    Rolf-Martin

  • SSRS sub report not fitting exactly in the parent textbox in main report.

    Hi All,
    I have a small sub report placed in the main report. Everything is working fine except that the sub report not fitting exactly in the parent text box is bothering me and disturbing the look of it. Can any one tell me how to make the sub report fit to its
    parent properly ???
    contents of my report are as below.
    1st column - project name,2nd column - location(sub report),3rd column - client name,4th - consultants(sub
    report), 5th - registered contractors and date(sub report).
    At the end of the sub report a line is displayed indicating its end. This is what i am concerned about.

    Hello,
    If I understand correctly, you have get a mess format with subreport.
    We can adjust the subreport report body size and tablix with the same size. It will fit exactly in the parent text box. Please refer to the screenshot below:
    If there are any misunderstanding, please elaborate the issue for further investigation.
    Regards,
    Alisa Tang
    Alisa Tang
    TechNet Community Support

  • Multiple Column Report Question

    Post Author: LCS213
    CA Forum: Crystal Reports
    I'm creating a student transcript report that has multiple columns, and is three groups deep.  The first two groups need to be in a columnar layout. However, I'd like the third group to contain a subreport that spans the width of the entire page. 
    Are there any options within Crystal XI to do this?  I know in the Section Expert, i can format the detail level with multiple columns, and on the Layout tab, I can select "Format Groups with multiple columns".  But that seems like it either formats ALL groups or NO groups.  Am I mistaken?  Is there a workaround I'm missing?
    Thanks in advance for any help on this issue!

    Hi Dan,
    According to your description, we are not clear about the “6 sections for each Additional task”. Do you mean six data records? If so, based on my understanding, there are three groups and eighteen records in your report. You want to make those records appear
    on eighteen separated pages, right?
    In Reporting Service, we can add a page break to groups within data regions to control the amount of information on each page. In your scenario, you should add page break to group “Sub task”, group “Additional Task” and details. As we tested in our environment,
    add page break to these records, the report appears in eighteen pages. Please refer to steps below:
    1.On Group Properties of Details1, choose “Between each instance of a group” option on Page Breaks page. Please refer to screenshot below:
     Choose same option on Group Properties for group “Month” and “Name”.
    2.Click drop-down button next to Column Groups, then choose Advanced Mode.
    3.Click on Static under Row Groups, set RepeatOnNewPage as True in Tablix Member Properties.
    4.Click Preview, the results before and after adding page break look like below:
    If you still have any question, please post some detail information or screenshot about the report design you expect.
    Best regards,
    Qiuyun Yu

  • SSRS - multiple toggle in single row item to drill down sub report

    I need to open a sub report using drill down concept. Is there any possible to give toggle for multiple columns in single row.
     http://social.msdn.microsoft.com/Forums/getfile/528971
    The sub report have two parameters to show data. If I click first link the subreport to be drill down with parameters 1 and 5. If I click second link the
    same sub report to be drill through with different parametrs as 2 and 6.
    Any idea to do this?

    Thanks for your reply.
    I do it this in different way. 
    See the below sample image url. I created the main report having four details with toggle to drill down the sub report. If I click the Detail1 the
    subreport1 will expand drill down then I click Detail2 the subreport2 to be expand.
    But still the subreport1 is visible I want to collapse Subreort1 once click toggle second and vice versa.
    Please give your suggetions. 
    http://social.msdn.microsoft.com/Forums/getfile/529184

  • Cross-tabs in Multiple Sub-reports

    Post Author: Kiwi Jan
    CA Forum: Crystal Reports
    I have created a crystal report which contains multiple detail sections (Da-Di). Each detail section contains a subreport, which contains a cross-tab.
    I have done this because I need to create one excel spreadsheet which contains data from different types of cross tabs.
    For example, one cross tab lists accounts and totals, the second lists accounts and totals by cost centre (17 of these), and a third lists accounts and totals by product group (11 of these).
    I have lined up all the columns perfectly, and when I export to Excel (Data only), it works perfectly, and I get all the rows and columns of all the cross-tabs in one excel worksheet. Brilliant.
    However, when I print, preview or export to pdf, I only see the "real" page and do not see any virtual pages that are shown in each of the sub-reports.
    How can I print or view this from the main report and get the virtual pages as well, without stuffing up my export to excel?
    Any suggestions would be greatly appreciated.

    Hi Kim,
    What version on Crystal Reports are you using? If its CR 2008 then you can take advantage of the various gridvalue functions and the calculated member feature available.
    Here's what you need to do:
    1) In 'Preview' mode, right click the 1st col and select Calculated Member > Insert Column
    2) This will insert a col after the 1st col. To make the newly added col appear 1st, right click on the top left corner of the crosstab and go to Advanced Calculations > Calculated Member
    3) In the Properties area, set the Insert Evaluation to 'Before'
    4) Now the new col would be the 1st col in the crosstab and it's values would be 0
    5) You said you calculate the Billed Amount on some logic; you can apply the summarization logic by editing the calculation formula
    6) Right click one of the 0 values in the new col and select Calculated Member > Edit Calculation Formula. Use the formula in this manner:
    select Gridlabelat("Row",currentrowindex)
    case "Job1" : 50
    case "Job2" : 20
    Default : 0
    The function GridLabelAt() accepts 2 parameters: 1st is the name of the row. In this case it would be your database field name. Suppose your database field used as a row is called Customer.Country then the formula would be:
    Gridlabelat("Customer.Country",currentrowindex)
    You can use if-else instead of the select -case if you like, but this is where you need to apply the logic for billed amount.
    At last, you'd notice that the Header for this col is blank. Just Right click the blank header and select Calculated Member > Edit Header formula and type in "Billed".
    That's it! The grand totals for the row won't add the values from the calculated member.
    Hope you get this working.
    -Abhilash

  • Crystal Report multiple columns

    I'm having trouble with Crystal Report's multiple columns in the detail section.
    The details section, the multiple columns is checked then the printing direction is across - down. Since the form I am using is a pre-printed form, by estimation it can only allow at best 30 records in one page, that is 15 in the 1st half of the column and another 15 records on the next. For visual:
    Invoice No    Invoice Date        invoice total                                               Invoice No    Invoice Date        invoice total
    1                                                                                16
    2                                                                                17
    3                                                                                .
    .                                                                                28
    14                                                                                29
    15                                                                                30
    For some reason there is this giant space after the last set of rows before it prints out the page footer. This giant blank section disrupts the layout of the page footer section.
    Here are some info on the details section as configuration is involved:
    Format with  Multiple Columns - checked
    In Paging: New Page after 30 visible Records
    In Layout: Width: 3.5 in       Height: 0.0 in
                     Horizontal: 0.0 in      Vertical: 0.0 in     
    Printing Direction: Across-Down
    Anyone knows how to suppress it or have the page footer move upwards?
    P.S To see actual pre-printed form, please download this [http://www.mediafire.com/i/?csu0q75mjynys2k]
    Edited by: Khristine Angelei  Basilla on Mar 1, 2012 8:34 AM

    Now why didn't I try that out. Actually, initial plan was 2 subreports.
    So when I added the second subreport in the group footer section, it only prints the details on the last page, which should not be the case as I need to be printed on all pages.
    I'll test it out. I'll post an update soon.
    Thanks.

  • Sub report in column header

    Infinite loop creating new page due to column header overflow.
    I have a sub report on the column header which works,
    Because my sub report return different records from data source, it fails and get infinite loop error message like above when I have 9 records, it works less than 9 records.
    I would like to know my sub report returns records some times more, are there any place for my subreport?
    Are there limit for sub report?
    Your help and information is great appreciated,
    Regards,
    Iccsi,

    Thanks for the message and help,
    My sub report link to a data soruce which is a stroed procedure running from MS SQL server.
    The stroed procedure returns data based on data base what data in the table.
    It looks like the sub report on the Report Builder limited by the length of the report band.
    I tried to move to column header, column footer, report footer all the same, when the sub report growth then it fails to generate the reports.
    Regards,
    Iccsi,

  • Display multiple records as sub-sections in the same report.

    I am using Crystal Reports (VS-2005).
    In a report, I have various sub-sections in the Details section. Each section represents a category and is connected with SQL command which uses LEFT OUTER JOIN.
    The first section is the main section and the subsequent sections are the child sections.
    Sometimes, a sub-section (other than the first main sub-section) picks multiple records of that category. In this case the report extends to multiple pages. Each report displays one record of this sub-section.
    I want to show the the same sub-section multiple times in the same report as opposed to multiple reports that are now automatically generated by Crystal Reports.
    How to handle this issue?

    This is a .NET programming forum related to Crystal Reports. Your question is best suited for our report design forum below. Also, when you post your question it will be helpful if you use report design terminology. We have elements like Report Header, Page Header, Groups, and Details sections. Just mentioning "sections" doesn't give us a good idea about what you are attempting to do.
    Check out the grouping options and see if it helps. You might need to create a formula to help you with your grouping though.
    If you like, I can move this to the design forum.
    [SAP Crystal Reports Design|SAP Crystal Reports;

  • The issue with using the multiple columns sub-query in WHERE clause

    Hi All,
    my database version is 10.2.
    the problem i am trying to deal with is that when I use multiple column sub-query in the WHERE clause of the SELECT statement, the actual row number returned from the sub-query is different from the whole statement.
    And what I found is that, whenever there is NULL in any of those columns returned from the SUB-QUERY, the outer query will just return NULL for that whole row.
    Here is an example:
    select empno, ename, job, mgr, hiredate, sal, deptno from EMP
    intersect
    select empno, ename, job,  mgr, hiredate, sal, deptno from t;
    7782     CLARK     MANAGER     7839     09-JUN-81     2450     10
    7839     KING     PRESIDENT  NULL  17-NOV-81     5000     10
    7934     MILLER     CLERK     7782     23-JAN-82     1300     10
    select * from EMP where (EMPNO, ENAME, job, MGR, HIREDATE, SAL, DEPTNO) in (
    select empno, ename, job, mgr, hiredate, sal, deptno from EMP
    intersect
    select empno, ename, job,  mgr, hiredate, sal, deptno from t);
    7782     CLARK     MANAGER     7839     09-JUN-81     2450          10     
    7934     MILLER     CLERK     7782     23-JAN-82     1300          10     If I specifically deal with the NULL situations for the columns which might return NULL, I can get the result right.
    select * from EMP where (EMPNO, ENAME, job, NVL(MGR,-1), HIREDATE, SAL, DEPTNO) in (
    select empno, ename, job, nvl(mgr,-1), hiredate, sal, deptno from EMP
    intersect
    select empno, ename, job,  nvl(mgr,-1), hiredate, sal, deptno from t);
    7782     CLARK     MANAGER     7839     09-JUN-81     2450          10     
    7839     KING     PRESIDENT  null   17-NOV-81     5000          10     
    7934     MILLER     CLERK     7782     23-JAN-82     1300          10     the problem is that, I feel this is a very lame way of handling it.
    So, I wonder or am asking if there is any better or standard way to do it?
    any help would be highly appreciated.
    Thanks

    Hi,
    As you discovered, INTERSECT treats NULL as a value, but IN does not.
    What you did with NVL is one way to handle the situation. If there was a chance that any of the columns could be NULL, then you might prefer something like this:
    select      *
    from      EMP
    where      ( EMPNO      || '~' ||
           ENAME      || '~' ||
           job           || '~' ||
           MGR           || '~' ||
           TO_CHAR (HIREDATE, 'DD-MON-YYYY HH24:MI:SS')
                    || '~' ||
           SAL           || '~' ||
           DEPTNO
         ) in (
              select  EMPNO      || '~' ||
                     ENAME      || '~' ||
                   job     || '~' ||
                   MGR     || '~' ||
                   TO_CHAR (HIREDATE, 'DD-MON-YYYY HH24:MI:SS')               
                        || '~' ||
                   SAL      || '~' ||
                   DEPTNO
              from     emp
             intersect
              select  EMPNO      || '~' ||
                     ENAME      || '~' ||
                   job     || '~' ||
                   MGR     || '~' ||
                   TO_CHAR (HIREDATE, 'DD-MON-YYYY HH24:MI:SS')               
                        || '~' ||
                   SAL      || '~' ||
                   DEPTNO
              from      t
             );This assumes that you can identify some string (I used '~') that never occurs in the strings in these tables.
    This is implicitly converting the NUMBERs. That's usually not a good thing to do. but explicitly converting them would make this even more tedious.
    You should explicitly convert any DATEs to strings, however. Depending on your default format, and your data, you might get away with implicit conversions even for DATEs, but don't bet on it.
    If you had to do this often, you might consider writing a user-defined function:
    delimited_string (empno, ename, job, mgr, hiredate, sal, deptno) would return a string like
    '7839~KING~PRESIDENT~~17-NOV-1981~5000~10'
    This will make the coding easier, but beware: it will make the execution slower.

Maybe you are looking for