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

Similar Messages

  • Calculated column shows all zeros in cross tab discoverer report

    Hi
    I have a calculated column in a cross tab report which shows all zeros, but when i duplicate the report as 'table' the calculated colun is getting populated.
    i did not understand why it is doing like that, are there any special privileges or any special settings required for creating a cross tab report.

    Hi,
    No there is no special privs for cross tab but there is an aggregation issue.
    There are some methods of aggregations used in the discoverer.
    First thing you can so is to make sure that in the cross tab sheet you use the detailed data points and that you are not combining different levels of aggregations (for example one amount in details and another one summed).
    Second thing you can try is to change the aggregation for this worksheet, you can do that by going to the worksheet properties to the aggregation tab and try to change the settings.
    Third thing is to check the pref.txt file in the application server and set "AllowAggregationOverRepeatedValues" to 1
    BTW also search your data and find whether you got NULL values in the aggregated items, if so then wrap the data points with NVL function.

  • Inserting a calculated column after every column in cross tab, in crystal report 2011

    HI,
    I want to insert a calculated column after every column i a cross tab . The cross tab shows , sales by region for a number of years , for example from 2007 to 2013. The year can be changed based on the user parameter. How can I do that ?
    Thanks

    Hi Feroz,
    To calculate the Percentage Change and also to show the Percentage sign, here's what you need to do:
    1) Right-click the Calculated Column Header > Calculated Member > Edit ColumnValue Formula and use this code:
    cdate(1890,01,01)
    If the field used as the column is a datetime field, use this:
    cdatetime(1890,01,01,0,0,0)
    2) Right-click one of the zero values in the Percentage Column and select Calculated Member > Edit Calculation formula and use this code:
    if CurrentColumnIndex  = 2 then 
        If GridValueAt(CurrentRowIndex, CurrentColumnIndex-2, CurrentSummaryIndex) = 0 then 
        0 
        else 
         (GridValueAt(CurrentRowIndex, CurrentColumnIndex-1, CurrentSummaryIndex) - GridValueAt(CurrentRowIndex, CurrentColumnIndex-2, CurrentSummaryIndex))/ 
         GridValueAt(CurrentRowIndex, CurrentColumnIndex-2, CurrentSummaryIndex)
         ) * 100 
    else 
        If GridValueAt(CurrentRowIndex, CurrentColumnIndex-3, CurrentSummaryIndex) = 0 then 
        0 
        else 
         (GridValueAt(CurrentRowIndex, CurrentColumnIndex-1, CurrentSummaryIndex) - GridValueAt(CurrentRowIndex, CurrentColumnIndex-3, CurrentSummaryIndex))/ 
         GridValueAt(CurrentRowIndex, CurrentColumnIndex-3, CurrentSummaryIndex)
         ) * 100 
    3) Right-click one of the Values in the summary cells > Format Field > Number tab > Customize > Currency Symbol tab > Click the formula button beside 'Currency Symbol' and use this code:
    If Year(GridRowColumnValue("Date_field")) = 1890 then
    "%" else "$"
    Note: Replace Date_field with the field name you've used as the Column in the Crosstab. The double-quotes ARE required and you should remove any curly braces that CR adds automatically.
    4) You might want to use a similar code in the 'Position' formula too.
    Let me know how this goes.
    -Abhilash

  • Analysis for Office 1.4.7 Can't do calculation based on HANA data

    Hi,
    We are currently using Analysis for office 1.4.7 based on HANA data. When we try to use calculation, we got following error.
    Nested exception. See inner exception below for more details:
    Unable to execute SQL statement (CREATE_COLUMN_VIEW) \: CREATE OLAP SCENARIO '<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <cubeSchema operation="createCalculationScenario" version="3">
        <calculationScenario name="POC-zmlf-fico-histcopatma-pkg/CALV_SHCOPATMA_MUL_1408373161431" schema="_SYS_BIC">
            <scenarioHints createInMemoryOnly="false"/>
            <dataSources>
                <analyticDataSource view="POC-zmlf-fico-histcopatma-pkg/CALV_SHCOPATMA_MUL" schema="_SYS_BIC" name="columnViewSource">
                    <attributes>
                        <allAttribute/>
                    </attributes>
                </analyticDataSource>
            </dataSources>
            <calculationViews>
                <aggregation defaultViewFlag="true" name="defaultAggregation">
                    <inputs>
                        <input name="columnViewSource"/>
                    </inputs>
                    <viewAttributes>
                        <allViewAttribute/>
                    </viewAttributes>
                    <keyfigures>
                        <allKeyfigure/>
                         <calculatedKeyfigure datatype="double" aggregationType="sum" name="[Measures]_Formula1">
        <formula>("G_QVVNTW" - "ZKGPSTD")</formula>
    </calculatedKeyfigure>
                    </keyfigures>
                </aggregation>
            </calculationViews>
        </calculationScenario>
    </cubeSchema>' (ERROR [S1000] [SAP AG][LIBODBCHDB32 DLL][HDBODBC32] General error;258 insufficient privilege: Not authorized)
    Currently the account we use has select access to "_SYS_BIC". What else do we need in term of priviledge?
    Thanks.
    Terry

    Hi Tammy,
    We can do calculations now with Create Scenario" system privilege.
    The issue I am facing was what objects we can do calculation and what objects I can't or should not.
    Example:
         I can do calculation between kilos and Net Weight(Kilos) since both are quantity. Once I bring in Gross Profit at Standard which is dollar value into my calculation, I got "No applicable data found".

  • 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

  • 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.. :)

  • Increase Number of Decimal Points on % summarized field in Cross Tab?

    Hi,
    I have a cross tab that I have added a "% of COUNT " summarized field to, but I want to show the percentage to 2 decimal places (DP) and make the rounding more accurate. Currently the rounding means the % values do not actually total to 100%.
    I assumed this would be as simple as changing the formatting of the field to increase the 'Decimals' property to 1.00 and the rounding to 0.01.
    However when I save the changes are not reflected in my cross tab? It still shows them with 0dp? e.g. 60%
    Is it possible to get % values in a cross tab showing to 2dp? e.g. 59.82%
    Thanks

    Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with your directly
    Formatting is for viewing only. Using formulae to manually round the values.

  • 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

  • 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.

  • Sub-Summarizing columns in Cross Tab

    Post Author: valkyriexp
    CA Forum: General
    Hi,
    I'm fairly new in using CR, I wonder if anyone could help me.
    I have a cross tab report of projects in rows, activities in columns and hours in table, i need to insert  few new columns that have the sum of hours of the selected activities. Is that possible without breaking the report into sub-reports?
    some thing like
                      Act1         Act2      Sum1&2     Act3      Act4      Act5      Sum3&4&5   .....
    Proj1             1             1              2              4            2           1              7
    Proj2             2             1             3               1            0           0              1
    thanks for the help

    Post Author: valkyriexp
    CA Forum: General
    After spending half a day i was able add a new field to each column to does the job, small piece of macro is doing the summation, now i have the problem to set the width of empty fields to zero, can anyone help?
    WhileReadingRecords;global NumberVar sumnum;global StringVar OutStr;
    if {jobs.acts}="Act1" or {jobs.acts}="Act3" then     sumnum:={jobs.hour}else if {jobs.acts}="Act2" or {jobs.acts}="Act4" or {jobs.acts}="Act5" or ... then    sumnum:=sumnum+{jobs.hour}else    sumnum:=0;
    if {jobs.acts}="Act2" or {jobs.acts}="Act5" then    OutStr:=cstr(sumnum);else    OutStr:="";
    the result would be like the following table, now i need to set the width of empty fields to zero:
                      Act1         Act2             Act3      Act4      Act5        .....
    Proj1             1            1      2           4            2          1     7    
    Proj2             2            1      3           1            0          0     1    

  • Show percentage  based on summary values in cross-tab

    I am using Crystal XI. I have a cross-tab that has actual hours and standard hours as the summary fields. The column is operation and the row is clock#. I need an additional column that shows an efficiency percent. It would be the sum of standard hours divided by the sum of actual hours times 100.  Is there a way to do this? I tried inserting a formula while in cross-tab expert but it does not seem to have the summary fields available to choose.

    I will check out the example suggested.

  • Transforming xml data to cross tab in rtf template

    Hi everyone,
    Here is my requirement, I need the following output
    -------------------------------------------Date
    Territory-------District------Office---1/3/2011----1/10/2011---1/17/2011------Grand Total(Header row)
    Central ----------Chicago---Buffalo-- 100.0---------99.0-----------100.0-------------299.0
    ----------------------------------arora-----100.0---------100.0----------100.0-------------300.0
    -------------------chicago total---------200.0----------199.0----------200.0-------------599.0
    --------------------Dallas------arlington-100.0----------99.0-----------100.0-------------299.0
    ---------------------------------irving------100.0----------100.0----------100.0-------------300.0
    -------------------Dallas total-------------200.0----------199.0----------200.0-------------599.0
    Teritory total----------------------------400.0-----------398.0---------400.0--------------1198.0
    the values under dates are the sum of Item_Count field for each office for that date
    and below is my xml
    <ROWSET>
    <ROW>
    <ITEM_COUNT>50</ITEM_COUNT>
    <DATE>01/03/2011</DATE>
    <TERRITORY>CENTRAL</TERRITORY>
    <DISTRICT_NAME>Chicago</DISTRICT_NAME>
    <OFFICE_NAME>Buffalo</OFFICE_NAME>
    </ROW>
    <ROW>
    <ITEM_COUNT>50</ITEM_COUNT>
    <DATE>01/03/2011</DATE>
    <TERRITORY>CENTRAL</TERRITORY>
    <DISTRICT_NAME>Chicago</DISTRICT_NAME>
    <OFFICE_NAME>Buffalo</OFFICE_NAME>
    </ROW>
    <ROW>
    <ITEM_COUNT>50</ITEM_COUNT>
    <DATE>01/10/2011</DATE>
    <TERRITORY>CENTRAL</TERRITORY>
    <DISTRICT_NAME>Chicago</DISTRICT_NAME>
    <OFFICE_NAME>Buffalo</OFFICE_NAME>
    </ROW>
    <ROW>
    <ITEM_COUNT>49</ITEM_COUNT>
    <DATE>01/10/2011</DATE>
    <TERRITORY>CENTRAL</TERRITORY>
    <DISTRICT_NAME>Chicago</DISTRICT_NAME>
    <OFFICE_NAME>Buffalo</OFFICE_NAME>
    </ROW>
    <ROW>
    <ITEM_COUNT>50</ITEM_COUNT>
    <DATE>01/17/2011</DATE>
    <TERRITORY>CENTRAL</TERRITORY>
    <DISTRICT_NAME>Chicago</DISTRICT_NAME>
    <OFFICE_NAME>arora</OFFICE_NAME>
    </ROW>
    <ROW>
    <ITEM_COUNT>50</ITEM_COUNT>
    <DATE>01/17/2011</DATE>
    <TERRITORY>CENTRAL</TERRITORY>
    <DISTRICT_NAME>Chicago</DISTRICT_NAME>
    <OFFICE_NAME>arora</OFFICE_NAME>
    </ROW>
    <ROW>
    <ITEM_COUNT>50</ITEM_COUNT>
    <DATE>01/03/2011</DATE>
    <TERRITORY>CENTRAL</TERRITORY>
    <DISTRICT_NAME>Chicago</DISTRICT_NAME>
    <OFFICE_NAME>arora</OFFICE_NAME>
    </ROW>
    <ROW>
    <ITEM_COUNT>50</ITEM_COUNT>
    <DATE>01/03/2011</DATE>
    <TERRITORY>CENTRAL</TERRITORY>
    <DISTRICT_NAME>Chicago</DISTRICT_NAME>
    <OFFICE_NAME>arora</OFFICE_NAME>
    </ROW>
    <ROW>
    <ITEM_COUNT>50</ITEM_COUNT>
    <DATE>01/10/2011</DATE>
    <TERRITORY>CENTRAL</TERRITORY>
    <DISTRICT_NAME>Chicago</DISTRICT_NAME>
    <OFFICE_NAME>arora</OFFICE_NAME>
    </ROW>
    <ROW>
    <ITEM_COUNT>49</ITEM_COUNT>
    <DATE>01/10/2011</DATE>
    <TERRITORY>CENTRAL</TERRITORY>
    <DISTRICT_NAME>Chicago</DISTRICT_NAME>
    <OFFICE_NAME>arora</OFFICE_NAME>
    </ROW>
    <ROW>
    <ITEM_COUNT>50</ITEM_COUNT>
    <DATE>01/17/2011</DATE>
    <TERRITORY>CENTRAL</TERRITORY>
    <DISTRICT_NAME>Chicago</DISTRICT_NAME>
    <OFFICE_NAME>arora</OFFICE_NAME>
    </ROW>
    <ROW>
    <ITEM_COUNT>50</ITEM_COUNT>
    <DATE>01/17/2011</DATE>
    <TERRITORY>CENTRAL</TERRITORY>
    <DISTRICT_NAME>Chicago</DISTRICT_NAME>
    <OFFICE_NAME>arora</OFFICE_NAME>
    </ROW>
    <ROW>
    <ITEM_COUNT>50</ITEM_COUNT>
    <DATE>01/03/2011</DATE>
    <TERRITORY>CENTRAL</TERRITORY>
    <DISTRICT_NAME>Dallas</DISTRICT_NAME>
    <OFFICE_NAME>arlington</OFFICE_NAME>
    </ROW>
    <ROW>
    <ITEM_COUNT>50</ITEM_COUNT>
    <DATE>01/03/2011</DATE>
    <TERRITORY>CENTRAL</TERRITORY>
    <DISTRICT_NAME>Dallas</DISTRICT_NAME>
    <OFFICE_NAME>arlington</OFFICE_NAME>
    </ROW>
    <ROW>
    <ITEM_COUNT>50</ITEM_COUNT>
    <DATE>01/10/2011</DATE>
    <TERRITORY>CENTRAL</TERRITORY>
    <DISTRICT_NAME>Dallas</DISTRICT_NAME>
    <OFFICE_NAME>arlington</OFFICE_NAME>
    </ROW>
    <ROW>
    <ITEM_COUNT>49</ITEM_COUNT>
    <DATE>01/10/2011</DATE>
    <TERRITORY>CENTRAL</TERRITORY>
    <DISTRICT_NAME>Dallas</DISTRICT_NAME>
    <OFFICE_NAME>arlington</OFFICE_NAME>
    </ROW>
    <ROW>
    <ITEM_COUNT>50</ITEM_COUNT>
    <DATE>01/17/2011</DATE>
    <TERRITORY>CENTRAL</TERRITORY>
    <DISTRICT_NAME>Dallas</DISTRICT_NAME>
    <OFFICE_NAME>arlington</OFFICE_NAME>
    </ROW>
    <ROW>
    <ITEM_COUNT>50</ITEM_COUNT>
    <DATE>01/17/2011</DATE>
    <TERRITORY>CENTRAL</TERRITORY>
    <DISTRICT_NAME>Dallas</DISTRICT_NAME>
    <OFFICE_NAME>arlington</OFFICE_NAME>
    </ROW>
    <ITEM_COUNT>50</ITEM_COUNT>
    <DATE>01/03/2011</DATE>
    <TERRITORY>CENTRAL</TERRITORY>
    <DISTRICT_NAME>Dallas</DISTRICT_NAME>
    <OFFICE_NAME>irving</OFFICE_NAME>
    </ROW>
    <ROW>
    <ITEM_COUNT>50</ITEM_COUNT>
    <DATE>01/03/2011</DATE>
    <TERRITORY>CENTRAL</TERRITORY>
    <DISTRICT_NAME>Dallas</DISTRICT_NAME>
    <OFFICE_NAME>irving</OFFICE_NAME>
    </ROW>
    <ROW>
    <ITEM_COUNT>50</ITEM_COUNT>
    <DATE>01/10/2011</DATE>
    <TERRITORY>CENTRAL</TERRITORY>
    <DISTRICT_NAME>Dallas</DISTRICT_NAME>
    <OFFICE_NAME>irving</OFFICE_NAME>
    </ROW>
    <ROW>
    <ITEM_COUNT>49</ITEM_COUNT>
    <DATE>01/10/2011</DATE>
    <TERRITORY>CENTRAL</TERRITORY>
    <DISTRICT_NAME>Dallas</DISTRICT_NAME>
    <OFFICE_NAME>irving</OFFICE_NAME>
    </ROW>
    <ROW>
    <ITEM_COUNT>50</ITEM_COUNT>
    <DATE>01/17/2011</DATE>
    <TERRITORY>CENTRAL</TERRITORY>
    <DISTRICT_NAME>Dallas</DISTRICT_NAME>
    <OFFICE_NAME>irving</OFFICE_NAME>
    </ROW>
    <ROW>
    <ITEM_COUNT>50</ITEM_COUNT>
    <DATE>01/17/2011</DATE>
    <TERRITORY>CENTRAL</TERRITORY>
    <DISTRICT_NAME>Dallas</DISTRICT_NAME>
    <OFFICE_NAME>irving</OFFICE_NAME>
    </ROW>
    </ROWSET>
    Greatly apprciate any help
    Thanks in Advance

    Have you tried creating a Pivot Table and tweaking the table to get the desired output?
    I can send you the RTF if you provide me an email address or send me an email at [email protected]
    Thanks!
    I have sent you the template based on your email. Take a look.
    Edited by: BIPuser on Jan 21, 2011 1:52 PM

  • Date Formatting in Charts and Dynamic column resizing in Cross tabs

    Hi All,
    I am new to Design Studio, so am in desperate need of your help on the following:
    Is there a way we can change the date format in x axis in charts?
    For ex: Am getting dates as mm/yyyyy from BW but requirement is to show in yy-Mon
    Requirement is to display data in cross tab just below the charts. How can I make the column widths in the cross tab the same as x-axis divisions in the chart? Also, this will be dynamic as depending on filter selection x axis scaling in charts will vary.
    In cross tab, can I hide the column header?
    Would really appreciate any kind of help from you.
    Thanks & Regards
    Swasti

    HI Swasti,
    To answer your first question, in Design Studio it's what you see is what you get! so it shows the Data Labels as it is in the BEx output, if you have to modify this you have to change it in the Background.
    There might be CSS workarounds, but I am not sure if that will satisfy your requirements.
    You can fix the Column width, but it would be constant, aligning that to your X-axis would require a lot of Effort.
    You cannot hide the Column header directly, but one workaround would be to use a white BG text component to overlay on the Crosstab.
    Regards,
    Fazith Ali Z

  • How to count number of columns in cross-tab report

    I have created a cross-tab report and have managed to get the data out as below:
                 Jan     Feb     Mar....(display of months will auto expand) Avg/Mo  Total
    UserA     4          3        4                                                                         11
    UserB     6          1        1                                                                          8
    UserC     5          5        5                                                                         15
    Total       15        9        10                                                                        33 
    I want to insert a calculated column (Avg/Mo) into the cross-tab report based on the formula: Total/Number of Months. I used this calculation formula  for Avg.Mo column:
    (GridValueAt(CurrentRowIndex, CurrentColumnIndex+1, CurrentSummaryIndex)/GetNumColumns)
    However, I get the wrong average since GetNumColumns count the total number of columns including the column of Avg/Mo and Total.
    How do i get the number of columns, excluding the Avg/Mo calculated column and Total column?
    PS: I can't use hardcode since the number of months/columns will auto expand the months progress...
    Edited by: jutamind on May 26, 2010 9:27 AM

    ok managed to solve this by slightly changing the formula:
    GridValueAt(CurrentRowIndex, CurrentColumnIndex+1, CurrentSummaryIndex)/(GetNumColumns-2)

Maybe you are looking for

  • Should I use Standard C++ Containers and Stuff for games and other real time activities?

    Hello, I'm a C++ developer using VS 2012 and VS 2010 for developing AAA titles. I have read about not using STL and other stuff provided in the standard headers that come with VS. I read most of the stuff on the websites based on game programming and

  • Can't connect to internet after software update to iBook G4

    I recently installed updates to itunes, quicktime, and the the latest security update for os x 10.3.9 on my iBook G4. Now I can't connect to the internet via my airport express. This happened the last time I updated the software, but I can't remember

  • WPA2 Enterprise and RADIUS

    I configured my Aironet 1262N autonomous AP to authenticate and account my users against a FreeRADIUS server. In the RADIUS server database, I saw some records like: select username, acctauthentic, acctterminatecause, acctstarttime, acctstoptime from

  • Quality Inspection not cominf for a material code

    Hi!               For a  particular material code,already there a quality view in material master.but it is not coming  for inspection in QA32.what i have to proceed further for bringing the material for quality inspection? -M.Suba

  • Error in installing theme

    Hi every body when i install a theme such as piZero i receive this error: Expired Certificate. what is problem and how can solve it?