Crosstab data

Hi
Application details:
CrystalReport version is 9.1.5000.0
web application
Crosstab report has pointdescription,associatedarea as rows
                              projectid as column and
                              pointvalue as summazied field.
  Record selectionformula is pointvalue <'4'.
so o/p report is                     prjid1      prjid2
desc1  associatedarea1          1
i am getting 1 if the pointvalue <4, but in place 1 i want to show red * mark.
Thank you

Right clink on the field in Crysta report design view and right a formula
like
if {table.field} = 1 then
by clink on the Display String from the dialog.
--Kuldeep

Similar Messages

  • Can't show data labels in pie graphs as decimal number if the crosstab data

    I want to show my data labels in diagrams, as percent values, with three decimals.
    It occurs (in version Oracle Business Intelligence Discoverer Plus 10g (10.1.2.55.26)) it is only possible if the data format of the crosstab data also shows data with decimals. If the data are in integer format, the graphs data labels can only be shown in integer as well.
    Does anyone know how to fix the problem?
    In version Oracle Business Intelligence Discoverer Plus 10g (10.1.2.48.18) we can have a crosstab showing integers and a pie graph showing labels of pie slices where the labels are in percent with three decimals. It seems it does not work in the newer version Oracle Business Intelligence Discoverer Plus 10g (10.1.2.55.26)
    Thanks in advance

    It seems I have another similar problem in version Oracle Business Intelligence Discoverer Plus 10g (10.1.2.55.26):
    I have a Bar (Percent) graph based on a crosstab where the data is formatted as number with two decimals.
    The labels in the graph shows as number (0,76 instead of 76% and 0,13 instead of 13%). I want them to be shown in percent format.
    The Data Label format is set to “Number” with two decimals. I can change the Data Labels to Percent with two decimals and then it shows the data labels in the graph exactly as I want it. But after I have saved the workbook and then opened it again the changes has been “revoked” and is once again set to number with two decimals instead of percent.
    thanks (again) in advance

  • Supress Crosstab Data

    Hi
    I'm having trouble suppressing some crosstab data. 
    I have a parameter set up and have formated the crosstab to suppress if a key value is different from the parameter entered when the report is refreshed.  It doesn't work.
    I've tried suppressing the Report Header where the crosstab is as well without luck. 
    So how do you supress some of the data in a crosstab based on a parameter?
    Many thanks
    Charles

    Hi
    Thanks, I think that's got me closer to what I need. 
    However when I add this expression to the whole crosstab I get a 'Not Supported' error message, so it looks like I'll have to add this to each column of my crosstab to hide the items I do not want.
    Ok done this, and I now correctly only see the data I want, but I get lots of blank rows where the data is suppressed, I have Suppress Empty Rows checked but it is not working, so how do I hide these extra rows?
    Many thanks
    Cheers
    Charles
    Edited by: Charles Davies on Sep 29, 2009 12:53 PM

  • Crystal 8.5, crosstab date columns

    I need to set up a report that will print columns for each year.  I am able to do this without problem for calendar year but the client has indicated they wish to run it on fiscal year or calendar year and based on any year-end date.  So for the simple example of a fiscal year ending Sep 30 of each year:
    They wish to run the report based on a parameter selection and if they select calendar year, no problem.  However, if they select the fiscal year option then each column's data should be based on dates for each year starting Oct 1 of one year and ending Sep 30 of the next year eg. Oct 1, 2006 ending Sep 30, 2007 for one column, Oct 1, 2007 ending Sep 30, 2008 for the next and Oct 1, 2008 ending Sep 30, 2009 for the last if there is three year's data in the database.
    I have not asked the question because I am afraid of the answer but I am sure they will ask for each of the last 12 months ending "enter a date here" which could be May 31.  So then the report would have to pull Jun1 of one year to May 30 of the next year and put everything into columns.
    I think a crosstab is best here but I may have to group by category and manually calculate totals based on standard set of years and put the totals in the group footer.  However, I don't think I should have to do this if a crosstab can do the work.
    I am just not sure how to approach this one so any ideas are appreciated.  TIA rasinc

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

  • Crosstab data disappearing

    Post Author: coolhotrod
    CA Forum: General
    I'm looking for help on a cross-tab report in an asp.net 2.0 web app. The report has 17 rows grouped into 5 categories, and 7 columns in 4 categories. The data (and also the whole cell) is not showing when the data is zero for only one of the rows, all of the other rows show the zero fine. There is nothing wrong with the groupings, they all match, and I can see no reason why these columns won't show. Another thing (I'm not sure if this matters or not) is, the group this row is in has only the one member.
    Please help, I'm tearing my hair out with this.
    Thanx

    It's kind of hard to visualize the report and the issue, but one thing that came to mind is if any of the rows contain null data?
    I don't know if the reason is because of null data but it's a shot.  To address this, I would create a formula that checks the field to see if it's null (first condition in the formula) and if it is, return some default value.  Then use the formula field in the crosstab to see if the issue goes away.
    If all else fails, try using BOBJ support as it may be important to actually see the report with data to help troubleshoot the issue.

  • Crosstab - Data point (aggr & non-aggr items) problem

    Dear Gurus,
    I need your experice on this plz !! ( I am new to Discoverer)
    I need to create one crosstab report which should display on the left side: (country) , on the Topside: (Operator)
    And on the Data point: Rate_per_Min, (Sum (Duration_Min)),(Sum(Cost)).
    now the problem that the crosstab is by default do the sum of (Rate_per_Min), but I dont want to get the sum,,, I want it to display rate_per_Min normally without doing the Summation. and if the is more than one rate it should present that in different row with respect to the same Country (leftside)
    Can Any one Advice plz...
    thanks in advance..
    Neo

    Hi Neo,
    Have you tried this?
    Top Row: Datapoints ONLY
    Left Columns: Country, Operator -- It's generally a bad idea to have many columns going to the right. It makes the data unreadable from a user perspective and causes too many columns to be displayed which will probably degrade performance at some point. This is why I suggest putting Operator here instead of in the Top Row. I am guessing Operator may refer to people which can grow to be many different people. As far as the calculations suggested below, they should work whether operator is at the top or the left.
    Datapoints might be calculated as follows:
    Duration_CALC = SUM(Duration)
    Cost_CALC =SUM(Rate_Per_Min times Duration_CALC)
    Rate_Per_Min_CHAR = TO_CHAR(Rate_Per_Min) == This forces a character to display in the datapoint area but still looks like a number but isn't treated as a number. That is, SUM should be ignored and individual rows should be displayed. I think this will allow multiple rows to appear on the report and the two CALC SUMs to calculate per each row shown. This might confuse users though, because this will look like a number column when it isn't.
    As I stated before, there are probably many ways to handle this. This is just another possibility.
    To your point on aggregation, yes,that's a tricky subject in Discoverer. There have been many posts that have addressed this issue but I didn't look them up for you. This is also covered fairly well in the user guide - see this site: http://www.oracle.com/technology/documentation/discoverer.html . Metalink should return some hits as well.
    You sounded anxious in your first post. I hope this is moving you towards a solution.
    Regards,
    Nancy

  • Crosstab Data Loss

    Hello All
    I need help with  a Crystal Reports 2008 crosstab linked to BW. The problem is as follows:
    When reporting data on two Hierarchies within a Cross Tab I get correct result as follows:
    _______________Region 1  Region 2 Region 3 Region 4
    Article Group 1.....       100......         2000.....       300.......        400
    Article Group 2.....       6000.....       200.....        3000.......       500
    When adding a third Hierarchy to the cross tab I lose data for Region 3 and 4.
    __________________________Region 1  Region 2
    Article Group 1   Department1.....     50.....         1000       
    .................            ..         .       Department2.....     50.....         1000
    Article Group 2   Department3.....   3000.....        100       
        .................... ..                       Department4.....   3000.....        100
    Please note that Regions, Article Group  are grouped by specified order.
    This seems like I have hit a data limit on which the Cross Tab can report upon. Can anyone suggest how I could fix this ?
    Thanks
    Phillip
    Edited by: Phillip L on Jan 6, 2011 12:12 PM

    I have investigated this problem further and seem to have some strange behaviour within Crystal Reports When combining Hierarchy and Key Figures
    When Running SQL to display the 3 Hierarchy elements of my report using the below SQL
    SELECT  NON EMPTY CROSSJOIN([PGORU                         CC00_ORU_INTERNAL             C00].MEMBERS, CROSSJOIN([PMAG                          Z_PMAG_HIERARCHY].MEMBERS, [NMATERIAL__PBS].[LEVEL01].MEMBERS)) DIMENSION PROPERTIES [NMATERIAL__PBS].[2NMATERIAL__PBS], [PMAG                          Z_PMAG_HIERARCHY].[2PMAG], [PGORU                         CC00_ORU_INTERNAL             C00].[2PGORU] ON ROWS FROM [NTMIPVIPP/NFR_NTMIPVIPP_SCCKFO_001] SAP VARIABLES [REP_CURR] INCLUDING [0CURRENCY].[EUR], [PRI] INCLUDING [0FISCPER].[PH2009012]
    I get a nicely formated report
    Region........     Article Group Node ID........     Department Node ID
    I_WORL..............CCMAG.........................................     6906
    When adding Key Figure Measures using SQL
    SELECT {[Measures].[38Q6G91JCCLI0HZVI2KSXRJ57], [Measures].[3AUWLL04PQC65O6FPQABS36AZ], [Measures].[3RWPS8OVOS9JB1MXEZYIIOBL7], [Measures].[3U1FXKNH2607G7THMNO1CZYQZ], [Measures].[4JM5PK6LIQW96A086K6BGVOOB]} ON COLUMNS,  NON EMPTY CROSSJOIN([PGORU                         CC00_ORU_INTERNAL             C00].MEMBERS, CROSSJOIN([PMAG                          Z_PMAG_HIERARCHY].MEMBERS, [NMATERIAL__PBS].[LEVEL01].MEMBERS)) DIMENSION PROPERTIES [NMATERIAL__PBS].[2NMATERIAL__PBS], [PMAG                          Z_PMAG_HIERARCHY].[2PMAG], [PGORU                         CC00_ORU_INTERNAL             C00].[2PGORU] ON ROWS FROM [NTMIPVIPP/NFR_NTMIPVIPP_SCCKFO_001] SAP VARIABLES [REP_CURR] INCLUDING [0CURRENCY].[EUR], [PRI] INCLUDING [0FISCPER].[PH2009012]
    After 300 pages of nicely formatted data the format changes and dat is no longer in allignment with heading.
    Region is populated with EURO
    Article Group is polutated with Euro
    Department Node if populated with Region
    Seems like a bug to me. Any ideas or should I just raise an OSS?
    Thanks
    Phillip

  • Blank columns in crosstab data

    Hello!
    I have a crosstab report that I use that shows revenue forecast by month. The months are across the top of the crosstab. My problem is that if there is no revenue forecast for a particular month, the column does not show up. So I may have columns for Jan, Feb and March and then the next column is May (skipping April). How can I make sure all columns show up even if there is no revenue?
    Thank you!
    Megan

    Hi,
    You will have to outer join a folder or table into your report that defines all the months that you wish to include in the report. Otherwise the report will not know about the missing months. For example, define a folder that always returns the previous 6 months, then outer join this folder to the folder used in your report using the month as the join column. Then take the month column used in your report from the new folder.
    Hope that is clear.
    Rod West

  • Data missing in Crosstab report with calculated field via case when

    I use the Oracle 10g discoverer. When I create a crosstab report with a calculate field via function case when and put it as datapoint, some of the data is not showing. I tried to not use the case when function for the calculate field, then all the data show.
    I really do not the reason. Could anybody help me out with many thanks?

    Let me explain more.
    I have the original data below.
    Work order, Team, Hours_worked, date
    800001, S1, 5, 2012/01/01
    800001, S1, 15, 2012/01/10
    800001, S2, 4, 2012/01/04
    800002, S1, 3, 2012/01/15
    There are multipul records for the same work order, team on the same day or different.
    Finally I want to set the start date and end date as the parameter to create a crosstab report format like
    start date>=2012/01/01 and close date<=2012/01/05
    Team
    Total hours total hours within the range
    Work order S1 S2 ... S1 S2 ...
    800001 20 4 5 4
    800002 3 0 0 0
    in order to do it, I create two parameters independently start date and close date. Then I create a calculate field hours_worked_withinrange via
    Case when date>=:start date and date<=:end date then Hours_worked else 0 end
    This calculated field is correct in the tabular format report in discoverer desktop. But when I duplicate the list as crosstab. Some data is missing in crosstab data point.
    I checked once I change the calculate field defination not use case when. (For example, C1=hours_worked*2). Then everything runs correct.

  • Best Practice for Significant Amounts of Data

    This is basically a best-practice/concept question and it spans both Xcelsius & Excel functions:
    I am working on a dashboard for the US Military to report on some basic financial transactions that happen on bases around the globe.  These transactions fall into four categories, so my aggregation is as follows:
    Year,Month,Country,Base,Category (data is Transaction Count and Total Amount)
    This is a rather high level of aggregation, and it takes about 20 million transactions and aggregates them into about 6000 rows of data for a two year period.
    I would like to allow the users to select a Category and a country and see a chart which summarizes transactions for that country ( X-axis for Month, Y-axis Transaction Count or Amount ).  I would like each series on this chart to represent a Base.
    My problem is that 6000 rows still appears to be too many rows for an Xcelsius dashboard to handle.  I have followed the Concatenated Key approach and used SUMIF to populate a matrix with the data for use in the Chart.  This matrix would have Bases for row headings (only those within the selected country) and the Column Headings would be Month.  The data would be COUNT. (I also need the same matrix with Dollar Amounts as the data). 
    In Excel this matrix works fine and seems to be very fast.  The problem is with Xcelsius.  I have imported the Spreadsheet, but have NOT even created the chart yet and Xcelsius is CHOKING (and crashing).  I changed Max Rows to 7000 to accommodate the data.  I placed a simple combo box and a grid on the Canvas u2013 BUT NO CHART yet u2013 and the dashboard takes forever to generate and is REALLY slow to react to a simple change in the Combo Box.
    So, I guess this brings up a few questions:
    1)     Am I doing something wrong and did I miss something that would prevent this problem?
    2)     If this is standard Xcelsius behavior, what are the Best Practices to solve the problem?
    a.     Do I have to create 50 different Data Ranges in order to improve performance (i.e. Each Country-Category would have a separate range)?
    b.     Would it even work if it had that many data ranges in it?
    c.     Do you aggregate it as a crosstab (Months as Column headings) and insert that crosstabbed data into Excel.
    d.     Other ideas  that Iu2019m missing?
    FYI:  These dashboards will be exported to PDF and distributed.  They will not be connected to a server or data source.
    Any thoughts or guidance would be appreciated.
    Thanks,
    David

    Hi David,
    I would leave your query
    "Am I doing something wrong and did I miss something that would prevent this problem?"
    to the experts/ gurus out here on this forum.
    From my end, you can follow
    TOP 10 EXCEL TIPS FOR SUCCESS
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/204c3259-edb2-2b10-4a84-a754c9e1aea8
    Please follow the Xcelsius Best Practices at
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a084a11c-6564-2b10-79ac-cc1eb3f017ac
    In order to reduce the size of xlf and swf files follow
    http://myxcelsius.com/2009/03/18/reduce-the-size-of-your-xlf-and-swf-files/
    Hope this helps to certain extent.
    Regards
    Nikhil

  • How to create a drill down in crosstab?

    Hi All,
      I have created a crosstab in CRXI repoprt. Now I'm trying to create a drill down in it. The crosstab is very simple.
    Data in table is as:
    SUBJECT   DATE    YIELD PCT
    Browser   04/11    78.90
    Radio     04/13    90.00
    HTTP      04/22    89.09
    Browser   04/15    90.09
    HTTP      04/15    100.00
    Radio     04/15    100.00
    CROSSTAB Data:
                    Browser   HTTP     Radio
    04/11           78.90      0        0
    04/13            0         0        90.00
    04/15           90.09     100.00    100.00
    04/22            0         89.09     0
    Columns are "SUBJECT" and Rows are "DATE" and I have taken "Max of Yield PCT" as Summation field.
    Now If I click on Yeild_PCT data in crosstab, it should drill down. I have created a drill down as Another report. I have tried FormatObject>Hyperlink>"Another Report Object". Copied the yield_PCT column from source report & pasted in "Another Report Object" but it is not working.
    Really appreciate any help.
    Thanks in Advance.

    if you're trying to use drill-down in cross-tabs with report parts you need syntax that is specific to a cross-tab. please look up Report Parts in your Online Help, Index and then go to the Context Scenarios section.
    Cross-tabs
    If the object you copy in your source report is part of a cross-tab, the Context Report Part data context is based on the selected object embedded in the cross-tab. Crystal Reports creates the data context by tracking if the selected object in the cross-tab is a row, column, or cell. Next, the program retrieves row and column names. Then it parses the Design view data context. Finally, it generates the Context Report Part data context by adding the GridRowColumnValue function if the group in the data context formula appears in the row or column names retrieved earlier. You might see, for example, a data context such as:
    "/"GridRowColumnValue("Customer.Country")"/"+GridRowColumnValue("Customer.Region")

  • Ranking in crosstab but for one coloumn

    could you please help me on this?
    my month dimensions are on the top of my Crssstab chart, my product dimesions are on the left of my crosstab chart. there are sales revenue measures inside of the my crosstab chart. whenever I try to ascend my crosstab datas, it average all the months and put it in order. I dont want it to do that. what I want is this, It has to pick the last month and put it in order and it also has to pick the other months and put it in order based on the last month.

    Hello,
    Ranking has to be on a measure. So you could make a variable as a measure of the Date field, and then place that as the top header of the crosstab and do a top 5 or however many you need descending ranking of that object.
    Does that make sense?

  • Crosstab repeating group

    Hi all...
    My data is not properly arranged inside the crosstab..I'm using for-each-group above the crosstab..so for the loops inside the crosstab I'm using as current-group...Here is my template structure
    <?for-each-group:GROUP;NAME?>
    <?NAME?>
    inside crosstab
    (1,1)<?horizontal-break-table:1?>
    (1,2)<?for-each-group@column:current-group();./FROM_DATE?><?FROM_DATE?><?end for-each-group?>
    (2,1)<?for-each-group:current-group();./DATE?><?variable@incontext:G1;current-group()?><?DATE?>
    (2,2)<?for-each-group@cell://GROUP;./FROM_DATE?><?($G1[(./FROM_DATE=current()/FROM_DATE)]/VALUE)?><?end for-each-group?><?end for-each-group?>
    outside the crosstab...
    <?end for-each-group?>The 2X2 of the crosstab data doesn't display properly....if I replace GROUP with current-group() in 2X2 then also the data is not showing up properly(In this case for jun-2007 the cell should be empty..the values are moving to the left)
    Here is my sample XML..
    <LIST_GROUP>
    <GROUP>
    <NAME>Product1</NAME>
    <DATE>2007</DATE>
    <FROM_DATE>Jun</FROM_DATE>
    <VALUE>.01223</VALUE>
    </GROUP>
    <GROUP>
    <NAME>Product1</NAME>
    <DATE>2007</DATE>
    <FROM_DATE>Jul</FROM_DATE>
    <VALUE>.03</VALUE>
    </GROUP>
    <GROUP>
    <NAME>Product1</NAME>
    <DATE>2007</DATE>
    <FROM_DATE>Aug</FROM_DATE>
    <VALUE>.12181</VALUE>
    </GROUP>
    <GROUP>
    <NAME>Product1</NAME>
    <DATE>2007</DATE>
    <FROM_DATE>Sep</FROM_DATE>
    <VALUE>-.02168</VALUE>
    </GROUP>
    <GROUP>
    <NAME>Product1</NAME>
    <DATE>2007</DATE>
    <FROM_DATE>Oct</FROM_DATE>
    <VALUE>-.0041215</VALUE>
    </GROUP>
    <GROUP>
    <NAME>Product1</NAME>
    <DATE>2007</DATE>
    <FROM_DATE>Nov</FROM_DATE>
    <VALUE>-.001269</VALUE>
    </GROUP>
    <GROUP>
    <NAME>Product1</NAME>
    <DATE>2007</DATE>
    <FROM_DATE>Dec</FROM_DATE>
    <VALUE>.008112</VALUE>
    </GROUP>
    <GROUP>
    <NAME>Product1</NAME>
    <DATE>2007</DATE>
    <FROM_DATE>NET</FROM_DATE>
    <VALUE>0.16526</VALUE>
    </GROUP>
    <GROUP>
    <NAME>Product1</NAME>
    <DATE>2008</DATE>
    <FROM_DATE>Jul</FROM_DATE>
    <VALUE>.0023</VALUE>
    </GROUP>
    <GROUP>
    <NAME>Product1</NAME>
    <DATE>2008</DATE>
    <FROM_DATE>Aug</FROM_DATE>
    <VALUE>.0081</VALUE>
    </GROUP>
    <GROUP>
    <NAME>Product1</NAME>
    <DATE>2008</DATE>
    <FROM_DATE>Sep</FROM_DATE>
    <VALUE>-.0068</VALUE>
    </GROUP>
    <GROUP>
    <NAME>Product1</NAME>
    <DATE>2008</DATE>
    <FROM_DATE>Oct</FROM_DATE>
    <VALUE>-.0045</VALUE>
    </GROUP>
    <GROUP>
    <NAME>Product1</NAME>
    <DATE>2008</DATE>
    <FROM_DATE>Nov</FROM_DATE>
    <VALUE>-.0069</VALUE>
    </GROUP>
    <GROUP>
    <NAME>Product1</NAME>
    <DATE>2008</DATE>
    <FROM_DATE>Dec</FROM_DATE>
    <VALUE>.0082</VALUE>
    </GROUP>
    <GROUP>
    <NAME>Product1</NAME>
    <DATE>2008</DATE>
    <FROM_DATE>NET</FROM_DATE>
    <VALUE>5.8134</VALUE>
    </GROUP>
    <GROUP>
    <NAME>Product2</NAME>
    <DATE>2008</DATE>
    <FROM_DATE>Jul</FROM_DATE>
    <VALUE>.0021</VALUE>
    </GROUP>
    <GROUP>
    <NAME>Product2</NAME>
    <DATE>2008</DATE>
    <FROM_DATE>Aug</FROM_DATE>
    <VALUE>.0105</VALUE>
    </GROUP>
    <GROUP>
    <NAME>Product2</NAME>
    <DATE>2008</DATE>
    <FROM_DATE>Sep</FROM_DATE>
    <VALUE>-.011</VALUE>
    </GROUP>
    <GROUP>
    <NAME>Product2</NAME>
    <DATE>2008</DATE>
    <FROM_DATE>Oct</FROM_DATE>
    <VALUE>-.0064</VALUE>
    </GROUP>
    <GROUP>
    <NAME>Product2</NAME>
    <DATE>2008</DATE>
    <FROM_DATE>Nov</FROM_DATE>
    <VALUE>-.0077</VALUE>
    </GROUP>
    <GROUP>
    <NAME>Product2</NAME>
    <DATE>2008</DATE>
    <FROM_DATE>Dec</FROM_DATE>
    <VALUE>.0115</VALUE>
    </GROUP>
    <GROUP>
    <NAME>Product2</NAME>
    <DATE>2008</DATE>
    <FROM_DATE>NET</FROM_DATE>
    <VALUE>7.621116883267159045635106212873101891E-02</VALUE>
    </GROUP>
    <GROUP>
    <NAME>Product3</NAME>
    <DATE>2008</DATE>
    <FROM_DATE>Jul</FROM_DATE>
    <VALUE>0</VALUE>
    </GROUP>
    <GROUP>
    <NAME>Product3</NAME>
    <DATE>2008</DATE>
    <FROM_DATE>Aug</FROM_DATE>
    <VALUE>0</VALUE>
    </GROUP>
    <GROUP>
    <NAME>Product3</NAME>
    <DATE>2008</DATE>
    <FROM_DATE>Sep</FROM_DATE>
    <VALUE>-.0172</VALUE>
    </GROUP>
    <GROUP>
    <NAME>Product3</NAME>
    <DATE>2008</DATE>
    <FROM_DATE>Oct</FROM_DATE>
    <VALUE>-.0118</VALUE>
    </GROUP>
    <GROUP>
    <NAME>Product3</NAME>
    <DATE>2008</DATE>
    <FROM_DATE>Nov</FROM_DATE>
    <VALUE>-.0076</VALUE>
    </GROUP>
    <GROUP>
    <NAME>Product3</NAME>
    <DATE>2008</DATE>
    <FROM_DATE>Dec</FROM_DATE>
    <VALUE>.0113</VALUE>
    </GROUP>
    <GROUP>
    <NAME>Product3</NAME>
    <DATE>2008</DATE>
    <FROM_DATE>NET</FROM_DATE>
    <VALUE>-2.5286995958204800000000000000000000021E-02</VALUE>
    </GROUP>
    </LIST_GROUP>I came across a similar thread but was not solved...
    .rtf Crosstab inside repeating group
    The below link was helpful but here the author was using 2 differnt groups..and a variable was refered in the data column of the crosstab..but if I use the same variable in the data column of mine its erroring out saying incorrect path...
    http://winrichman.blogspot.com/2008/08/cross-tabs-problem-with-grouping-and.html
    Thanks in Advance...

    Use this and let me know :)
    <?for-each-group:GROUP;NAME?>
    <?NAME?>
    inside crosstab
    (1,1)<?horizontal-break-table:1?>
    (1,2)<?for-each-group@column:/LIST_GROUP/GROUP;./FROM_DATE?><?FROM_DATE?><?end for-each-group?>
    (2,1)<?for-each-group:current-group();./DATE?><?variable@incontext:G1;current-group()?><?DATE?>
    (2,2)<?for-each-group@cell://GROUP;./FROM_DATE?><?($G1[(./FROM_DATE=current()/FROM_DATE)]/VALUE)?><?end for-each-group?><?end for-each-group?>
    outside the crosstab...
    <?end for-each-group?>Updated section
    http://winrichman.blogspot.com/2009/03/crosstab-issue.html

  • CrossTab Questions

    I have a crosstab that looks something like this:
         Jan-08     Feb-08     Mar-08     Apr-08     May-08     Jun-08
    Jan-08     A     B     C     D     E     F
    Feb-08          G     H     I     J     K
    Mar-08               L     M     N     O
    Apr-08                    P     Q     R
    May-08                         S     T
    Jun-08                              U
    There are two things I need to be able to do with this crosstab.  First, I need to be able to paint the diagonals in different colors.  For example, AGLPSU needs to be red, BHMQT needs to be blue, CINR needs to be green, DJO needs to be orange, EK needs to be brown and F needs to be yellow.  There is no specific rule for these colors, just that each object within a diagonal needs to be the same color and each diagonal line needs to be a different color.  In otherwords, the highlighting of each object is based on location and not value.
    The second thing I need is to present a version of this crosstab as a % where AGLPSU are all 100%, B is the % if G, C and H are % of L, DIM are each the % of P, etc.
    I can't figure out how to do either of these, or if it is possible to do either of these.  If not, the client will be forced to export to Excel which frustrates the purpose of the report.
    Fuskie
    Who hopes someone has a positive answer...

    Brilliant.  I never would have thought of this.  I had to put the column total formula into the Horizontal Alignment format property condition since the client wanted column totals suppressed and I extended the color selection to 13 (they run the report for 13 months), but it looks great.  Now if only you could center a cross-tab horizontally on a page.
    Here is a better discription of the second question. Take the following crosstab data:
         Jan-08     Feb-08     Mar-08     Apr-08     May-08     Jun-08
    Jan-08     481     169     139     111     104     95
    Feb-08          506     207     155     131     121
    Mar-08               489     174     132     122
    Apr-08                    388     175     138
    May-08                         475     157
    Jun-08                              426
    I want the second crosstab to look like this:
         Jan-08     Feb-08     Mar-08     Apr-08     May-08     Jun-08
    Jan-08     100%     33%     28%     29%     22%     22%
    Feb-08          100%     42%     40%     28%     28%
    Mar-08               100%     45%     28%     29%
    Apr-08                    100%     37%     32%
    May-08                         100%     37%
    Jun-08                              100%
    For February 08, 33% is 169/506.  For March 08, 28% is 139/489 and 42% is 207/489, etc.  Hope this is more clear.
    Fuskie
    Who is learning to think outside the crosstab...

  • Crosstab not refreshing for dynamic publication using Crystal Enterprise

    We are using Edge 4.0, and are setting up a dynamic publication where we pass in an account number into a Crystal Enterprise report to filter each recipients document to their specific data.
    In the Header of the document, there is a crosstab report that summarizes some data.  When the publication is run, for example, for 2 accounts, the crosstab table contains the same data for both client accounts.  This happens even though the detail data within the lower section of the report contains the appropriately filtered account data.
    Initially I was thinking that it was picking up some cached data and using it to boost performance, but I have adjusted the locations I can find within the CMC for "Oldest On-Demand Data Given to Clients (seconds):" to 0.
    See the image below for the layout in Crystal - http://screencast.com/t/eyqJ08Tu7
    The account number in the header and the data in GroupHeader1 is filtered appropriately based on the dynamic recipient, but the crosstab data is pulled from another publication recipient.

    I was able to get this to work as desired.  In order for the crosstab report to contain data that matched the rest of the report, I had to set "Filters" options within the personalization section of the publication section.
    In Crystal Reports 2011, the parameters section, by itself, filtered the data correctly.
    This can be seen at the following URL:
    http://screencast.com/t/MS7HjFEUk

Maybe you are looking for