Running totals are not resetting to zero

I have a commission report that runs these calcs and the rep group is not restting to zero and the same for the Invdate group.
Any suggestions?
Group #1 InvDte
Group #2 Rep
Group #3 Inv #
{@OrderDiscount} = {Invoice_Master.ORDDSC_31}*-1
//@ratio          //invoice footer
if {Invoice_Master.ORDDSC_31} = 0 then 1 else
    {@OrderDiscount}/ {Invoice_Master.LNETOT_31}
//@commdiscount               // Invoice Footer
if {Invoice_Master.ORDDSC_31} = 0 then 0 else
    Sum ({@Commission}, {Invoice_Detail.INVCE_32}) * {@Ratio}
//Rep_Comm_Discount
WhilePrintingRecords;            //Rep header
currencyVar Rep_Ord_Discount = 0
WhilePrintingRecords;          //Invoice Footer
currencyVar Rep_Ord_Discount;
Rep_Ord_Discount := Rep_Ord_Discount + {@CommDiscount};
WhilePrintingRecords;          //Rep Footer
currencyVar Rep_Ord_Discount ;

Hi Alfredo,
First try this:
In design view, right click on the group where you placed the reset formula. Go to Change Group -> in the second tab, uncheck "Repeat Header On Each Page."  Now, see the results.
If that doesn't work.  Try placing the reset formula in another group header.  My guess is you might not be placing it in the correct group.
I hope this information proves useful.
Regards,
Zack H.
Edited by: Zack H on Feb 3, 2009 3:26 AM

Similar Messages

  • Running Total does not reset when group changes

    I have a manual running total for group3 that does not reset for group2
    Group2 Header (Order Status 3=Open,4=Closed)
    WhilePrintingRecords;
    currencyVar WIP=0;
    Group3 footer (Order Number)
    WhilePrintingRecords;
    currencyVar  WIP;
    WIP := WIP + {@NETWIP}
    Group2 footer
    WhilePrintingRecords;
    currencyVar WIP;
    There are no Repeat Group header on any of the groups
    Will add Group1 total when this part works.

    I am not sure if you made a typo when making your post but you are missing a colon when resetting your variable
    change from this
    currencyVar WIP=0;
    to this
    currencyVar WIP:=0;

  • Unsuccessful Login Notification Does Not Reset To Zero

    Dear all,
    os: OUL5x64
    ebs R12 12.0.6
    db 10.2.0.4
    when users connect to the application and login with the wrong password
    On 12.0.6 in Production:
    When attempting to login the applications Find that Unsuccessful login notification always
    displays a cumulative count of unsuccessful logins every time. It does not reset to zero
    after you successfully login.
    Please advise how to fix this notification.
    Thanks,

    Hi,
    Please see (Note: 848921.1 - Unsuccessful Login Notification Does Not Reset To Zero).
    Regards,
    Hussein

  • Manual Running Total won't Reset

    I've created the following formulas to create a manual running total.  However, I can't get the total to reset.  Instead, the total gets added to each time the group appears.  What am I missing? 
    GROUP 1 HEADER 
    ================
    //placed this in group 1 header to reset total each time this group appears
    whileprintingrecords;
    shared currencyvar TotalCore;
    TotalCore:=0
    GROUP 2 FOOTER
    ============================
    //placed this in the footer of next group to get total added to the TotalCore variable from above
    //the fields I'm adding to TotalCore are fields summarizing the detail fields
    WhilePrintingRecords;
    Global CurrencyVar TotalCore;
    TotalCore := TotalCore + ({@Core6-Sum} + {@CoreApp3-Sumfor#ofMos});
    TotalCore
    GROUP 1 FOOTER
    ============================
    //this number accumulates for each group...I need it to reset.
    WhilePrintingRecords;
    Global CurrencyVar TotalCore;
    TotalCore

    You left out two extremely important pieces of information:  the formulas for {@Core6-Sum} and {@CoreApp3-Sumfor#ofMos}.  It is possible (from where I sit) that they are carrying the values forward...
    Other than that, I don't see anything obviously wrong...
    HTH,
    Carl

  • OBIEE 11g Report-When drilling down to lower level, totals are not matching

    Hi All,
    I am creating a report in Analytics 7.9.6.3 , OBIEE 11g - Let’s say Budget Cost/Actual Cost based on the Date Dimension
    Have selected the Fiscal Year Dim, Fact Budget Cost, Fact Actual Cost
    FY BCost ACost
    2011 100 120
    2012 150 140
    Total 250 260
    But here when I am drilling down from Year to Quarter and Period - The values are not matching with the totals....
    FY FY Qrt BCost ACost
    2011 2011 Q1 80 100
    2011 Q2 100 90
    2011 Q3 110 120
    2011 Q4 90 130
    Total 380 440
    Fiscal Year, Fiscal Quarter Budget Cost and Actual Cost are not returning correct results – When selecting cost's by fiscal year, or filtering on a specific fiscal year, the amount returned does not equal the fiscal year total;
    when I am drilling down to Quarter and Period Level the BCost & ACosts are bumping the Numbers as above and not matching with totals
    Any suggestions?

    Check out the query in both the times.Execute against database and try to sum the data for quarter/period and compare it with Year data.
    Just try to differentiate is it a report total that is getting wrong or the data in the database table itself is getting wrong stored.
    Mark as helpful if it helps.
    Regards,
    Veeresh Rayan

  • When drilling to lower level - Totals are not matching in BI Analytics OOB

    Hi All,
    I am creating a report in Analytics 7.9.6.3 , OBIEE 11g - Let’s say Budget Cost/Actual Cost based on the Date Dimension
    Have selected the Fiscal Year Dim, Fact Budget Cost, Fact Actual Cost
    FY BCost ACost
    2011 100 120
    2012 150 140
    Total 250 260
    But here when I am drilling down from Year to Quarter and Period - The values are not matching with the totals....
    FY FY Qrt BCost ACost
    2011 2011 Q1 80 100
    2011 Q2 100 90
    2011 Q3 110 120
    2011 Q4 90 130
    Total 380 440
    Fiscal Year, Fiscal Quarter Budget Cost and Actual Cost are not returning correct results – When selecting cost's by fiscal year, or filtering on a specific fiscal year, the amount returned does not equal the fiscal year total;
    when I am drilling down to Quarter and Period Level the BCost & ACosts are bumping the Numbers as above and not matching with totals
    Any suggestions?

    Check out the query in both the times.Execute against database and try to sum the data for quarter/period and compare it with Year data.
    Just try to differentiate is it a report total that is getting wrong or the data in the database table itself is getting wrong stored.
    Mark as helpful if it helps.
    Regards,
    Veeresh Rayan

  • Subreport totals are not displayed correctly in Preview

    I'm using Crystal Reports 2008.  I have a subreport that sorts hiearchically.  It is placed in the Report Header of the main report.  Within the subreport, it has calculated totals for each hiearchy grouping.  When ran, those totals are incorrectly displayed in the Preview;  however, when I click on the subreport, those totals are displayed correctly in the preview of the subreport.  Also,  if I go to the subreport design, pretending I'm editing the subreport, then go back to the main report preview, those totals are correct.
    Has anyone experienced this issue?  Please provide help/advise.  Thanks.

    Shwu, The subreport does not process any value based on the main report. I also observed that if the group extends to next page, the totals are incorrectly displayed.  I have both 'Keep Group Together' and section 'Keep Together' selected, but still the data extends to next page.  The subreport is sorted with 'Hierarchical Grouping'.  For example, below 2 lines are printed at bottom of a page:
    North America
        Sales department
    then Crystal prints the rest of departments belong to North America onto next page as:
         Marketing
         Consumer
             Government
             etc.
    I was hoping if I could get Crystal to not print the group if there's not enough space on the page, but rather print on next new page, the incorrect totals would go away.  Any idea how I would do page break for hierarchical groupings?

  • Threshold values are not showing in zeros and ones

    Hi guys
    I am thresholding an 16 bit unsinged  image . There are few problem I am facing 
    1) when I look at values over the threshold images those are not in zeros and ones
    2) How to change color of threshold image, by default it is red and black
    I will appreciate help from you guys.
    Solved!
    Go to Solution.
    Attachments:
    Thresh_prob.jpg ‏52 KB

    Like this

  • Grand totals are not displaying...

    hi guys
    for cross tab reports grand totals (rows and columns) are not displaying.
    is there any fix to resolve.

    I have faced a similar issue in Cross tab reports.
    Try using Cell Sum/Cell Sum distinct function instead
    of the usual Sum function while calculating the grand total that function is working for Grand Total at bottom but not working for Grand Total on right [i]

  • Query totals are not correct

    Hi All,
    I have a report reporting on some calculated key figures with the following layout:
    Plant     Material     Balance1    Balance2   Balance3
    Please note Balance1, Balance2 & Balance3 are all calculated key figures based on some calculations like the following:
    Balance1 is defined
    ( CKFBal > CKFSBal ) * Balance1
    The key figures CKFBal , CKKSBal is hidden in the report.
    Now for the following example:
    Plant         Material             Balance1   
    1000           ABCCCC            10         
    1000           ABCC231            20
    Total                                    85
    Here Balance1 is displaying only records meeting the criteria defined above but the totals do not reflect what is displayed it is appearing to be adding what is not in the report being displayed. I tried few normalisation options like Query Result, Report result nothing seems to be giving the right result.
    Kindly please share your inputs how I can get the report to show the totals of what is displayed.
    Thanks
    Karen

    Hi,
    in Formula properties you select  the following
    1) Under aggregation tab, select Exception Aggregation = Totals and Referecne Characterstic = Material. ( if you want to calcualte totals at lower level, i.e material, or you can select something else depends on your requirement)
    2) Now goto Calcualtions tab and select Calcualted Result As = Totals.
    3) Now go to Advanced tab and choose 'Use Result of this formula'
    You an play around with these options in formula properties until you get the desired result.
    Hope this helps.
    Praveen

  • Transparent Mode - running-config are not saved to Startup-config, Normal ?

    I config a switch to be a Transparent Mode, then I issue the copy run start command, then I issue the show start-up command, however the Running-config is not copy to the start-up config
    Is it Normal for the switch ???
    vtp mode transparent
    int fa0/1
    switchport mode access
    switchport access vlan 5
    int fa0/2
    switchport mode access
    switchport access vlan 6

    Hi,
    If you use transparent instead of server or client, there should be no problem wit copy run start. (The difference is that in this case your switch doesn't participate in the VTP communication, only forward the received messages and doesn't update its vtp db).
    During the copy running-config startup-config did you get some error message? (not enough space or something) PLease first check the flash with the show flash command.
    Or try to save your running to flas not to startup config: copy running flash:test.cfg
    If you need more help please send me output of show flash at least...
    bye
    FCS
    Please rate me if I helped.

  • Running total forumla not working

    Post Author: Skip
    CA Forum: Formula
    I am probably missing something pretty simple but can someone tell me why this is not working?
    Whileprintingrecords;
    numbervar carryover;
    if (="C") and (=Date(2006/03/31)) then carryover:=carryover+1;

    Post Author: Skip
    CA Forum: Formula
    This formula is in the detail section.  I have another formula in the footer section to display the total
    whilerprintingrecords;numbervar carryover;
    The detail forumla runs, but returns a value of  0.
    I know for a fact there are two records that meet both criteria.  Here is an example of one:
       ID       Flag         Date              hours
    1234        C      2006/03/31             7.5
    I'll explain the why for this...  in the report I need to calculate the number of incidents for the last firscal year.  For this report the FY ends on March 30 so if there is an incident  that is a continuation ("C") from the previous FY, I need to subtract it from the total....

  • Icons for running apps are not showing in the dock

    I just noticed that newly opened apps were not appearing in the dock. I then closed and deleted some apps that had been residing permanently in the dock, and started them again. Their icons did not reappear. I'm running Leopard on a G4 ibook. Does anybody have any idea why this is happening?
    Also, that little light which comes on under the icon in the dock if the app is open does not come on for Safari. Even though it is open, the icon sits there with no light. Why is there no light, I wonder.

    delete the file homedirectory/library/preferences/com.apple.dock.plist and log out/in. your dock, spaces and exposé will be reset to the defaults. see if that fixes the issue.

  • On cross tab, sub totals are not displaying...

    i build the cross tab report.
    region  period    status_cnt
    ========================
    south   apr-07     10
         may-07     10     
         jun-07     15
            sub-total 35
    north   apr-07     18
         may-07     75     
         jun-07     15
            sub-total 108
    grandtotoal 143and when i applying subtotal and grand totals its returning nulls.
    i tried sum,cell sum but didn't worked out.
    and i am not suppose to use cellsum distinct (status_cnt is repeating.)
    how i have to display subtotals and grand totals in my cross-tab report.
    i am using OracleBI Discoverer Plus 10g (10.1.2.1)

    Hi,
    try to cerate a new calc :
    nvl(status_cnt,0)
    and create the totals on it,
    I think you got nulls in that column so it wont aggregate properly.

  • Minutes are not resetting despite data resetting?

    My bill was paid in full, and on time. My cycle has reset, my data reset, but my minutes are still the same. Why is this?
    And yes, I have tried calling and I've received no such help from it.

    Me too. Whey always I need to wait at least two days for reset?

Maybe you are looking for

  • Cannot send email from Iphone. A setting is off.

    What are the correct settings to send email from my aol account that's included in my I Cloud acct. any suggestions???? Thanks Sue

  • K8MM-V slow disk

    Hello: I upgraded to a K8MM-V a few months ago from a Asus A7v. Ever since the disk access has been slow. I used the MSI Live Update to upgrade to the newest drivers. I have gone through and optimized Windows XP as many ways as seems possible. I've u

  • Problem with iWeb 09, after the publication in a local file.

    *Subject: problem with iWeb 09, after the publication in a local file, i can't see my blog, nor my photos, but before that all was working fine.* After the publication in the local file, I see all my pages, but there is a mistake on the page "Blog" w

  • How to Add Input Values into a XML in Flex AIR Application

    I need a help, now I am developing a flex windows AIR application, in this I am displaying data using a xml file, I have some input fields in my application,if the application user filled the input field and press submit button, the inputs Should be

  • Flash player on windows 7 64 bit

    I have windows 7 ultimate 64 bit version.  i can't get the flash player to work on chrome, internet explorer or firefox.  for example www.denverbroncos.com i click on a video and it plays the add but just does a blank screen with no video or audio.