Percent

Post Author: lhs822
CA Forum: Formula
Hi,
I am new to Crystal Reports, but I have a report written and I would like to add 3 formula fields at the bottom to show whether the performance as late, on-time, or early. Here is an example:
The detail of the report shows all of the work orders and quantities that were completed that day. Then it is grouped by the day that the work order was due and shows a percentage of how much of the total completed that day was for due on that day. Since there are multiple days that could be late or early, that would be another group, right? So, what I am trying to accomplish is have a field at the bottom showing total percentage late, a field showing total percentage on time, and a field showing total percentage early.
On 6/4, we completed work orders due 4/27 which would be late, 5/22 which would be late, 5/24 which would be late, etc.
6/4/07     4/27        22.61         .06%  Late     5/22   10182.92     28.99%  Late     5/24      408.68       1.16%  Late     6/4      3280.59       9.34%  On-time
I would like to make a calculation field to show the total late percentage, total on-time percentage, then total early percentage for the month.
Thanks!

Post Author: synapsevampire
CA Forum: Formula
Group by the date due.
Suppress the Details section.
In the Group footer place:
(distinctcount({table.orderid},{table.duedate})/distinctcount({table.orderid}))*100 & "%"
To get the sum of values for that due date level use:
sum({table.value},{table.duedate})
-k

Similar Messages

  • Project Physical Percent Complete IS not Getting updated in Fusion Projects

    Hi Everyone,
    I am Working on Fusion PPM Release9
    In Project Plan Type i have set Physical Percent Complete to Cost & Automatic But in dashboard the Project Physical Percent Complete is not Updating
    Please help me with the issue
    Thanks
    Shaan

    Hi Kedar,
    It should not happen.
    Question: Do such projects have a direct underlying task?
    I have know a problem, which occurs only that the project has direct underlying task.  If yes, I will find the note for it.
    Kind regards,
    Zhenbo

  • Is there a way to fix particular percent of slice area to each level value

    Is there a way to fix particular percent of slice area to each level value in a flash pie Chart?
    I need a pie chart for Distribution of Escalations by Status; here I have following status Record in my table
    5 record for Status: Reopen
    2 record for Status: Escalated
    2015 record for Status: Closed
    12 record for Status: Open
    1000 record for Status: WIP
    So I am not able to see data in pie chart for Status Reopen, Escalated, and Open, bcz all levels are overlapping each other
    So I want to fix particular percent of slice area to each level value(Reopen, Escalated, Closed , WIP and Open)
    For e.g. I want to show 15% slice area of chart for Escalated, 10% for Reopen, 20% for Open
    25% for WIP and 30% for Closed. So i can see record for all status while that have less data as compare to other
    status.
    I am using following query for pie Chart….
    SELECT
    ''javascript:dhtml_GetReport_r2(0,0,0,0,0,''''''||''''||STATUS||''''||'''''',0)'' link,
    nvl(STATUS,''Unknown'') label,
    COUNT(ISSUE_ID) Escalations
    FROM XYZ_ITR_MAIN
    WHERE 1=1 GROUP BY STATUS;
    Thanks
    Rathore
    Edited by: Rathore on 01-Apr-2010 02:37

    Your requirement makes sense from the point of visibility but doesn't make sense having the facts in mind that 2 out of 3034 is always 0,000659195% no matter how you look at it. And a pie chart is always going to give you exactly that. The only thing you can do is to manipulate your data but then what a user will see is not going to match with the reality. So, the only solution I see is to make a bigger chart. Exploding a pie chart is also an alternative but I don't think you can do that currently with the flash charts.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • IPhone 5s iOS 8.1.2 turning off at random battery percents?

    For Christmas i was lucky enough to receive and iPhone 5s, upgrading from my 2 year old iPhone 4s which had a terrible battery life and numerous other glitches. All excited on Christmas day i restored my brand new iPhone 5s from the back up of my old iPhone 4s, then on that very day, my phone died at 55%, tried turning it back on and it indicated that i needed to plug it into a charger. i waited a minute, tried turning it back on, and it worked, showing that it had 53% left? so i continued to use my new phone, i was playing music out load and using Facebook messenger, then again it suddenly died, this time at 48%, tried the same method mentioned previously with the exact same result.
    Searching the internet for possible solutions, i tried a "DFU Restore". DFU stands for device firmware update. This did not provide any fix to the battery issue, the following day it suddenly shut down at 60%. I again tried a "DFU Restore" only this time i did not restore it from a backup, the first DFU "Restore" i restored it from the backup of the phone, the second time i didn't wondering if the issue was related to the backup. The second time worked, at least for a few days, then again it suddenly shut down with plenty of percent left.
    In Summary:
    My Brand new iPhone 5s with the latest iOS is randomly shutting down with plenty of percent left and then requires either charging to turn back on OR wait a minute or so and it will be able to be turned back on, only for the same thing to happen a minute later.
    I do not think my phone is incorrectly reading the battery level as it seems to be used at a normal rate.
    I have Tried:
    Restore
    "DFU Restore"
    Draining battery to 0% and charging to 100%
    Verbally abusing my iPhone
    All with no fix to my problem
    I am asking for advice, what else should i do? is their a fix that i don't know of? should i replace the battery? i don't know what else to do....

    You should get your phone checked by visiting an Authorized Apple Service Provider or Apple Store next to your place.
    You can also contact Apple Support and talk to them. They can check the battery online, visit this page to do that:
    iPhone - Contact Support - Apple Support
    Click on Apple Support, then on ->Battery, Power &Charging ->Battery questions and troubleshooting, and follow the instructions.

  • Employment percent and Capacity Utilization Level

    What is the significance of the Employment percent field on infotype 0007 and the Capacity utilization field on infotype 0008?  Are either one of them used by the Payroll processor to determine salary and net pay if the CATS time system is not implemented?
    We want to pay part-time monthly employees, for example, at 80% of their salary if they have an 80% work schedule.  We do not wish to change the salary, but can't figure out how these percent fields would change their pay.  They don't seem to in our testing.
    Regards
    Janice Ishee

    If you  are  using Indirect valuation of wage types  & Specyfying  Reduction Method as 2  in wage type characteristics , the Amount is reduced According to the capacity Utilization specified in IT 8 .
    Subhash

  • 6.2.9 in 10.6.4, can't scale by percent

    I've been needing to get at some drawings done in Appleworks 6.2.9 last year, but I'm finding that I can no longer scale by percent, although everything else seems to work. I get an "invalid number" error every time. I've tried all the usual maintenance stuff but nothing seems to help.
    Any suggestions for a way to get this going again?

    I tried 6.2.4 & had no problems with a very simple draw object, so I thought the problem might be 6.2.9. But I recreated the same simple object in 6.2.9 & had no problems resizing using scale by percent. I don't have any older AppleWorks draw documents handy to try. Could you send me one or two & I'll give it a try here?

  • How to calculate the Percent change in a dynamic

    hi All,
    I'm trying to get the percent increase/change of two dynamic
    colums.  In my report, the user has a checkbox where he can select two colums to calculate the percent growth.
    My DataSet is PilarName, Calification(is a decimal value) and Period (this is a string).  I created the Matrix this way:
    PilarName [Period]
    [PilarName] [Calification]
    Which give me these values:
    So, now I need to create another column to calculate the percentage change between these two colums.  I tried this:
    I added a Adjacent column group for Period column and I grouped by the calculated column "ColumnDiff".  Add the following expression.
    =(SUM(Fields!Calificacion.Value)- Previous(SUM(Fields!Calificacion.Value),"ColumnDiff"))/Previous(SUM(Fields!Calificacion.Value),"ColumnDiff")
    After that I get: 
    I'm getting the sum of the two columns instead.
    Any clue about what I'm doing wrong? Please help me, I've been looking for the answer but any solution works for me.
    Luis Carlos

    Hi Luis,
    According to your description, you have a report with different dynamic columns. Now what you want is show your user percentage growth in your matrix report after your user select two of those columns (I think you may use parameter to achieve your “checkbox”
    function). Is my understanding correct?
    In Reporting Service, we can’t calculate dynamic columns with our build-in arrogation functions. So we need to add custom code into our report, and call those functions which defined in custom code in our expression. We have tested your scenario in our local
    environment. Here are steps and screenshots for your reference.
    Go to your Report Properties, add the custom code below into your report:
    Dim Shared Num1 As Double
    Dim shared Num2 As Double
    Public Function GetCalification(Calification as Double,Type as String,Type2 as String) 
    If Type = Type2 Then
       Num1=Calification
    Else
       Num2=Calification
    End If 
    Return Calification 
    End Function
    Public Function GetPec()
    Return (Num2-Num1)/Num1
    End function
    Create a matrix. Put PilarName into Row field, put Period into Column field. In Data field, put the expression below into the textbox:
    =Code.GetCalification(Fields!Calification.Value,Fields!Period.Value,Parameters!Period.Value(0))
    In our sample report, we created a parameter (named Period) for selecting two columns. You can replace “Parameters!Period.Value(0)” with your own parameter.
    Add an outside column at right (%Growth), put the expression below into the textbox:
    =Code.GetPec()
    Save and preview. The matrix and result looks like below:
    Reference:
    Custom Code and Assembly References in Expressions in Report Designer (SSRS)
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Block Planning Display block options eg Percent of block utilised and Qtys?

    Any hints how to display block quantities and percent utilised in PPDS area?
    I have managed so far to get the following for blocks that cross between months.
    1. Resource table. (/SAPAPO/RPT - Resource Planning Table )Can highlight both columns that the specific block is in, click "show operations", get the operations to show in the bottome screen, and the FILTER on the specfic dates to get the block quantities.
    This works to get a block quantity but would need to do a slow manual process for every block!
    2. Receipts View (/SAPAPO/RRP4). Can set up a visualisation profile which shows my characteristic in a column in the report, and then I can select a SINGLE resource from the front selection and get a listing of the quantities from that single resource, and then with filters on dates and/or characteristic, I can get the quantities.
    But this is slow and manual per resource.
    3. Detailed scheduling board shows VISUALLY whether blocks look full or not, but I cant find any way of getting any block quantities or percent complete from this view.
    Ideally, I want a way I can download all resource quantities and block quantities and then determine percent utilized in the blocks and put alerts on this to show which blocks are under-utilised.
    Any ideas????

    Aha. Found it.
    in the DS Planning board.
    click an order on block and then EDIT/SELECT/ALL FOR SAME BLOCK
    then
    EXTRAS / EVALUATION / EXTENDED OPERATIONS LIST - this gives all the quantities for selected block
    then
    EXTRAS / EVALUATION / RESOURCE UTILIZATION - select blocks and get percent utilisation for blocks

  • How can I convert (or switch) the RGB percent values from the LR histogram into RGB values which are shown e. g. in PS/CameraRAW?

    In LR 5.5 (same in previous versions) the RGB values in the histogram are shown in percent (relativ) values. I prefere to see the absolute values, but I can`t find any way to switch. Maybe this option is intentional disabled, because LR works in 16-Bit mode this would result in values up to 2^16. But as i compared the relativ values from LR with the absolute values from PS i run into a conversion problem. The following example shows the differences:
    CameraRAW : RGB, 128,0,0
    Lightroom: RGB, 43,8%, 19,0%, 6,2%
    CameraRAW: RGB, 0,128,0
    Lightroom: RGB, 29,8%, 47,5%, 17,5%
    Mainly i have two questions:
    1. Is there any possibility to change the percent RGB values in LR to absolut values?
    2. How can i convert CameraRAW values to LR values (see above)?

    TThe reason that a design decision was made from the beginning of LR to show only the percentage values was that RGB values are dependent on the color space and the LR histogram and numerical readout are derived from the Develop module's display space which is a hybrid color space with ProPhoto RGB primaries and the sRGB TRC. Thus the numerical values in the display would be different from the exported RGB image (in an orthodox space) and it was feared that this would be misleading. When soft proofing was introduced, because it involved converting the display to an orthodox space, it became possible to use the 0-255 scale in that mode.

  • With my iPod Touch I need to reboot the wi-fi about half the time when accessing wi-fi connected apps, more like 80 percent when using Viggle. Irritating.

    My iPod Touch has a quirky wi-fi connection. About half the time I need to go to settings and reboot the wi-fi to use apps like weather and mail, more like 80 percent with Viggle. It is irritating. Is it an iPod software problem? I don't have this problem with other platforms.

    Do you have this problem when connected to other networks?
    Try the following to rule out a software problem:                 
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Power off and then back on the router
    - Reset network settings: Settings>General>Reset>Reset Network Settings
    - iOS: Troubleshooting Wi-Fi networks and connections
    - Restore from backup. See:
    iOS: How to back up
    - Restore to factory settings/new iOS device.
    If you ony have the problem with your network that indicates a problem with your router.

  • My iPhone 4S battery refuses to charge past 1 percent. Why is that, and how do I stop it?

    While I was out I check my iPhone at 90% battery. I checked it 5 minutes later and it was reduced to one percent. I had the Wifi off, and the Bluetooth off, and plugged it into a wall charger. Now it won't go past one percent. Help!

    Welcome to the Apple Community.
    You can always transfer the photos via your computer using a cable.

  • How to add the percent (%) symbol at the end of a number in a form field

    Hi,
    I need to display a percentage as a result of a calculation in the form: 80.23%
    How can I direct the Format Mask     inside an APEX form to display that?
    I use a PL/SQL expression
    Thank you

    There is no solution to this?
    I would think that since the percent symbol is a very common symbol next to numbers that it should have been a native format in oracle.
    this needs to be escalated to the database team.

  • Simple Java 3D program’s CPU Usage spikes to up to 90 percent!

    Hi, everyone. I’m completely new to Java 3D and I’m toying around with basic program structure right now. My code is based off of that in the first chapter on 3D in Killer Game Programming in Java. I removed most of the scene elements, replacing them with a simple grid, Maya style. (Yes, I’m starting off small, but my ambitions are grand – I intend on creating a polygonal modeling and animation toolset. After all, the Maya PLE is dead – damn you, Autodesk! – and I just plain dislike Blender.) I implement a simple OrbitBehavior as a means for the user to navigate the scene. That part was basically copy and paste from Andrew Davison’s code. The mystery, then, is why the program’s framerate drops below 1 FPS and its CPU Usage spikes to up to 90 percent, according to the Task Manager, when I tumble the scene. I’d appreciate anyone taking the time to look at the code and trying to identify the problem area. (I’ve undoubtedly missed something totally newbish. -.-) Thank you!
    (Also, I had the worst possible time wrestling with the posting process. Is anyone else having trouble editing their posts before submitting them?)
    import java.awt.*;
    import javax.swing.*;
    public class MAFrame
        public static final Dimension SCREEN_SIZE = Toolkit.getDefaultToolkit().getScreenSize();
        public MAFrame ()
            System.out.println("Initializing...");
            try {
                UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
            catch (Exception e) {
                e.printStackTrace();
            JFrame frame = new JFrame ("Modeling and Animation");
            frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            MAViewPanel panel = new MAViewPanel ();
            frame.getContentPane().add(panel);
            frame.pack();       
            frame.setLocation(((int)SCREEN_SIZE.getWidth() / 2) - (frame.getWidth() / 2),
                              ((int)SCREEN_SIZE.getHeight() / 2) - (frame.getHeight() / 2));     
            frame.setVisible(true);
    import com.sun.j3d.utils.behaviors.vp.*;
    import com.sun.j3d.utils.geometry.*;
    import com.sun.j3d.utils.universe.*;
    import java.awt.*;
    import javax.media.j3d.*;
    import javax.swing.*;
    import javax.vecmath.*;
    public class MAViewPanel extends JPanel
        public static final int GRID_SIZE = 12;
        public static final int GRID_SPACING = 4;
        public BoundingSphere bounds;
        public BranchGroup sceneBG;
        public SimpleUniverse su;
        public MAViewPanel ()
            GraphicsConfiguration config = SimpleUniverse.getPreferredConfiguration();
            Canvas3D canvas3D = new Canvas3D (config);               
            canvas3D.setSize(600, 600);
            add(canvas3D);
            canvas3D.setFocusable(true);
            canvas3D.requestFocus();
            su = new SimpleUniverse (canvas3D);
            createSceneGraph();
            initUserPosition();
            orbitControls(canvas3D);
            su.addBranchGraph(sceneBG);
        public void createSceneGraph ()
            sceneBG = new BranchGroup ();
            bounds = new BoundingSphere (new Point3d(0, 0, 0), 1000);
            // ambient light
            Color3f white = new Color3f (1.0f, 1.0f, 1.0f);
            AmbientLight ambientLight = new AmbientLight (white);
            ambientLight.setInfluencingBounds(bounds);
            sceneBG.addChild(ambientLight);
            // background
            Background background = new Background ();
            background.setColor(0.17f, 0.65f, 0.92f);
            background.setApplicationBounds(bounds);       
            sceneBG.addChild(background);
            // grid
            createGrid();
            sceneBG.compile();
        public void createGrid ()
            Shape3D grid = new Shape3D();
            LineArray lineArr = new LineArray (GRID_SIZE * 8 + 4, GeometryArray.COORDINATES);
            int offset = GRID_SIZE * GRID_SPACING;
            // both sides of the grid plus the middle, done for both directions at once (each line defined by two points)
            for (int count = 0, index = 0; count < GRID_SIZE * 2 + 1; count++) {
                // vertical, left to right
                lineArr.setCoordinate(index++, new Point3d (-offset + (count * GRID_SPACING), 0, offset));  // starts near
                lineArr.setCoordinate(index++, new Point3d (-offset + (count * GRID_SPACING), 0, -offset)); // ends far
                // horizontal, near to far
                lineArr.setCoordinate(index++, new Point3d (-offset, 0, offset - (count * GRID_SPACING))); // starts left
                lineArr.setCoordinate(index++, new Point3d (offset, 0, offset - (count * GRID_SPACING)));  // ends right
            grid.setGeometry(lineArr);
            sceneBG.addChild(grid);
        public void initUserPosition ()
            ViewingPlatform vp = su.getViewingPlatform();
            TransformGroup tg = vp.getViewPlatformTransform();
            Transform3D t3d = new Transform3D ();
            tg.getTransform(t3d);
            t3d.lookAt(new Point3d (0, 60, 80), new Point3d (0, 0, 0), new Vector3d(0, 1, 0));
            t3d.invert();
            tg.setTransform(t3d);
            su.getViewer().getView().setBackClipDistance(100);
        private void orbitControls (Canvas3D c)
            OrbitBehavior orbit = new OrbitBehavior (c, OrbitBehavior.REVERSE_ALL);
            orbit.setSchedulingBounds(bounds);
            ViewingPlatform vp = su.getViewingPlatform();
            vp.setViewPlatformBehavior(orbit);     
    }

    Huh. A simple call to View.setMinimumFrameCycleTime() fixed the problem. How odd that there effectively is no default maximum framerate. Of course simple programs like these, rendered as many times as possible every second, are going to consume all possible CPU usage...

  • I had switches off my iPhone 5 at around 20 percent battery next morning I was not able to switch it on. I tried to get it charged but it didn't showed any sign of charging even when plugged in for about 2 hours. I had to take it to apple care centre

    I had switches off my iPhone 5 at around 20 percent battery next morning I was not able to switch it on. I tried to get it charged but it didn't showed any sign of charging even when plugged in for about 2 hours. I had to take it to apple care centre but they refused to repair it after confirming the problem with the device as it was out of warranty and asked me to get it replaced for INR 22500. I got it repaired outside but after that also if I switch it off in the same situation it again happens and I have to take it for repair it has happened 3 times after that. Is it a inherent problem in iPhone that it uses battery even when switched off and if in that case battery drain out then refuse to get charged because this is the scenario i have experienced every time?

    Apple told you it was unrepairable.... You had it serviced by an unauthorized party. It's now no longer eligible for out of warranty replacement by Apple.
    There's really nothing else we can say about it. Find a competent 3rd party repair shop or buy a new one.

  • In A/P Service Invoice, a discount percent amount is automatically entered

    Hi all,
    I am stumped.  On a random basis (about 25% of time) a discount percent is appearing (not entered) in the field of a multi-line A/P Service invoice.  The percent amount appears to be random as well. The discount percent field is not visible and inactive in form settings.  What could be causing this?
    Thanks, Bill

    Hi,
    Please check the following scenario :
    One scenario is caused when the Total amount changed after system calculate it according to Unit Price.
    Check the following steps to reproduce this scenario,
    - open ap invoice and choose Services
    - choose an account and type Unit price, Total amount will be
      calculated automatillcay
    - change the total amount.
    - System will calculate the difference and leave it in Discount field.
      Not change the Price field.
    Kind Regards,
    Jitin
    SAP Business One Forum Team

  • My iPhone 3Gs has frozen and I can't do anything except turn it off by hard boot. When I plug it in, I have the apple icon and that is all. It was at 43 percent battery life when it happened and my Twitter app was giving me problems. Thoughts?

    My iPhone 3Gs has frozen and I can't do anything except turn it off by hard boot. When I plug it in, I have the apple icon and that is all. It was at 43 percent battery life when it happened and my Twitter app was giving me problems. Thoughts?

    Put it in recovery mode and restore it as described here: http://support.apple.com/kb/ht1808.

Maybe you are looking for

  • Not what I expected

    So instead of arguing with a billing agent, I had to hang up with them and regain my composure. I for one do not expect anything for free. I work my tail off for what I have and when I pay for something, I expect it to be nothing but what I paid for.

  • PDF Portfolio on Flash ActiveX

    Is there any way to open PDF Portfolio's SWF file in Flash ActiveX (Visual C++ project)? How to implement communications between Flash ActiveX and its container? I know that Adobe has public PDF Reference and PDF portfolio is a part of this, but I ca

  • Bank guarantees

    hi I am very new to this Bank Guarantees Concept can any body tell me what is the meaning of the Bank Guarantees and how to configure it and what are the transaction codes used  pl   thanks in advance points will be rewarded

  • CAR Radius client

    Hi, I am searching for a Cisco Switch with CAR compatible Radius client. This is for prepaid billing. Can anyone identify this switch

  • Discoverer Desktop 10.1 and Excel

    I have a report that is creating an output of 589,000 rows. I have both Excel 2003 and 2007 loaded to my desktop. Unfortunaltey, when I export to Excel, my output file has only 65536 rows, which of course is the Excel 2003 limitation. Excel 2007 has