How to suppress a group with a sum of $0

Post Author: MarkO
CA Forum: General
Hi
I am trying to develop a report with groups of account numbers and amounts.  The detail section is suppressed leaving only the group footer showing the account number and group total $.  I would like the report to only show groups where the total $ is not equal to $0 without leaving any gaps or spaces in the report.  BTW I am fairly new to crystal reports.
Thanks,
Mark

Post Author: Aron Sereny
CA Forum: General
this is really easy to do,   you need to bring up the section expert and in there under the formule for suppress enter your suppress condition...somethink like
sum( account) = 0
the suppress needs a boolean, so this will return a true or false

Similar Messages

  • How to create sharepoint Group with read only permissions using powershell for entire site ?

    How to create sharepoint Group with read only permissions using powershell for entire site (including subsites and top level site)

    Hi
    using (SPSite site = new SPSite(url))
    using (SPWeb web = site.OpenWeb())
    SPUserCollection users = Web.AllUsers;
    SPUser owner = users[string.Format("{0}{1}", "Domain", "Owner Username")];
    SPMember member = users[string.Format("{0}{1}", "Domain", "Default Member Username")];
    SPGroupCollection groups = Web.SiteGroups;
    string GroupName = “Super Exclusive”;//your group name
    string GroupDescription = “Super exclusive group description.”;
    groups.Add(GroupName, owner, member, GroupDescription);
    SPGroup NewSPGroup = groups[GroupName];
    SPRoleDefinition role = Web.RoleDefinitions["Read"];
    SPRoleAssignment roleAssignment = new SPRoleAssignment(NewSPGroup);
    roleAssignment.RoleDefinitionBindings.Add(role);
    Web.RoleAssignments.Add(roleAssignment);
    Web.Update();
    Please 'propose
    as answer' if it helped you, also 'vote
    helpful' if you like this reply.

  • How do you make groups with your contacts?

    How do i make groups with the contacts? i have a certain group of people i have to update weekly and dont want to have to click on all 14 of their names to tect them

    Create them in the Address Book application on your Mac. They will sync to iCloud
    If you want to create them in iCloud, log into iCloud.com on your Mac. They will sync back to your Mac Address Book.

  • How to sync contacts group with Ovi PC suite or Ov...

    Hi
    I have a N97 with latest firmware.
    Does anybody know how to sync contacts group with Ovi PC suite or Ovi.com?
    I go to the option in (Menu/Settings/Connectivity/Data transfer/Sync/), then edit profile.
    But don't know how to define the database of contacts group.
    Anybody knows? Thanks

    Hi you can sync groups with Ovi suite on your computer, you can also edit them by right clicking a contact and adding to group !
    If I have helped at all, a click on the White Star is always appreciated :
    you can also help others by marking 'accept as solution' 

  • How to setup a group with autentication

    Hi, Every body,
    I am new in this forum, I found Stratus is a so exciting platform, now I need your help.
    I want to setup a group with posting autentication, in the group, some one has the posting right, others have not. I found the "groupspecWithAuthentication, groupspecWithoutAuthentication,  encodePostingAuthorization,setPostingPassword" etc. but I cant understand how to use them.
    I have dived in this forum and the reference of Stratus 2.0 beta( here) for several days, and I have tried the samples posted by Mike, and I have study almost all threads in this forum, but I still cant find the clue.
    Please help me out, thanks advanced,

    Thank you, Mike, for your timely reply. Forgive me the delay, because now is our most important festival, I just back from a party.
    Now I understand, but I still wonder,
    1. if a group is in running, and a authorized user has joined. Now he misdoes, I want to withdraw the authentication, how can I? revise the password and recreate the group?
    2. How can I setup a group, just authorized users can join? I know I can use secret group name, but if authorized user divulge the group name, others without autentication can join the group too. ( because the swf easy to reverse, hacker can sniff the opaque groupspec string, revise the swf, impersonate authorized user, etc).
    3. How can I banishment a misdoer from my group?
    Thanks again for your time.

  • How to setup Business Group with Global Legislation?

    Hi All,
    We are exploring possibility of creating International Business Group with no Legislation Code for our client. The client has operations in multiple geographies.
    I found following document in Metalink
    How an International Business Group be created with no Legislation Code? [Doc ID 851711.1] It mentions "Global legislation must be installed in order to set up a Global Business Group. The business group is created just like any other, but with Global legislation selected. You will need to use Global responsibilities to access it."
    When we tried to create a business group with Legislation Code as 'Global" we did not find any such Legislation Code in dropdown of *Business Group Info classification.
    Has anybody implemented Global Legislation before? Any information on Setup Steps, Challenges faced, bugs and issues faced with other modules especially OTL would be appreciated.
    Thanks in Advance,
    Amit
    Edited by: user10450466 on Jan 22, 2010 12:23 AM

    I wasn't aware there's any such thing as 'Global Legislation' in HRMS and I think the Metalink Note you mention is misleading. There are multiple concepts here being mixed up.
    hrglobal and Data Installer
    Oracle deliver legislative seed data through hrglobal and Data Installer. When a DBA runs this they pick the legislations they wish to install. That includes legislations such as US, GB and all legislations where Oracle HRMS deliver seed data (Fast Formulas, balances, etc). One of the options here is 'Global', which ensures that common seed data used across multiple legislations is installed. This process does not create new legislations - it just creates the seed data used by those legislations. 'Global' is not a legislation - it just means that the relevant seed data (Fast Formula, balances, etc) is typically delivered without the legislation_code column being populated.
    Business Groups and Legislations
    A Business Group is intrinsically tied to a Legislation Code - they have a one-to-one relationship. When you define a Business Group you have to pick a Legislation and that list of Legislations comes from fnd_territories_vl. The list in fnd_territories_vl has nothing to do with hrglobal or Data Installer. There is no 'global' territory.
    International HR & Payroll
    If you are implementing HRMS in a country where Oracle HRMS do not deliver any specific legislative seed data or functionality (ie, the legislation isn't listed in Data Installer) you have the option of using International HR & Payroll. This allows you to install generic seed data into the legislation of your choice, which is again a list from fnd_territories_vl. Again, there's no concept of 'global' legislation. Information on that is available here:
    International HR and Payroll [ID 261452.1]
    International Implementations
    Customers, like yours, who are rolling out Oracle HRMS to multiple countries have a big choice to make: single or multi Business Group. If you opt for one Business Group you create employees in multiple countries all within the same Business Group. That Business Group is tied to just one of those country's legislation codes - which you go for is up to you but that's generally the Legislation Code of the International HQ. The problem with this approach is that you can't leverage the legislative-specific functionality for each of the other countries.
    If you opt for multi-Business Group you typically define one Business Group for each country so that you leverage the legislative-specific functionality for each country. This is generally more popular but doesn't suit everyone: you can have problems with employees transferring from one country to another, etc.
    Global Structures
    Oracle HRMS has forced you to tie a Business Group to a legislation code for many years. As mentioned above, this causes a number of problems. To mitigate those, Oracle have delivered a number of enhancements that help you model global businesses:
    1. Global Organization Hierarchies
    2. Global Security Profiles
    3. Global Overseas Deployment functionality (nickname GOD/GOLD)
    4. Cross Business Group profile option
    5. etc
    I hope that helps.

  • How do I show all Groups including Groups with Zero Sums

    Post Author: mchallinor
    CA Forum: Formula
    This is such a basic question I'm annoyed that I can't work out the answer myself!The report is very basic:"Total Sales"Grouped on Weeks of the Year. Data Report Range 01-01-2006 to 31-12-2006.The Group Summary Totals appear for all weeks where there is at least 1 sale within that Week.  But if there are NO sales for a week this does not appear as a Group Summary Total. Eg:Total Sales ReportWEEK 1Group Sum Total =      £3,004WEEK 2  Group Sum Total =      £9,000WEEK 3Group Sum Total =     £1,030WEEK 5Group Sum Total =      £900Report Grand Total =  £13,934There were no sales during WEEK 4 so no Group Sum appears. I need the report to look like the following:Total Sales Report  WEEK 1
    Group Sum Total =      £3,004
    WEEK 2 
    Group Sum Total =      £9,000
    WEEK 3
    Group Sum Total =     £1,030WEEK 4
    Group Sum Total =     £0
    WEEK 5
    Group Sum Total =      £900Report Grand Total =  £13,934How do I get the Group Sum to show for all groups even if the group sum is zero.Look forward to any suggestions.

    Post Author: bettername
    CA Forum: Formula
    Agreed - about the best way to overcome this is to have a 'dates' table in your db which has a simple structure of one column named 'date', filled from some date in the past to xxx years in the future, incrementing by a day at a time.  Ask your DB guys to add this in - it's a simple task (SQL code underneath)
    If you then use this as your 'starting point' table (and link your sales data to it on the date), and group by dates.date (or use it in your formula for grouping), you'll get the 'empty' groups.
    SQL CODE TO CREATE A SIMPLE DATES TABLE (-5 years from today to +5 years from today):
    create table crystal_dates (mydate datetime)
    declare @start datetimedeclare @end datetimedeclare @now datetimeset @start = dateadd(yy,-5,CONVERT(DATETIME,FLOOR(CONVERT(FLOAT, getdate()))))set @end = dateadd(yy,5,@start)set @now = @start
    while @now <=@endbegininsert into crystal_dates values (@now)set @now = dateadd(dd,1,@now)end

  • How to select header group with detailed data in one SQL

    Dear,
    I would like to have a little help from you. My goal is to create a view where data must be in appropriate format. In this format i would like to have for each group one header.
    I have 3 tables which they ar connected to each other (representing hierachical data where financial plan breaks across different groups).
    CRM_PLAN
    CRM_PLAN_ID
    DATE
    AMOUNT
    CRM_PLAN_PE
    CRM_PLAN_PE_ID
    TITLE
    AMOUNT
    CRM_PLAN_ID (ref key to CRM_PLAN.CRM_PLAN_ID)
    CRM_PLAN_MONTH
    CRM_PLAN_MONTH_ID
    YEAR
    MONTH
    AMOUNT
    CRM_PLAN_PE_ID (foreign key to CRM_PLAN_PE.CRM_PLAN_PE_ID)
    Data looks like:
    CRM_PLAN
    CRM_PLAN_ID | DATE | AMOUNT
    1 | 01.01.2012 | 500
    2 | 01.02.2012 | 200
    CRM_PLAN_PE
    CRM_PLAN_PE_ID |TITLE | AMOUNT | CRM_PLAN_ID
    1 | Organization 1 |100 | 1
    2 | Organization 2 |400 | 1
    3 | Organization 3 |200 | 2
    CRM_PLAN_MONTH
    CRM_PLAN_MONTH_ID | YEAR | MONTH | AMOUNT | CRM_PLAN_PE_ID
    1 | 2012| 1 | 60 |1
    2 | 2012| 2 | 40 |1
    3 | 2012| 1 | 350 |2
    4 | 2012| 2 | 50 |2
    5 | 2012| 1 | 200 |3
    I would like view which would return data like:
    MONTH | AMOUNT
    Organization 1 |null
    1 | 60
    2 | 40
    Organization 2 | null
    1 | 350
    2 | 50
    Organization 3 | null
    1 | 200
    The main question is hot to write an sql as source for view to insert before each group a row with title column value from table CRM_PLAN_PE. Is that even possible? Maybe you could suggest me some other method.
    View will be used in oracle form where will be possible to edit data - I will arrange that through insted of trigger.
    Regards,
    Igor
    Edited by: user5528050 on 29.11.2012 2:23
    Edited by: user5528050 on 29.11.2012 2:24
    Edited by: user5528050 on 29.11.2012 2:25

    Hi, Igor,
    user5528050 wrote:
    ... I would like view which would return data like:
    MONTH | AMOUNT
    Organization 1 |null
    1 | 60
    2 | 40
    Organization 2 | null
    1 | 350
    2 | 50
    Organization 3 | null
    1 | 200
    The main question is hot to write an sql as source for view to insert before each group a row with title column value from table CRM_PLAN_PE. Is that even possible? Maybe you could suggest me some other method. So, you want to have 2 different kinds of rows in the output:
    (1) "parent" or "master" rows containing data from crm_plan_pe, such as
    MONTH          AMOUNT
    ==============     ======
    Organization 1(2) "child" or "detail" rows containing data from crm_plan_month, such as
    MONTH          AMOUNT
    ==============     ======
    1          60Sure, you can do that.
    One way is to do a UNION of 2 separate queries: (1) to generate just the parent rows, (2) to generate just the child rows.
    You could also join the 2 tables and use GROUP BY GROUPING SETS. The super-aggregate rows would be the parent rows.
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all tables involved (it looks like crm_plan is not involved in this problem), and also post the results you want from that data. You need to post this whether or not you want SQL code in reply. The people who want to help you want to provide good answers, and that means they want to re-create the probelm and try their ideas.
    Explain, using specific examples, how you get those results from that data.
    Always say which version of Oracle you're using (e.g., 11.2.0.2.0).
    See the forum FAQ {message:id=9360002}

  • How to create a group with multiple data fields

    Post Author: RichS
    CA Forum: Formula
    Using CR XI.  Using CSV input from ODBC text driver.  No problems here.
    There are 3 fields that I want the same group by action.  Is this possible?) 
    If any one of these 3 fields change I want some header information and column fieldnames to display.  The header information I only want displayed on the first page (on the change) and the column fieldnames to display on every page.  I have played around with things like "InRepeatedGroupHeader" and "report group header on each page".  I am not getting all the results that I am looking for though.
    I want report to look like:
    Page header stuff  (to display on every page)  This data consists of some fields that will have static data and will display on every page.  And it consists of 3 non-static fields that I want to group on. 
    Group header stuff that I only want displayed on the first page on a change from one of the 3 fields mentioned above.
    Column headings that I want displayed on every page.
    Details data
    Group footer stuff (details not important for this)
    I get the expected output (column headings displayed on every page, and group header stuff display on the first page on each group change) with one group field.  But I want the group change to happen for all 3 fields.
    It seems simple but I can't find a way to create a "group" so if "field1 or field2 or field3" change, I get the same "group by" action.  I just need to know how to get the expected action.
    I expect that I might have some terms mixed up and/or some important information that would aide you in helping me.  If that is the case please re-post and I will add any missing or mis-stated information.
    Thanks,

    Post Author: V361
    CA Forum: Formula
    I am slightly confused, but perhaps you can create a formula
    Then group on the formula.  If this is not what you want, could you post some sample data, with the desired results.

  • How to Suppress Report Total When Using Sum on Columns & Break Formatting

    I need to know how to NOT show the report total line when using the sum functionality with a break in a report.
    I am summing two columns, a debit amount and credit amount. I am breaking on the first column which is the level of a hierarchical query. I want to see something like this:
    Parent Record xxxxxxxxxxxxxx
    Parent Sum $$ $$
    Child Record xxxxxxxxxxxxxx
    Child Record xxxxxxxxxxxxxx
    Child Sum $$ $$
    However, when I run the report, I also get a report total line under the child sum which is really meaningless for this report.
    I have also tried creating this report as an interactive report. When applying the sum on the two columns, I do get the sum totals on the break only - no report total - however, it is reversing the order of the hierarchical query results putting the child records first and the parent records second.
    Thanks in advance for your help.

    Hi, and welcome!
    I don't think that there's an easy way to "switch off" the Total line on a report. The nearest I could suggest would be to either hide the entire row or colour the text so that it's the same as the background - either way, the total is calculated but the user won't see it.
    If you put something like the following into your report region's Region Footer:
    &lt;script type="text/javascript"&gt;
    var outertable = document.getElementById("#REGION_ID#");
    var innertable = outertable.getElementsByTagName("TABLE")[1];
    var rs = innertable.rows;
    var lastrow = rs[rs.length-1];
    if (lastrow.cells[0].innerHTML == '&lt;b&gt;TOTAL&lt;/b&gt;')
    rs[rs.length - 1].style.display = "none";
    &lt;/script&gt;Then, on your report's Report Attributes page, scroll down to the Break Formatting section and put TOTAL into the "Display this text when printing report sums" setting. Also, in the "Layout and Pagination" section, set "Enable Partial Page Refresh" to No.
    The above code is based on the report and region templates that I'm using here: [http://apex.oracle.com/pls/otn/f?p=267:147] (Theme 18, "Report Region" region template and "Standard" report template). Your report may use different templates, so the first two lines on the code may have to change. #REGION_ID# would be replaced with the region's ID value (which would be "R" followed by a long number). As long as you can identify the HTML tag that uses this ID value, you can then get to the actual table that contains the data as it would be a TABLE within that tag - the [1] above is the second table within the region. In some instances, you may have to use "region_#REGION_ID#" as the starting point.
    Andy

  • How to create OIM group with partial edit privileges?

    I need to create an service desk group that has the privilege to reset the password of a user but cannot edit any of the other user attributes. Also grey out the 'edit' button for them.
    Also, members of this group should not be able to delete the account. I can set permissions and disallow delete but would prefer not to even display the 'delete' button to them.

    Hi
    using (SPSite site = new SPSite(url))
    using (SPWeb web = site.OpenWeb())
    SPUserCollection users = Web.AllUsers;
    SPUser owner = users[string.Format("{0}{1}", "Domain", "Owner Username")];
    SPMember member = users[string.Format("{0}{1}", "Domain", "Default Member Username")];
    SPGroupCollection groups = Web.SiteGroups;
    string GroupName = “Super Exclusive”;//your group name
    string GroupDescription = “Super exclusive group description.”;
    groups.Add(GroupName, owner, member, GroupDescription);
    SPGroup NewSPGroup = groups[GroupName];
    SPRoleDefinition role = Web.RoleDefinitions["Read"];
    SPRoleAssignment roleAssignment = new SPRoleAssignment(NewSPGroup);
    roleAssignment.RoleDefinitionBindings.Add(role);
    Web.RoleAssignments.Add(roleAssignment);
    Web.Update();
    Please 'propose
    as answer' if it helped you, also 'vote
    helpful' if you like this reply.

  • How can i create groups with my contacts?

    I am wondering if apple has made it possible to add groups to my contacts. It takes forever to send one message to 30 people when you have to select them individually from your contacts. Also worry about missing one of the contacts that needs the message. Any help or news?

    I don't know if there is a limitation to the number of characters you can have in an email address line in contacts, but you could try the following:
    Create a list of email addresses in notepad separated in by commas.  Highlight and copy the list.  Create a new contact.  Paste the list into one of the email fields. Create a new email and select the new entry from the contact list.  When you send the email you will get a message indicating that the emal address appears to be invalid.  Tap the send any way button.

  • Customization - How to suppress Line Weights

    Hi,
    I want to suppress the Line Weights for all documents by default (a fresh install and all documents are "Line Weights" OFF)
    Installation on Windows 8.1 / 7 / XP
    Package is Adobe Reader 11.0.0.6 MUI / MSI
    I try it with 'Adobe Customization Wizard 11' but i don't know where it is ON by default
    Is anyone know how to "suppress / turn off with Customization Wizard ?
    Can i turn OFF "Line Weights" by the REGedit or DirectEditor ?
    Thank you
    Message was edited by: Alexei_11

    Hi,
    Anyone have an idea ?
    Thank You
    Alex

  • OS group with write permission

    Installing on Linex need this...
    Enter the name of an operating system group that has write permission to the directory.
    How i can make group with the right permission on linex .
    Please forward me command to make OS group and giving it write permission.

    I am installting Linex OS , with 10g , Can you please guide me how i can create administrative group in OS for installing Oracle. For
    Loging onto you computer as a member of the administrative group that is authorized to install Oracle software and create and run the database.
    I want to install Linex & Oracle 10 g exactly like the link i am forwarding you
    http://www.oracle.com/technology/obe/2day_dba/install/install.htm#t1
    Can any body guide me how i can do that? I mean during Linex installtion how many directories i have to made with what permission. & what commands i can use for that.
    Arif

  • Suppressing a line if the sum of a value = 0 in a group footer

    How do i suppress a line if the sum of a value = 0 in a group footer
    I have tried this this formula in the section expert - Sum ({RM_INV.QUANTITY}) = 0
    will not work.

    Hi Dana, 
    The sum function needs to include the group you have your total in like: 
    Sum ({table.FIELD1}, {RM_INV.QUANTITY}) = 0
    {table.FIELD1} would be the field you are grouping on.  Your formula was summing the grand total for RM_INV.QUANTITY. 
    Thanks,
    Brian

Maybe you are looking for

  • Using Typekit web fonts in Adobe Muse | Adobe Muse Feature Tour | Adobe TV

    Adobe Muse recently introduced a feature that allows you to incorporate TypeKit web fonts into your website designs. In this video, Product Manager Dani Beaumont shows you how to access over hundreds of font types that look beautiful and can be under

  • Hide lower level of Object in rpeort.

    Hi, I have scenario where I am creating a crostab report. In this report I am show, Sale, zone, Region and Account. I need such functioanlity through input control that when I select zone every thing below zone is hidden and it does not appear in my

  • Sharing lightroom collections

    I am a new Lightroom user. I have been using Bridge to create image collections which I edit in Photoshop. Bridge is unable to share image collections with other network (LAN) computers. Can Lightroom collections be seen by other computers in a netwo

  • Tiger 4.6 just won't load...

    Am running 10.3.9 on a Lacie ext. drive and am trying to upgrade it to 4.6 Tiger. The install disk boots, but after picking Language, it immediately grays over the screen and pops up a window saying "You need to reboot...." and just continues this at

  • WMV and Flip4Mac

    I have both Windows Media for Mac (9.0) and Flip 4 mac installed on my iMac (10.4). When I try to open a streaming movie with WMV it says the path is incorrect. When I try and open it with Flip 4 mac it says that the URL is not valid or Safari can't