Running total of another running total ( or some other solution )

I posted in my previous thread that I would like to be able to do rounding at the subtotal level and then have a total of these subtotals.  Here is the original thread:
totals in a cross tab report
So I was told that with the cross-tab report I can either do rounding at the details level or at the final total level.  However, I need to be able to do the following:
Suppose I receive payments from different states.  In my report I would like to be able to display:
- a total of all payments for one given state, rounded to whole dollars - this one is easy because I just create a running total for the payments and then at the end I round it to whole dollars
- a total of all payments and all states as one number.  However, the problem I can't figure out here is that this grand total needs to be calculated as the SUM of the totals for each state where the total for each state is rounded to a whole dollar before being added to the grand total.  So the rounding should not be done on the final grand total but rather:
1. calculate the total of payments for one state and round it to a whole dollar - let's call it StateTotal ( rounded)
2. calculate the SUM of all StateTotal values.  So it needs to be a SUM of the already rounded state totals.
Any help will be greatly appreciated.
thanks

hello all,
if you want to use a manual running total then that is okay. you don't actually put the manual running total in the cross-tab expert though as you will get a print time error.
you use the "Display String" formula dialogue on an existing cross-tab summary to do the manual running total in.
have a look at the attached sample...there are 2 manual running totals in there...one that goes horizontally (across the columns) and one that goes vertically (down the rows).
there is also a Xtab Info column that is there just to show you how the manual running total counter variables are incremented through the cross-tab. in crystal reports 2008 there are a lot of new cross-tab functions that are different from this but that is a completely different topic.
i hope this helps,
jamie

Similar Messages

  • Prevent running the same program twice or more + some other..

    Hi All,
    I'm trying to figure out how to do the following
    1) How can I prevent a user from running the same program more than once.
    2)If a user try to shut down the computer while my program is running, I need to trap it down and save some data before terminating the program, how can I do it?
    Can any one help me???
    thanks a lot in advance!

    Don't [url http://forum.java.sun.com/thread.jspa?threadID=699067]cross post.
    Answers in the other post please.

  • Complex Logic - Custom Script - Some other solution?

    Evening All,
    FDM v11.1.1.3
    Goal:_ To have conditional mapping based on a currency column. Original accts translate to summary account plus specific C2 member based on the currency. Solution is needed to aid in Currency Exposure reporting.
    I have been trying to use complex logic with no luck.
    Dimension Background:_
    Custom2 dimension has been built with duel purpose. For P&L accounts it provides Cost Center detail. For Balance Sheet it will provide Currency Exposure Detail. For any P&L accounts C2 is either the exact matching member from the file or C2#0000 if no Cost Center applies.
    So the intent was to read the Account/Currency combination and if Acct=<focus aact> then change C2#0000 to hard-coded C2 value as depicted in the example below.
    Example:_
    Curr=USD A#1020?? -> A#102001.C2#USD_USD
    Curr=AUD A#102038 -> A#102001.C2#USD_AUD
    Curr=GBP A#102047 -> A#102047.C2#USD_GBP
    Curr=GBP A#102051 -> A#102051.C2#USD_GBP
    Attempted Solution:_
    I previously had various Explicit/Between/In/Like definitions. I have tried to create Complex Logic accounts. When I IMPORT the source file. It creates the proper Logic Account records with the proper C2. But two issues emerge:
    1> I have one logical record and one original record
    2> When I VALIDATE I get converted dimension as per normal mapping not the hard coded value (C2#USD_AUD).
    I tried the following but still not getting expected results:
    Explicit Map 102038 -> IGNORE
    Explicit Map L102001_AUD -> 102001 Any advise would be greatly appreciated.

    You don't need a logic group for this. This is just conditional mapping. Take a look at the admin guide for examples.

  • Lock icon is appeared at right side top of I phone n am unable todo by double pressing on home screen n voice control icon is not appear I want some other solution

    Lock icon is appeared on top right side of I phone and was unable to rotate my screen need urgent solution

    IOS7: Screen Orientation (Rotate)
    Swipe UP from the bottom edge of the screen to see the Control Center, tap the top right icon next to the Crescent to lock/unlock screen orientation.

  • There is already a component with ID OAInternalInsertedFlexibleContentList. Please use some other ID.

    We are trying to create a flexible content in OAF personalization but cannot save due to error.
    There is already a component with ID OAInternalInsertedFlexibleContentList. Please use some other ID.
    Personalization Flexible Content > Create item

    Hello,
    The ID cannot be same for any of the component in that Page. You might have another InternalFlexibleContent list in some other region. OA Framework will not accept it.
    Use different id for it and it should work.
    Yadnesh
    (Hit like or Coreect if you feel so. It encourages user to participate)

  • HT4515 How to make sure that after browsing that the webpage is not running in the background, but totally closed down

    How to make sure that after browsing that the webpage is not running in the background, but totally closed down

    Double tap the Home button, tap & hold the Safari icon until it starts to wiggle, tap the red minus sign to remove it from the Multi-Tasking bar. Tap the Home button when finished.

  • Running Total on a Running Total

    Post Author: MikeA-ICE
    CA Forum: General
    I have set up a running total on a field in a subreport and it is calculating correctly. I set the running total in the Report Footer of the report, then I created a variable which passes the running value back to the main report. The variable is placed in a Group Footer on the main report and it resets on each change of the group. However, now I need the grand total of that running total to appear in the Report Footer of the main report. I created a manual running total formula and placed it it in the Report Footer of the main report. Here it is:NumberVar Sect2MatlTotal;WhilePrintingRecords;NumberVar Sect2MatlTotal := NumberVar RunningSect2MatlTotal + {@Material$Var2a}  The problem is that the value that comes out is grossly larger than it should be. It should be $112,350,582 but it comes back as $212,603,556, which is nearly double what it should be. Can anyone suggest a method that would allow me to place the running total in the Report Footer of the main report and get the correct value that is visible in the Group Footer just above it?

    Post Author: V361
    CA Forum: General
    you may need to select evaluate on group, or reset on group to get this to work.  or just use the shared variable to bring the total down.

  • Percent of running total is returning running percents

    I have a running total in a Group footer.  I want to print the detail percentage of the group total, but the percent doesn't calculate on the total, but rather on the running balance.  For example:
    LINE 1   $25     100%
    LINE 2   $25       50%
                 $50
    But what I need is:
    LINE 1   $25     50%
    LINE 2   $25       50%
                 $50

    Solved my problem.  Used a group total instead of running total.

  • Incrementing Total not correct(adding +1)  in some group totals

    Hi All,
    I have an incrementing total that appears to work fine except when I try to display the total's final count only SOME groups have a +1 count. There doesn't seem to be a logical reason for it.
    Any ideas?
    Incrementing total formula:
    Whileprintingrecords;
    if Not({Command.BI_UPD_DT_TM} > {@f_ConvertRevYrMo_DtTm})
    then
    Global numbervar memberlinecnt := memberlinecnt +1
    else
    memberlinecnt+0;
    Formula to call incrementing total's final group total:
    Global numbervar memberlinecnt:={@f_RRTMemberIncrement};
    memberlinecnt;
    Note: I've not been able to use Running Total fields with this report because I need to evaluate totals based on group criteria and there are multiple groups and criteria.

    Hi Sharon,
    I do have a reset, just didn't include it in my post.
    Reset
    //@Reset (Place this in the group header section suppressed)
    WhilePrintingRecords;
    Global NumberVar memberlinecnt:= 0;
    Like I said,the whole thing appears to work, counting for ever group, resetting; except for only some groups, the total is +1 of the total. I don't know why.
    Thanks,
    John

  • How to run a mapping from plsql procedure in some common group?

    Hi,
    I have a Workflow process, when I running him from OWB I saw in OWB Browser first the name of this process and under this process mappings that in this process.
    In one mapping I have some pre-mapping procedure that doing something and prepare some parameters for other mapping and run it (steps for running a mapping I take from sqlplus_exec_template.sql script) and I can't put this mapping into Workflow process for some reasons.
    But in OWB browser this mapping doesn't belong to my Workflow process, they located on the one level.
    How to modify steps for running mapping so that my mapping is located under this Workflow process in OWB Browser?

    Hi,
    It sounds like what you are trying to do, is run one mapping in a pre-mapping process of another mapping. You use a wrapper that implements sqlplus_exec_template.sql in PL/SQL. Is that correct?
    I don't think that by the way you execute this mapping, it ends up in the context of the process flow. The reason is because according to Warehouse Builder the mapping is being invoked standalone (through the wrapper that implements the template). As a result, the context in which Warehouse Builder would log the messages is lost.
    What I suggest you do (assuming I understand the problem correctly), is run the mapping as a separate mapping in the process flow. Because in the current release we do not support passing output parameters in the process flow, you will have to (temporarily) store the results of the first mapping in a table and pick it up from there in the other mapping. In the next major release (autumn 2004) we will support passing parameters between activities.
    Thanks,
    Mark.

  • Does anyone know how I can create a text field in a pdf document that will multiply a total in another box?

    does anyone know how I can create a text field in a pdf document that will multiply a total in another box? I’m making an interactive pdf for an order form (attached), and I need to find a way for the “total quantity” number to multiply by 9 and total in the “Amount Due” box.

    Hey Gary,
    Have a look at this post: Re: horizontal scrolling similar to excel
    Andy's reply will show you how to make a table scroll horizontally, but it will be tough to accomplish it in some sort of easily replicable way. I am working on a JQuery extension that will help accomplish this, but I have had my time invested in another project at the moment.
    Good Luck,
    Tyson

  • Can't run app from another machine

    Some time ago, I created a prototype using the Flex 2 Beta
    tools, and it is working fine on the machine I built it on. When it
    runs, it reads in some XML files. It runs fine if I run it directly
    from my file system, or from the IIS server on my machine. But if I
    move the files to another directory - on the same machine - I
    cannot run the demo from the file system. I get errors on startup
    saying "file:...blah.xml may not access Internet URL". Also, if I
    move the files to a new machine I get the same problem.
    This demo is being used internally to my organization to try
    to foster the acceptance and potential adoption of Flex
    technologies within the enterprise, and we have a big presentation
    coming up and I need to get this to work on a laptop. What would be
    causing these errors, and how can I fix it? Do I have to install
    the Flex release version (which I will be doing pretty soon,
    anyway) and recompile it? I just would like to understand the
    problem, first.
    P.S. I tried adding a crossdomain.xml file to allow access
    from any domain, but that had no effect, and I'm not sure how that
    even works when launching from the local file system.

    Try adding -use-network=false to your compiler options. I
    don't know if that will work but your symptoms sound
    similar.

  • Question re: JDS/gnome/X and running smc as another user

    Running Solaris 10 on Sun VirtualBox, have one user account in 'Staff' where I want to administer some aspects of my system for the time being as part of best practice for administration. I login to my user account, open a terminal, su - root and then run smc&. I get an error in the terminal window about DISPLAY environtment variable not being set. echo $DISPLAY reveals that it is null, so I export DISPLAY=hostname:0 and then try to run again and I still get the message. I am able to execute smc& from the shell prompt if I am logged into the root session. The only change I have made to the system operations at this point was to move /export/home to a different disk/slice and that mounts fine so and should not have caused an error anyway. If I execute xauth as root and list I get something like this:
    hostname:0 {encryption type} {RANDOM}
    hostname/unix:0 {encryption standard} {RANDOM}This is to say it would appear to be that this is set correctly. [This example|http://docsun.cites.uiuc.edu/sun_docs/C/solaris_9/SUNWabe/ADVOSUG/p33.html#NETWORKAPP-88347] leads me to believe that a null DISPLAY should still allow programs to process by the Xserver/gnome .
    My question then is:
    - How can I run smc from another users session or must I log into a session as root?
    - If DISPLAY is incorrectly set, how can I configure my system to create accounts with the correct settings?
    I should note that *xhost +*, while it disables the access control, has no affect on the outcome of executing smc&.

    Running Solaris 10 on Sun VirtualBox, have one user account in 'Staff' where I want to administer some aspects of my system for the time being as part of best practice for administration. I login to my user account, open a terminal, su - root and then run smc&. I get an error in the terminal window about DISPLAY environtment variable not being set. echo $DISPLAY reveals that it is null, so I export DISPLAY=hostname:0 and then try to run again and I still get the message. I am able to execute smc& from the shell prompt if I am logged into the root session. The only change I have made to the system operations at this point was to move /export/home to a different disk/slice and that mounts fine so and should not have caused an error anyway. If I execute xauth as root and list I get something like this:
    hostname:0 {encryption type} {RANDOM}
    hostname/unix:0 {encryption standard} {RANDOM}This is to say it would appear to be that this is set correctly. [This example|http://docsun.cites.uiuc.edu/sun_docs/C/solaris_9/SUNWabe/ADVOSUG/p33.html#NETWORKAPP-88347] leads me to believe that a null DISPLAY should still allow programs to process by the Xserver/gnome .
    My question then is:
    - How can I run smc from another users session or must I log into a session as root?
    - If DISPLAY is incorrectly set, how can I configure my system to create accounts with the correct settings?
    I should note that *xhost +*, while it disables the access control, has no affect on the outcome of executing smc&.

  • Problems with running AIR on another computer

    Hello,
    I developed an Adobe AIR application and I want to give it
    to some users in order to do evaluation related to my research. I
    exported the project to air file and installed it on another
    computer. After running it an empty screen was shown, but not my
    application. It looks in the same way as in the design view of Flex
    Builder – empty. I tried the same for some other simple
    applications and I did not have that problem. The application I
    have problems with is in a few files and has about 4000 lines of
    code.
    Can I have some assistance, please?
    Regards

    Could the app. run correctly on your own machine after you
    exported the app.?
    You might need to make sure you package all the files you
    need into the AIR file.
    -ted

  • Hi - I'm trying to sync iBooks on my Macbook Pro with iBooks running on my iPad. I have some pdf's download from the net I want to share between devices and I can't work out how to sync the two devices. Any help please?

    Hi - I'm trying to sync iBooks on my Macbook Pro with iBooks running on my iPad. I have some pdf's download from the net I want to share between devices and I can't work out how to sync the two devices. Any help please? I'm running Mavericks

    Thanks for your help Brij011 - much appreciated. Apologies as I'm a newbie but I've looked at the info for synching and I appear to have all the switches flicked on my iPad. Does the iPad and iBooks only sync in iCloud for purchases as I appear to be doing something wrong. I could sync ok when books was in iTunes but since migrating to Mavericks I think I'm doing something wrong!!

Maybe you are looking for

  • Vowels and consonants count of a string

    Hi... 1.    plz provide code for counting no of  vowels and        Consonants   in a STRING.... suppose the string is BUSINESS. and also other 2.     program to pass the string during runtime and couting vowels,consonants and also checking whether th

  • XML Sax Exception with 9.2.0.5 express*.jar files for Olap API

    I was using the olap_api_92.jar that came with jdeveloper for the olap api and having a coding problem.. In trying to see if I could resolve the previous problem, I set my classpath to use the jar files provided with the 9.2.0.5 install for AiX.. all

  • Problem in XPath query with namespace

    Hi All, Please help me on this topic.I given xml document which i have inserted into Oracle XML DB 10g R2 without registering xml schema. I am listing out my problem here. 1. I need to get the value of cost element.If i have parent node duplicate <?x

  • Sequence Order on time line

    I noticed on the newest version of Adobe Premiere 2014, the sequence order keeps getting messed up with ever-time I open it. I exit out of it with sequences in a specific order on timeline. Next time I go in Adobe the sequences there are out of order

  • Ship.condition 01 loading grp 0003 plant MCP1 StLoc not defined Message no.

    Dear all Why I am getting this message when i try to add shipping point at item level in Quotation "Ship.condition 01 loading grp 0003 plant MCP1 StLoc not defined Message no.V1358" Kindly help me to resolve this error. Thanks and Regards M.Dheerenda