Suppress If Duplicated On Group Label

I'm using Crystal Reports 2008
I have a report that is to display just the totals (not the details) for each group.  To that end, I put the fields to be totaled in the detail line and used Insert Summary to create the total fields for each group (there are two groups).  I then hid the detail section, as well as the Group Footer sections (1 & 2).  Finally I dropped the group field names into the Group Header 2 line.  It works well, but I get the same Group 1 field repeated for each item in Group 2.  Sort of like this:
Group 1
Group 2
Total 1
Total 2
0008
Section A01
123
234
0008
Section A02
53
245
0008
Section A03
152
453
0010
Section A01
34
112
I'd like to have the 0008(number) label (in the example above) be suppressed if duplicated, sort of like this:
Group 1
Group 2
Total 1
Total 2
0008
Section A01
123
234
Section A02
53
245
Section A03
152
453
0010
Section A01
34
112
I tried the "Format Field" option and selecting "Suppress If Duplicated", but that did not seem to have an effect.
Thanks!
Matt

Sorry, change the code to:
WhilePrintingRecords;
numbervar array arr;
numbervar x;
if not({Group_Name} in arr) then
    x := x + 1;
    redim preserve arr[x];
    arr[x] := {Group_Name}
else
0;
-Abhilash

Similar Messages

  • Is there a way to allow text wrapping on the outside (parent) group label IN SSRS Bar chart?

    Hi,
    I am using SSRS 2012.  I have a series of charts that have multiple category groups.  When I preview the chart, everything looks great unless the category group label is too long.  In that case it just gets cut off.  I've tried allowing
    "wrapped text", changed interval values,font size for Y AXIS but that seems to only affect the inside (child) category group.  Is there a way to allow text wrapping on the outside (parent) group label?
    I am expecting AREA VIII  BUT it shows AR on y axis.
    I need to fix it asap.

    Hi Sukhjeet.BI,
    Actually, I can reproduced the issue in my local Reporting Services environment. If there are multiple category groups on the chart, the child category can be wrapped, but the parent category would be truncated. Based on my research, this behavior looks
    like by design. Usually, the best practice is to limiting label length and number of items, use a smaller size label font or enlarge the chart size to get the chart to display properly.
    If you have any concerns about this in Reporting Service, I would suggest you submitting a wish at
    https://connect.microsoft.com/SQLServer/Feedback.
    Connect site is a connection point between you and Microsoft, and ultimately the larger community. Your feedback enables Microsoft to make software and services the best that they can be, and you can learn about and contribute to exciting projects.
    Thank you for your understanding.
    Regards,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Alligning Group labels to center in Matrix with Group report

    Hi there!
    I am facing difficulty in alligning the group labels produced using matrix(cross tab) query in to center across direction. As it only stretches to first column of the underlying Matrix Across Column and Cell. Please help me in solving this prob.
    Thanks in advance.
    Imran

    For Simple HTML output, you can only get horizontal lines out of Reports. You will lose all vertical lines as well as other graphical objects (eg: polygons, polylines, etc.) This is because these objects are not supported natively within HTML.
    However, for HTMLCSS, you should be able to get a lot closer since rectangles are supported. Though again; polygons, polylines, etc. are not supported.
    Not sure what is happening to your text, possibly an issue with browser settings or you may need to reduce the font size in Reports to get what you want.
    As has already been suggested, for better WYSIWYG output for the web from Reports, PDF is the way to go.

  • Group suppression based on other group results

    How do I suppress an upper level Group based on, no results in its sub group level.
    Example:
    GroupA Part Id (suppress when groupB has no results)
       GroupB  Operation  (This group uses a suppression formula itself)
    Sound simple I know but I can't figure it out.
    Shirley

    I need to suppress at GroupB  do to a conflict in the selection formula overriding other formulas.
    I was able to bring the suppressed field up to that level and suppress based on that.
    Tx
    Shirley
    Edited by: Shirley Cunningham on Mar 3, 2010 4:40 PM

  • Hide group labels on a 3D_CUBE_GRAPH

    Is there a way to hide all of the group labels across one of the axis lines on a 3D_CUBE_GRAPH?
    I tried all of the following and only the values listed on the other axis disappear.
    set_custom_property('BeanArea',1,'SHOW_LABELS','x=false,y=false');
    set_custom_property('BeanArea',1,'SHOW_LABELS','x=false,y1=false');
    Thanks,
    michelle

    Michelle,
    call
    set_custom_property('BeanArea',1,'HIDE_AXIS','X');
    to hide the x-axis labels
    set_custom_property('BeanArea',1,'HIDE_AXIS','Y1');
    for the y-axis
    or
    set_custom_property('BeanArea',1,'HIDE_AXIS','XY1');
    to hide both
    Frank

  • Limit Group Labels

    Hi forum,
    i'm facing a problem with group labels in line charts.
    I group values by a timestamp (one timestamp for every 10 minutes).
    If i want to see values for a larger interval, for example 3-4 days, group labels overlap themselves as you can see in the picture which is linked below.
    http://img6.imageshack.us/img6/8589/peaks.jpg
    Now my question is if there is a possibility to limit those group labels.
    For example that only every 6th, 12th group label is shown on the vertical axis
    This way it would have a way better clearness when looking at the dashboard.
    thx in advance
    alex~
    Edited by: user12338029 on 11.12.2009 01:42

    Making selectively skip the groups may not be a good idea as it might lead to misinformation on the chart. Anyway, this option is not available in BAM.
    To reduce the number of groups for your case, you can use continuous time series. In the vieweditor, in the step where you choose "Group by" field, clicking on field will open a time series UI on the right side. By default, Continuous time series is ON, you can just increase the default quantity from 1 to say 30. This will group the data of 30 minutes together, there by leaving very few groups in your chart.
    Thanks,
    Vishal
    BAM Dev

  • AdvancedDataGrid.styleFunction not applies for hierarchical group label

    Hi
    I have hierarchical data in advanced data grid.
    I am using AdvancedDataGrid.styleFunction to set font style to the rows.
    The style is getting applied only to the child rows.
    Its not getting applied to group label.
    Please help me to style group labels.
    Thanks
    Niyazar. 

    AdvancedDataGrid.styleFunction itself working for group label also.
    Problem was with my if conditions inside the styleFunction.
    Thanks Sathyamoorthi. But I didnt tried rendererProvider.

  • How to suppress page header when group footer prints

    I would like to suppress the page header on my report when a group footer prints.  My group footer is going to be a bunch of legal mumbo jumbo and I'm going to have it do a page break before so it prints on it's own page.  I do not want my page header info printing on this page.
    Is there a way to do this?  I am on Crystal XI.  Thank you in advance.

    I haven't tested this, but...
    Formula @InGroupHeader:
    WhilePrintingRecords;
    BooleanVar InGroupFooter;
    InGroupFooter = False;
    Formula @InGroupFooter:
    WhilePrintingRecords;
    BooleanVar InGroupFooter;
    InGroupFooter = True;
    PageHeader.Suppress:
    WhilePrintingRecords;
    BooleanVar InGroupFooter;
    InGroupFooter;
    Edit: I think I like Graham's solution better, actually.
    Edited by: Garrett Fitzgerald on Jun 15, 2009 12:12 PM

  • Generic "course-group' label in search results

    When searching on our "What Great Bosses Know" podcast for the Poynter Institute - the results display the label "course - group" in the Collections column instead of the actual titles.
    This began to occur after the recent redesign of the admin tools. The title appears to display correctly elsewhere.
    Is this a bug or are we doing something wrong in our collection set-up?
    Thanks
    Damon
    null

    I also just noticed that the author field is empty in the same podcasts. I do not handling the uploading but the author believes she is following the same process she has used for months.

  • How to enable group label selectable on combo box?

    When we use the combo box, we can group the items as following
    group 1
    item 1 1
    item 1 2
    group 2
    item 2 1
    item 2 2
    How to enable user select the group 1 instead of select both item 1 1 & item 1 2 ?
    In the jsf rendered result, group 1 & group 2 just a label and not selectable option, we want change it to selectable option.
    Thanks

    When we use the combo box, we can group the items as following
    group 1
    item 1 1
    item 1 2
    group 2
    item 2 1
    item 2 2
    How to enable user select the group 1 instead of select both item 1 1 & item 1 2 ?
    In the jsf rendered result, group 1 & group 2 just a label and not selectable option, we want change it to selectable option.
    Thanks

  • Checkbox Group Labels

    Hi
    I am Created checkbox group called "Gender".Automatically there are 3 checkboxes created with this with labels as "Lebel1","Label2","Label3".Now i want to change "Label1","Label2","Label3" as "Male","Femele","NotSpecified".At design time how to change these labels.I tried to change the "texts" property.can anybody help me?
    Thanks
    Prasad

    Hi Armin,
    I am trying to create a Checkbox group. I created a value attribute and binded it to simple datatype containg list of items in enumeration. Then I binded the Checkbox group "texts" property with the value attribute.
    In the layout wizard all items are visible but at runtime none of them is visible.
    Cardinality of node containing the value arrtibute is 0..n. I have checked it for 1..n also.
    Please tell me what could be the possible reason behind it.
    thanks in advance!

  • Grouping labeled textframes

    Hi scripters
    i cant group two labeled textframes, where i am wrong in the below script
    x = app.activeDocument.textFrames.item("Fig");
    y = app.activeDocument.textFrames.item("Cap");
    g = app.activeDocument.groups.add([x,y]);
    ERROR
    Adobe InDesign
    JavaScript Error!
    Error Number: 30477
    Error String: Invalid value for parameter 'groupItems' of event 'add'. Expected Array of PageItems, but received nothing.
    Line: 21
    Source: g = app.activeDocument.groups.add([x,y]);
    OK  
    thanks in advance
    regards
    a r u l

    x = app.activeDocument.textFrames.item("Fig");
    y = app.activeDocument.textFrames.item("Cap");
    g = app.activeDocument.groups.add([x,y]);
    ERROR
    Adobe InDesign
    JavaScript Error!
    Error Number: 30477
    Error String: Invalid value for parameter 'groupItems' of event 'add'. Expected Array of PageItems, but received nothing.
    Line: 21
    Source: g = app.activeDocument.groups.add([x,y]);
    are you sure that x and y "contains" TextFrames ?
    InDesign's message is clear - Expected Array of PageItems, but received nothing - x or y or both are "empty"
    robin
    www.adobescripts.co.uk

  • How to remove suppressed items in the group tree from the crystal report print preview screen

    I am removing items in report using group selection formula. Although the removed items are not available in the report, they are still available in the group navigation tree on the left pane. Is there a way to overcome this ?

    Hi All,
    How can i use the below group selection code in record selection.
    TotalQuantity := sum({ICIVAL.QUANTITY},{ICIVAL.ITEMNO});
    TotalCost := sum({ICIVAL.TRANSCOST},{ICIVAL.ITEMNO});
    iIncludeQty := TONUMBER({?INCLUDEQTY});
    iIncludeCost := TONUMBER({?INCLUDECOST});
    bIncludeQty := FALSE;
    bIncludeCost := FALSE;
    SELECT iIncludeQty
        CASE 0:
            bIncludeQty := TRUE
        CASE 1:
            If TotalQuantity > 0 THEN
                bIncludeQty := TRUE
        CASE 2:
            If TotalQuantity = 0 Then
                bIncludeQty := TRUE
        CASE 3:
            If TotalQuantity < 0 THEN
                bIncludeQty := TRUE
        CASE 4:
            If TotalQuantity <> 0 THEN
                bIncludeQty := TRUE
    SELECT iIncludeCost
        CASE 0:
            bIncludeCost := TRUE
        CASE 1:
            If TotalCost > 0 THEN
                bIncludeCost := TRUE
        CASE 2:
            If TotalCost = 0 Then
                bIncludeCost := TRUE
        CASE 3:
            If TotalCost < 0 THEN
                bIncludeCost := TRUE
        CASE 4:
            If TotalCost <> 0 THEN
                bIncludeCost := TRUE
    bIncludeQty AND bIncludeCost

  • Duplicating Contacts with labels from Nokia 9300 t...

    I have tried all means to transfer Contacts data exactly as it exists in my my Nokia 9300 to Nokia E90. I am at my wits end as the copied contacts have either missing data or getting tagged to wrong labels albeit default labels.
    I have tried PC Suite, Bluetooth and Data mover all to no success. The latter seems to connect up only with infrared and failing. I am sure there is hope somewhere; could some one help me please ?
    Solved!
    Go to Solution.

    This is what i did
    I opened my phone browser from my computer--- memory card---contacts and copied all the contacts on my pc as a VCF File and then with the help of Nokia Communication Center i re-checked them and simply connected my new E90 and copied the same on the memory card.... and the job was done......(My phone was connected in Nokia PC Suite Mode)
    Another way is to use the application that nokia gifts its communicators users. Its called the Data Mover or Transfer...
    This application transfers contacts, calender entries and some other data from some another nokia mobile phone free of cost. It requires installation of nokia data transfer application on both the devices.
    Articles posted courtesy engadget
    keep us updated about the progress.... if u like wat I have to offer then click on khudos.

  • Photoshop crashes on duplicating layers/groups to new document

    Randomly on both of my computers. It happens on different versions of Photoshop, on WIN XP and WIN 7, so it's quite random. And it upsets me as hell. It happens everytime I want to duplicate layers, only when I duplicate them (or group) to new document. What to do about it?

    Your windows 7 machine creates a reliability history. Use it the see where Popshop is crashing. This may help narrow down where your problem may be. In the start button type rel you should see view reliability history click on that and look for a day you had a failure there should be a red x. Select that date and double click on the Photoshop crash. You may get an Idea what is failing.. Most of may failures are in ScriptUIFlex.dll

Maybe you are looking for

  • Help with scrolling image gallery?

    Hi, using the code for a scrolling image gallery found here (Build an Infinite Scrolling Photo Banner With HTML and CSS | Design Shack). When I pasted in the CSS and HTML, it displayed all vertically and broke my title div. Not a professional, so I c

  • Sender JMS Adapter does not work

    Hi all, We have created a sender JMS adapter with transport protocol "Access JMS Provider with JNDI". The adapter connects to destination successfully, so the connection parameters are right. However, we do not receive any message when the sender sen

  • Using iPod Classic (80GB) with a Firewire dock

    I gave my daughter a new 80GB iPod Classic to replace her 2003 era iPod 15GB, dock connector (with the 4 buttons). Her 12" PowerBook G4 doesn't have USB2, so I was wondering if it is safe to use her old Firewire docking station with the new iPod Clas

  • Consume an external web service with an ABAP proxy

    Hello, I'm working on creating an ABAP Proxy to consume my first web service.  In searching SCN I haven't found a comprehensive list of steps to complete the process, but I have found information on generating a proxy from a WSDL and creating a logic

  • SSL proxying with WebLogic

    I am attempting to cluster two instances of WebLogic 5.1 using a third           instance of WebLogic 5.1 as the proxy. Each instance resides on its own           box. "The box" is NT today, Solaris in production.           Can I have an SSL connecti