Display Data in Cross Tab Format...Per Quarter

Hi Team,
I have following issue...which i am struggling to solve...
My current report format is
Material Technology -  Q1(Qty) Q2(QTY) Q3(QTY) Q4(QTY) - Q1(Pirce) Q2(Pirce) Q3(Pirce) Q4(Pirce) - Q1(Rate) Q2(Rate) Q3(Rate) Q4(Rate)
I have generated cross tab report...in which i am getting following display...
Material Technology Q1(Qty) Q1(Price) Q1(Rate)  and so on...
Is there any way i can get the required format...please assist..
Q1 to Q4 - Quarter 1 to 4...
regards
nic

Hi Nic,
The problem is you have 3 measure objects available: qty, price and rate.
If you put them in a vertical table then you will have 3 columns. As soon as you put in the quarter to create the crosstab BO will the for each quarter display the qty, price and rate.
To solve your problem is to not create a cross-tab, but a vertical table.
For each measure object you crreate 4 new variables (type measure) using the the formula:
E.g. for the quantity in the first quarter you create variable like: qty_q1
=<qty> Where (<quarter> = 1)
The same you do for the quantities for the other quarters.
And you do the same for the price and rate.
Ending up with 12 new variables which you can put in a vertical table in any order you like.
Regards,
Harry

Similar Messages

  • How to display Zero(0) values in cross tab format in Webi???

    Hi All,
    Is there a way to display the zero(0) or null values in cross tab format in
    webi. I can able to display in Regular tabular format in Webi as u got an option
    in Properties --> Display --> Show all rows/columns, but it is not working when
    i am using Cross Tab format for the same data.
    Regards
    Ram

    Hi Sunil,
    Happy to see your solution. My requirement is that if you have a data like
    SBU,                   Cadre,                Value
    Chemical Buss,     Manger,                  45
    Crop Buss,            Workmen,               63
    Agri Buss,              Executive,              70
    Chemical Buss,     Executive,              84
    Agri Buss,              Workmen,              -      
    Crop Buss,                 -,                        -
    So now we need to get the rows or columns that are having blank values. Say like if Crop Buss is not having any values so it wont be displayed, but actually it has to be displayed.
    Regrads
    Ram

  • Displaying data in different tabs

    Hi all
    In a webI report I want to display data in different tabs for different prompt values.
    For ex: In the prompt window if enter one value for plant say ABC... data should display in a single tab
    If I enter two values say ABC, DEF... data should display for two plants in two different tabs. one tab for ABC and another tab DEF.
    Any inputs please and is this possible in webI?

    Hi there. No, it isn't.
    The underlying query is shared among all tabs (which are, annoyingly, technically called 'reports').
    Since any prompts are defined in the query, they too are shared among all tabs.
    Input controls, 'standard report filters', and 'simple report filters' are specific to individual tabs, and cannot affect other tabs, but won't 'pop up'.
    You may want to look into hyperlinking between reports (read up on OpenDocument if you're not familiar with it) to allow users to move from one Webi report (technically called a 'document') to another.
    This will allow you to have different prompts for different reports.

  • Calculations based on Summarized data in Cross Tab

    First off, I'm pretty experienced with Crystal.
    I've run accross something that seems like it should be realy easy to do, and the sort of thing you would expect to do  in a cross tab... so maybe I'm missing something totally obvious.
    I'm doing a year over year comparison of some financial data broken down by month and by quarter.
    So, my Rows are Quarter, and a field called 'YEARMONTH' (calculated field, YYYYMM, for ease of sorting)
    My column is Year, and for summarized fields, I have the data field I'm interested in which is a float. Let's call it 'Dollars' for sake of argument.
    What I want to do is create a summary field (next to the total field) called 'Difference' or 'Delta' that calculates for reach row the difference between my two years (2008, and 2009)
    The only solution I can come up with is to dummy in a record from the datasource with a year value of 'Difference' and some other dummy values so that it will show up as a column on the cross tab, and then somehow use the currentrowcolum function or some such creature to mask the output in the column. but now that I type it out here, I'm not sure it's going to work. I also don't think it's going to export the way I want it to either.
    I'd really prefer it to be in a cross tab, and not in some manually created cross-tab emulation using manual running totals, but I'll go there if I have to.
    Thanks a ton!

    This is what I did in my report to get the difference
    my crosstab looks like this
                        2004     2005    Total
    Total              T1         T2         T
    USA               A          B          C
    INDIA              X          Y          Z
    right click on T1 and go to format field and write the suppress condition like this
    numberVar d:=0;
    currencyVar array arr1;
    currencyVar array arr2;
    numberVar e;
    if GridRowColumnValue('year')=2004 then
    (e:=e+1;
    redim preserve arr1[e];
    arr1[e]:=CurrentFieldValue)
    else
    (e:=e+1;
    redim preserve arr2[e];
    arr2[e]:=CurrentFieldValue);
    false
    right click on T and go to format field and write the Display string condition like this
    currencyVar array arr1;
    currencyVar array arr2;
    totext(arr1[1]-arr2[1])
    right click on A and go to format field and write the suppress condition like this
    currencyVar array four;
    currencyVar array five;
    numberVar d;
    if GridRowColumnValue('year')=2004 then
    (d:=d+1;
    redim preserve four[d];
    four[d]:=CurrentFieldValue)
    else
    (d:=d+1;
    redim preserve five[d];
    five[d]:=CurrentFieldValue);
    false
    right click on C and go to format field and write the Display string condition like this
    currencyVar array four;
    currencyVar array five;
    numberVar g;
    g:=g+1;
    ToText(four[g]-five[g])
    Note: Please select the option "column totals on top" for crosstab in customize style
    Hope this helps!
    Raghavendra

  • Detail-Data in Cross-Tab

    Hi,
    i would like to add additonal data to the row-label in a cross-tab.
    ....................... C1    C2    C3
    Customer1
    .... add.Data1
    Customer2
    .... add.Data2
    Customer3
    .... add.Data3
    How can i do that?
    The link between the Customer-Table and the Extra-Data is the customer-id and a Date-Field (parameter of the report - used for filtering on a date-basis).
    Table for extra data:
    customer-id     date     amount
    DATE is a parameter of the report.
    Is there any way to do this?
    (I use CR XI).
    Result should look like this:
    Selected Date (Parameter): 2009-02-02
    ...................................................... C1    C2    C3
    Customer1 +
    ....amount on 2009-02-02 for C1
    Customer2 +
    ....amount on 2009-02-02 for C2
    Customer3 +
    ....amount on 2009-02-02 for C3
    THX in advance,
    Markus

    Hi,
    Lets phrase it differently again
    i have a second table from which i would like to add additional information to the row-information in a cross-tab.
    customer.... date ... amount
    Cust1....2009-02-01....   10
    Cust1....2009-03-01....   15
    Cust1....2009-04-01....   77
    Cust2 ........
    Cust3 ........
    I need ONLY the first amount from the starting-date in the CROSS-Tab.
    The starting-date is a parameter in the report.
    If i put there the linked amount-field i get a row for each different date.
    I need only one row per customer with the first amount from date 1. (the parameter-date-value)
    So if i enter 2009-03-01 as the parameter, i would like a cross tab with a row-name of:
    "Customer1 + ChrW(13) + 15 "
    It works with a SQL-Expression (named "StartSaldo") like:
    (Select Saldo from Goldbeck_Saldo where D_Date = '20090301'
    and "Goldbeck_Saldo"."I_PERSID"="BaseTable"."I_PERSID")
    and a row name of "Customer.Name + ToText({%StartSaldoSQL})
    However the Date "20090201" is hard-coded there.
    I can find no way to make the Date from the SQL-Expression soft-coded (pass the parameter to the scalar SQL-Expression). According to another forum-post this is not possible.
    THX
    Markus
    Edited by: Cumulus7 on Apr 27, 2009 4:25 PM

  • Data binding cross tab in Crystal 2008 with Xcelsius swf file

    I've created a visualisation in Xcelsius and want to bind it to a cross tab in CR2008.   The labels appear correctly in the swf visualisation but I get no data.   The format of the table in Xcelsius and the cross tab I believe to be the same, covering data formats.   I have placed the Xcelsius visualisation in page header "a" with the cross tab in page header "b".   The Xcelsius table has been defined in terms of column and row headers as well as data area, so I've done everything that I understand to be correct.   In CR2008 I have specified that I use the existing named cross tab.
    Does anyone have any idea what I may have missed.
    tia
    Neil

    Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with you directly

  • Restricting data in cross tab report

    Hi
    I am creating a cross tab report.In that I want to restrict the column dynamically.The column depends upon the parameter field.
    say for example if i enter the parameter as 2007,it should display field from 2004-2007 only rather than displaying all years.
    Thanks in Advance,
    Eswari

    Hi,
    You can use a formula. e.g
    < Basic format>
    Select case year({Command.tradeDate})
        case 2005 to 2007
            formula = 1
        Case else
            formula = 0
    end select
    Then on the crosstab column group options, choose "specified order" and on the "Other" tab choose "Discard all others"
    Hope this helps
    Regards
    Dotun.

  • Unable to bold a cell verticle line in Cross-tab Format Grid Lines

    Hi
    I am unable to bold a random Cell vertical line inside the cross-tab. My cross-tab is having access database which pulls every data correctly,
    To elaborate , here is the images to make it clear.
    First one is the current output of cross-tab & 2nd one is the desired output :
    To make it more clear ,
    I am giving the screenshot of Format grid lines option,  when I have selected Cell vertical lines , I can change Line options (Like style,width,color) from it. When I change it, it changes all three lines simultaneously. But, in that, I just want to bold only the last line of this grid.
    The screenshot as follows (To denote the lines, I have put numbering under the vertical lines, where I want to bold only the third one) :
    Please let me know, if  any solution to this. I m using CRVS_13.
    Thanks in Advance.

    Hi,
    try to do this way..
    Right click on crosstab - > crosstab expert -> customize style -> select your particular column then goto Format Grid Lines -> select your particular one based view -> ok..
    I hope this not yet possible because select 1 automatically 2,3 vertical lines are selected..
    See how it works......Please update ASAP
    tHANKS,
    dj

  • Cross Tab Formatting a summarized field

    Hi All,
        I have a field that is summerized in my crosstab. However, I want to be able to take that number and format it in HH:MM:SS and am having difficulty accomplishing this. In my drill down reports I was able to do this with ease. Could someone help me out in this regard?
    Thank you in advance,

    You should be able to create a formula, something like this
    and then add the formula to the cross tab
    whileprintingrecords;
    NumberVar Hours1;
    NumberVar Minutes1;
    NumberVar Seconds1;
    NumberVar TimeBreak;
    TimeBreak:= 0;
    if Sum (, , "daily") = 0 then 0 else
    TimeBreak:= Sum (, , "daily");
    Hours1:=(Truncate(TimeBreak/3600));
      Minutes1:=(Truncate(Remainder(TimeBreak,3600)/60));
      Seconds1:=(Remainder(Remainder(TimeBreak,3600),60));
    //Display the time formated.
    ctime(hours1,Minutes1,seconds1)
    This example, is grouped by RowDate by day, and converts the seconds (Auxtime2) to
    HH:MM:SS

  • Seconds to Time Conversion for Display on a Cross-Tab

    Post Author: [email protected]
    CA Forum: Formula
    I am doing a cross-tab report of login times for hours logged into a system. In the cross-tab if i use the time, I can't sum. So i have the time converted to seconds to allow for a sum and totals.  Now I need to change the display of the field to time.   When I go to my Format Field of the field in seconds, under Common tab i go to Display String.  I put in the following formula: totext((/60)/60,0,"","") & ":" & totext(truncate(remainder(/60,60)),0) & ":" & totext(remainder({Secondin_Logins.T},60),0);   My problem is it changes all to report the same time; no time is different. And the formula is wrong becuase when i do the hours if it is .501 or high it rounds up. Anyone have any solutions to convert seconds to Time?

    Post Author: V361
    CA Forum: Formula
    Part of the probem may be the crosstab,   any way, this example uses a group but should be generic enough to give you some ideas.
    whileprintingrecords;
    StringVar Hours1;
    StringVar Minutes1;
    StringVar Seconds1;
    NumberVar time2;
    time2:= 0;
    if Sum ({Work Time}, ) = 0 then 0 else
    time2:= Sum ({Work Time}, );
    If time2 <= 0 Then
    "00:00:00"
    Else
    ( Hours1:=ToText(Truncate(time2/3600),0);
    Minutes1:=ToText(Truncate(Remainder(time2,3600)/60),0);
    Seconds1:=ToText(Remainder(Remainder(time2,3600),60),0);
    //Display the time formated.
    (if length(Hours1) < 2 then '0') + Hours1 + ":" +
    &#91;"0",""&#93;&#91;length(Minutes1)&#93; + Minutes1 + ":" +
    &#91;"0",""&#93;&#91;length(Seconds1)&#93; + Seconds1);

  • Unable to get cells for the columns which have no data in cross-tab report

    Hi friends,
    I am developing a cross-tab report.
    Let's take an example to explain the problem.
    Here is the XML file i am using
      <?xml version="1.0" ?>
    - <!--  Generated by Oracle Reports version 6.0.8.11.3
      -->
    - <MODULE1>
    - <LIST_G_SCHEMECODE>
    - <G_SCHEMECODE>
      <SCHEMECODE>171091</SCHEMECODE>
      <AMOUNT>0</AMOUNT>
      <ASSET_TYPE>Govt Guarantee</ASSET_TYPE>
      <MARGIN>0</MARGIN>
      <AMOUNT_SECURED>0</AMOUNT_SECURED>
      <VALUE_OF_SECURITY>0</VALUE_OF_SECURITY>
      </G_SCHEMECODE>
    - <G_SCHEMECODE>
      <SCHEMECODE>171091</SCHEMECODE>
      <AMOUNT>0</AMOUNT>
      <ASSET_TYPE>Loans To Govt</ASSET_TYPE>
      <MARGIN>0</MARGIN>
      <AMOUNT_SECURED>0</AMOUNT_SECURED>
      <VALUE_OF_SECURITY>0</VALUE_OF_SECURITY>
      </G_SCHEMECODE>
    - <G_SCHEMECODE>
      <SCHEMECODE>171093</SCHEMECODE>
      <AMOUNT>0</AMOUNT>
      <ASSET_TYPE>Govt Guarantee</ASSET_TYPE>
      <MARGIN>120</MARGIN>
      <AMOUNT_SECURED>0</AMOUNT_SECURED>
      <VALUE_OF_SECURITY>0</VALUE_OF_SECURITY>
      </G_SCHEMECODE>
    - <G_SCHEMECODE>
      <SCHEMECODE>171093</SCHEMECODE>
      <AMOUNT>0</AMOUNT>
      <ASSET_TYPE>Loans To Govt</ASSET_TYPE>
      <MARGIN>0</MARGIN>
      <AMOUNT_SECURED>0</AMOUNT_SECURED>
      <VALUE_OF_SECURITY>0</VALUE_OF_SECURITY>
      </G_SCHEMECODE>
    - <G_SCHEMECODE>
      <SCHEMECODE>*171095*</SCHEMECODE>
      <AMOUNT>0</AMOUNT>
      <ASSET_TYPE>Govt Guarantee</ASSET_TYPE>
      <MARGIN>100</MARGIN>
      <AMOUNT_SECURED>0</AMOUNT_SECURED>
      <VALUE_OF_SECURITY>0</VALUE_OF_SECURITY>
      </G_SCHEMECODE>
      </LIST_G_SCHEMECODE>
      </MODULE1>Now I want SCHEMECODE in rows and ASSET_TYPE in columns.
    And the each ASSET_TYPE column is to be divided into 2 sub-columns (MARGIN,AMOUNT_SECURED).
    I am able to achevie this.
    The problem is that ,for the schemecode 171095, since there is no data for ASSET_TYPE "Loans To Govt",no cells are generated for this SCHEMECODE and ASSET TYPE.
    But the requirement is to generate blank cells.
    If needed i will send the template at xml files also.

    try this, there must be simpler one i guess...
    1. take a form field, and make its type as number. Paste the below one <?xdoxslt:set_variable($_XDOCTX,'v1',2)?>
    2. now take a table with as below,
    A l B |
    C l D1 l D2 l E1 l E2 l
    observe that i. A, C are in one column
    ii. cell B is on top of D1, D2
    iii. we have no cell on top of E1 and E2 cells
    iv. 'l' represents the wall of the cell :)
    A: <?horizontal-break-table:1?> SCHEMECODE
    B: <?for-each-group@column:G_SCHEMECODE;ASSET_TYPE?> <?ASSET_TYPE?> <?end for-each?>
    C: <?for-each-group:G_SCHEMECODE;SCHEMECODE?> <?xdoxslt:set_variable($_XDOCTX,'v1',2)?> <?SCHEMECODE?>
    D1: <?for-each-group@cell:current-group();ASSET_TYPE?> <?MARGIN?> <?xdoxslt:set_variable($_XDOCTX,'v1',xdoxslt:get_variable($_XDOCTX,'v1')-1)?>
    D2: <?AMOUNT_SECURED?> <?end for-each?> <?end for-each?>
    E1: <?for-each@column:xdoxslt:foreach_number($_XDOCTX,1,xdoxslt:get_variable($_XDOCTX,'v1'),1)?>
    E2: <?END FOR-EACH?>
    3. If you are confused gimme your email id, i will pass the template. But you should add credits to me.. :)

  • Cross tab formatting in Infoview

    I uploaded a Crystal 2008 report into Infoview product version 12.1.0. The report contains indented row labels in the cross tab. When I view the report in Infoview, the indents don't display nicely indented. Instead, they almost look centered, which defeats the purpose of this feature. Anyone know whether I'm doing something wrong or maybe it's a version/Infoview setting issue?
    Thx.

    Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with you directly:
    http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300?resid=-Z5tUwoHAiwAAA8@NLgAAAAS&rests=1254701640551

  • Cross tab formatting issue

    Post Author: forumguy
    CA Forum: General
    Hi Guys,
    I am using crystal 10. The cross tab is in the group.
    It was giving me a blank page in the middle of the report. So, unchecked the "Keep together" in the section expert in the group. And the Blank page was gone. But now with "Keep together option" unchecked, it gives error " Error formatting the cross tab" after one particular page.
    Is there any other way to remove that blank page ?
    Appreciate ur comments.
    Thanks

    Create a manual crosstab report

  • Cross-Tab Formating

    Can you conditionally format a cell in a cross-tab based on the value in other cells?  Thanks in advance.

    Hi,
    You can use similar condition.
    IF GETCOLUMNGROUPINDEXOF(CURRENTCOLUMNINDEX)= 1 AND GRIDROWCOLUMNVALUE(u201CMONTHu201D)=u201DJANu201D AND GRIDVALUEAT(CURRENTROWINDEX, GETCOLUMNPATHINDEXOF(u201CJANu201D), CURRENTSUMMARYINDEX) > 5000 THEN
        CRRED
    ELSE
        CRBLACK
    This example will highlight amount in red color under January month column where the amount is greater than 5000.
    Hope this helps.

  • Cross Tab Formatting Problem when exported to excel

    Hi There,
    I got a problem with cross tab when exported to excel, Call_id field is occupying 4 cells. Below is the structure
    AssignedGroup-Call_Id-Total
    A--1001-
    A--1011-
    Total-----2-
    B--1021-
    B--1031-
    Total-----2-
    C--1041-
    Total-----1-
    can anyone help? How to restrict call_id to fit in single cell?
    Thanks,
    Jyothi
    Edited by: Jyothi Yepuri on Sep 16, 2009 7:50 AM

    Yeah.. crystal has giving  some issues while exporting reports without SPs, especialy previous versions.
    So  Better to install latest SP or patches for CR 10.0. I think SP 6 is the updated one for CR10.0.
    For More info Go through this link,
    http://resources.businessobjects.com/support/additional_downloads/service_packs/crystal_reports_en.asp#CR10
    Regards,
    Salah

Maybe you are looking for