Percentage of the Total of column

Hello

I'm trying to calculate the percentage of the total of the column for each month. I am using the syntax below by counting (Num) where PRP = 'Y' and the GROUP = 'No' and divide that number by the total number for the month:

<? County (current-group () [NAME = xdoxslt:get_variable($_XDOCTX,_'vName') and PRP = 'Y'])
(and GROUP = 'No'] / NUM) div count (current - group () [PRP = 'Y'])? >

Can anyone help understand where the problem lies?

Thank you

You get an error when you use the code you listed?

Try this:

Thank you
Bipuser

Tags: Business Intelligence

Similar Questions

  • Need a Script to the space of images on a total gap, then tag each image with the percentage of the total image space

    By editing the other scripts, I found here and other sites (including the labels size rorohiko), I worked on a script that will each image with the dimensions of the label and calculate the percentage of the spread of everything (including the text, white space).

    Now, I was invited to a script that tagged the images with the percentage of total image on a gap space. This script is so space images on a total gap, then tag each image with the percentage of the total image space. For example if there is an image that is 10 x 10 inches and four pictures that are images of 2.5x2.5, 10 x 10 would be tagged with 50% and the 2.5x2.5 would be tagged with 12.5%.

    This is the script that does the percentage of total circulation. Can some clever person get to do what I need?

    Suze

    (Sorry, I don't know how to post the script here with line numbers!)

    //

    This script adds printing of information labels to each graphic image. The labels are on a separate layer

    named "PercentageLabels" so that all these added labels can be removed again by simply removing

    the layer.

    //

    If you move or resize items, simply re-run the script to update the labels.

    //

    Before (re) start the script, you can define a paragraph style "SizeLabelStyle".

    This style will apply to all content on labels.

    //

    Before (re) start the script, you can set a style of object 'SizeLabelObjectStyle '.

    This style of object apply to all executives of the label - so if you want a specific background

    fill out or frame, do it through this object style.

    //

    You can change the units of the size label. I put in inches. Change the line below that has

    kUnitToUse - you can use:

    MeasurementUnits.CENTIMETERS

    MeasurementUnits.CICERO

    MeasurementUnits.INCHES

    MeasurementUnits.MILLIMETERS

    MeasurementUnits.PICAS

    MeasurementUnits.PIXELS

    MeasurementUnits.POINTS

    //

    By default the script will not attempt to label the "nested" images If you also want to label

    nested images (for example inline images, anchored frames, pasted images in the images,...) to change the line

    below to read:

    kLabelNestedItems = 1

    //

    If you want a specific image to stay without a label, you can use the Script label palette for

    assign a script called 'ignore' for this frame. The script will then not label this framework to the

    the title of the script is removed again.

    //

    Change the lines with kDontLabelImageFrames, kDontLabelTextFrames, kDontLabelOtherFrames

    below if you want to restrict labelling to only certain types of images: replace the '0'

    in "1" to enable these options.

    //

    Change the line with kShowImageFileName if you also want to display the names of the image in the

    size for the picture frames.

    //

    Small frames are not labelled - the cutoff point is currently a less than 0.1 inch high framework

    or 0.1 inch wide. You can change the cutoff point by adjusting the lines with kDontLabelBelowWidth

    or kDontLabelBelowHeight below.

    //

    var Girard;

    var gScriptFile;

    var gCaches;

    // ****************

    That's cheating spread automatically calculated

    var doc = app.activeDocument;

    doc.viewPreferences.horizontalMeasurementUnits = MeasurementUnits.inches;

    doc.viewPreferences.verticalMeasurementUnits = MeasurementUnits.inches;

    PageWidth = doc.documentPreferences.pageWidth var;

    stucture var pagewidth = * 2;

    var spreadheight = doc.documentPreferences.pageHeight;

    var spreadsquinch = stucture * spreadheight;

    Alert ("the total measure of square inch of spread is:" + spreadsquinch);

    //******************

    VR;

    {

    If (app.activeScript instanceof file)

    {

    var gScriptFile = app.activeScript;

    }

    }

    catch (Girard)

    {

    }

    If (typeof (kLogLevel) is "undefined")

    {

    const kLogLevel = 5;

    const kMaxLogNestLevel = 5;

    const kLogToMessageBox = 0;

    const kLogToConsole = 0;

    const kLogToFile = 0;

    const kLogFileName = "PercentageLabels.log";

    const kIgnoreFrameLabel = "ignore."

    const kSizeLabelLayerName = "PercentageLabels";

    const kLabelNestedItems = 0;

    const kDontLabelImageFrames = 0;

    const kDontLabelTextFrames = 1;

    const kDontLabelOtherFrames = 0;

    const kUnitToUse = MeasurementUnits.INCHES;

    const kShowImageFileName = 0; This set to 1 to precede the name of the image file in the tag

    Below all of the measures are expressed in kUnitToUse (e.g. inches if MeasurementUnits.INCHES is used)

    const kRoundToDecimals = 2;

    The separator to use between objects - for example MyImage.jpg - 7.22 x 9,34

    const kSeparatorBetweenNameAndSize = "-";

    const kSeparatorBetweenHeightAndWidth = "H x"; "

    const kSeparatorAfterWidth = "W";

    const kDontLabelBelowWidth = 0.1; In kUnitToUse

    const kDontLabelBelowHeight = 0.1; In kUnitToUse

    const kLabelStyleName = "SizeLabelStyle";

    const kLabelObjectStyleName = "SizeLabelObjectStyle";

    const kLabelHeight = 0.6; In kUnitToUse

    const kLabelWidth = 2.5; Expressed in kUnitToUse (e.g., inches).

    }

    var gRunState =

    {

    logToMessageBox: kLogToMessageBox,

    logToConsole: kLogToConsole,.

    logToFile: kLogToFile,.

    functionNestLevel: 0,

    logFunctionEntry: true,

    logFunctionExit: true,

    logLevel: kLogLevel,.

    logFileName: kLogFileName

    };

    Main();

    // ****************

    function ConvertToFrame (thePageItem)

    {

    / * / / / LogEntry ("ConvertToFrame");

    var retVal = thePageItem.getElements () [0];

    / * / / / LogExit ("ConvertToFrame");

    Return retVal;

    }

    // ****************

    function CollectionToArray (theCollection)

    {

    / * / / / LogEntry ("CollectionToArray");

    var retVal = theCollection.everyItem () .getElements () .slice (0);

    / * / / / LogExit ("CollectionToArray");

    Return retVal;

    }

    // ****************

    function GetImageFile (pageItem)

    {

    / * / / / LogEntry ("GetImageFile");

    var imageFile = null;

    do

    {

    Try

    {

    pageItem = ConvertToFrame (pageItem);

    If (!) (("allGraphics" in pageItem))

    {

    break;

    }

    var allGraphics = pageItem.allGraphics.slice (0);

    If (allGraphics.length == 0)

    {

    break;

    }

    var chart = allGraphics [0];

    var graphic.itemLink = link;

    imageFile = new File (link.filePath);

    }

    catch (Girard)

    {

    }

    }

    While (false);

    / * / / / LogExit ("GetImageFile");

    return imageFile.

    }

    // ****************

    function GetImageName (pageItem)

    {

    / * / / / LogEntry ("GetImageName");

    var imageName = "";

    do

    {

    var imageFile = GetImageFile (pageItem);

    If (imageFile is nothing)

    {

    break;

    }

    imageName = imageFile.displayName;

    }

    While (false);

    / * / / / LogExit ("GetImageName");

    return imageName;

    }

    // ****************

    function GetOuterPageItem (pageItem)

    {

    / * / / / LogEntry ("GetOuterPageItem");

    var retVal = null;

    do

    {

    Try

    {

    retVal = pageItem.parent;

    If (retVal instanceof spread | retVal instanceof Page)

    {

    retVal = pageItem;

    break;

    }

    If (retVal instanceof character)

    {

    retVal = GetOuterPageItem(retVal.parentTextFrames[0]);

    break;

    }

    }

    catch (Girard)

    {

    retVal = null;

    }

    }

    While (false);

    / * / / / LogExit ("GetOuterPageItem");

    Return retVal;

    }

    // ****************

    function LogMessage (message, collapseLines)

    {

    If (gRunState.logToConsole)

    {

    $.writeln (message);

    }

    If (gRunState.logToFile)

    {

    var logFile = new file (gScriptFile.parent + "/" + gRunState.logFileName);

    var now = new Date();

    logFile.open ("a");

    logFile.write (now.toString () + ":"+ message + "\n" ');

    logFile.close ();

    }

    If (gRunState.logToMessageBox)

    {

    Alert (message);

    }

    }

    // ****************

    LogEntry (message) function

    {

    If (gRunState.logFunctionEntry)

    {

    If (gRunState.functionNestLevel < kMaxLogNestLevel) {}

    for (var idx = 0; idx < gRunState.functionNestLevel; idx ++)

    {

    message = "" + message;

    }

    Filled (message + "<", true);

    }

    }

    gRunState.functionNestLevel ++;

    }

    // ****************

    function LogError (message)

    {

    If (gRunState.logLevel > = 1).

    {

    LogMessage ("* ERROR *:" + message, false);

    }

    }

    // ****************

    function LogExit (message)

    {

    -gRunState.functionNestLevel;

    If (gRunState.functionNestLevel < 0)

    {

    LogError ("LogExit: unbalanced nesting of function");

    }

    If (gRunState.logFunctionExit)

    {

    If (gRunState.functionNestLevel < kMaxLogNestLevel) {}

    for (var idx = 0; idx < gRunState.functionNestLevel; idx ++)

    {

    message = "" + message;

    }

    Filled (message + ">", true);

    }

    }

    }

    // ****************

    function LogNote (message)

    {

    If (gRunState.logLevel > = 3)

    {

    LogMessage ("Note:" + message, false);

    }

    }

    // ****************

    function LogWarning (message)

    {

    If (gRunState.logLevel > = 2)

    {

    LogMessage ("WARNING:" + message, false);

    }

    }

    // ****************

    function Main()

    {

    / * / / / LogEntry ("Main");

    var savedUserInteractionLevel = app.scriptPreferences.userInteractionLevel;

    app.scriptPreferences.userInteractionLevel = UserInteractionLevels.NEVER_INTERACT;

    do

    {

    Try

    {

    activeDocument var = app.activeDocument;

    If (!.) (activeDocument instanceof Document))

    {

    LogError ("hand: activeDocument isn't a Document");

    break;

    }

    var savedHorizontalMeasurementUnits = activeDocument.viewPreferences.horizontalMeasurementUnits;

    activeDocument.viewPreferences.horizontalMeasurementUnits = kUnitToUse;

    var savedVerticalMeasurementUnits = activeDocument.viewPreferences.verticalMeasurementUnits;

    activeDocument.viewPreferences.verticalMeasurementUnits = kUnitToUse;

    var savedRulerOrigin = activeDocument.viewPreferences.rulerOrigin;

    activeDocument.viewPreferences.rulerOrigin = RulerOrigin.PAGE_ORIGIN;

    do

    {

    Try

    {

    ProcessFrames (activeDocument);

    }

    catch (Girard)

    {

    Alert ("the script encountered a situation that we don't know how to handle. "He received the error, says '" + Parker + "' in Main()"); "."

    }

    }

    While (false);

    activeDocument.viewPreferences.rulerOrigin = savedRulerOrigin;

    activeDocument.viewPreferences.horizontalMeasurementUnits = savedHorizontalMeasurementUnits;

    activeDocument.viewPreferences.verticalMeasurementUnits = savedVerticalMeasurementUnits;

    }

    catch (Girard)

    {

    Alert ("the script encountered a situation that we don't know how to handle. "He received the error, says '" + Parker + "' in Main()"); "."

    LogError ("Hand throw" + Girard);

    }

    }

    While (false);

    app.scriptPreferences.userInteractionLevel = savedUserInteractionLevel;

    / * / / / LogExit ("Main");

    }

    // ****************

    function ProcessFrames (doc)

    {

    / * / / / LogEntry ("ProcessFrames");

    var err;

    do

    {

    If (!.) (doc instanceof Document))

    {

    LogError ("ProcessFrames: doc should be a Document");

    break;

    }

    Try

    {

    var existingLayer = doc.layers.itemByName (kSizeLabelLayerName);

    existingLayer.id;

    existingLayer.remove ();

    }

    catch (err)

    {

    }

    If (kLabelNestedItems)

    {

    var pageItems = doc.allPageItems.slice (0);

    }

    on the other

    {

    var pageItems = CollectionToArray (doc.pageItems);

    }

    var frameReferences = [];

    for (var pageItemIdx = 0; pageItemIdx < pageItems.length; pageItemIdx ++)

    {

    do

    {

    var pageItem = pageItems [pageItemIdx];

    If (pageItem.itemLayer.name is kSizeLabelLayerName)

    {

    break;

    }

    var pageItem = ConvertToFrame (pageItem);

    If (instanceof TextFrame pageItem)

    {

    If (kDontLabelTextFrames)

    {

    break;

    }

    }

    ElseIf (pageItem graphic instanceof)

    {

    If (kDontLabelImageFrames)

    {

    break;

    }

    }

    on the other

    {

    If (kDontLabelOtherFrames)

    {

    break;

    }

    }

    If (pageItem.label.toLowerCase () is kIgnoreFrameLabel)

    {

    break;

    }

    var width = pageItem.geometricBounds [3] - pageItem.geometricBounds [1];

    var height = pageItem.geometricBounds [2] - pageItem.geometricBounds [0];

    If (width < kDontLabelBelowWidth)

    {

    break;

    }

    If (height, kDontLabelBelowHeight)

    {

    break;

    }

    frameReferences.push (pageItem);

    }

    While (false);

    }

    var sizeLabelLayer = doc.layers.add ({name: kSizeLabelLayerName});

    for (var pageItemIdx = 0; pageItemIdx < frameReferences.length; pageItemIdx ++)

    {

    Try

    {

    var pageItem = frameReferences [pageItemIdx];

    var width = pageItem.geometricBounds [3] - pageItem.geometricBounds [1];

    var height = pageItem.geometricBounds [2] - pageItem.geometricBounds [0];

    var labelItem = doc.textFrames.add (null, LocationOptions.BEFORE, GetOuterPageItem (pageItem));

    labelItem.itemLayer = sizeLabelLayer;

    var boxsquinch = width * height

    var boxpercent = (boxsquinch / spreadsquinch) * 100

    var roundpercent = Math.round (boxpercent)

    var labelText = "";

    If (kShowImageFileName)

    {

    var imageName = GetImageName (pageItem);

    If (imageName! = "")

    {

    labelText += imageName + kSeparatorBetweenNameAndSize;

    }

    }

    labelText += RoundString (height, kRoundToDecimals) + kSeparatorBetweenHeightAndWidth + RoundString(width, kRoundToDecimals) + kSeparatorAfterWidth + ' \r\n'+ roundpercent + '% ';

    labelItem.contents = labelText;

    xPos = pageItem.geometricBounds var [1];

    yPos = pageItem.geometricBounds var [0] + kLabelHeight;

    labelItem.geometricBounds is [Posy, xPos, yPos + kLabelHeight, xPos + kLabelWidth];.

    Try

    {

    labelItem.parentStory.characters.everyItem () .appliedCharacterStyle = doc.characterStyles.item (0);

    }

    catch (err)

    {

    }

    Try

    {

    labelItem.parentStory.paragraphs.everyItem () .appliedParagraphStyle = kLabelStyleName;

    }

    catch (err)

    {

    }

    Try

    {

    labelItem.appliedObjectStyle = doc.objectStyles.itemByName (kLabelObjectStyleName);

    }

    catch (err)

    {

    }

    }

    catch (err)

    {

    }

    }

    }

    While (false);

    / * / / / LogExit ("ProcessFrames");

    }

    // ****************

    function RoundString (numVal, decimal)

    {

    / * / / / LogEntry ("Round");

    var retVal = Math.round (numVal * Math.pow(10,decimals)) + "";

    retVal = retVal.substring(0,retVal.length-decimals) + "." + retVal.substring(retVal.length-decimals);

    / * / / / LogExit ("Round");

    Return retVal;

    }

    What do you mean?

    var myDoc = app.activeDocument;
    var mySpreads = myDoc.spreads;
    var myRectangles = myDoc.rectangles;
    var myImages = 0;
    for (var i = 0; i < mySpreads.length; i++) {
        var mySpreadWidth = 0;
        var mySpreadHeight = myDoc.documentPreferences.pageHeight;
        for (var j = 0; j < mySpreads[i].pages.length; j++) {
            mySpreadWidth += myDoc.documentPreferences.pageWidth;
            }
        var mySpreadArea = mySpreadWidth * mySpreadHeight;
        var myImages = mySpreads[i].rectangles;
        var myTotalImageArea = 0;
        var myIndividualImageArea = [];
        for (var j = 0; j < myImages.length; j++) {
            var myImageGeometricBounds = myImages[j].geometricBounds;
            var myImageWidth = myImageGeometricBounds[3] - myImageGeometricBounds[1];
            var myImageHeight = myImageGeometricBounds[2] - myImageGeometricBounds[0];
            myIndividualImageArea[j] = (myImageWidth * myImageHeight);
            myTotalImageArea += myIndividualImageArea[j];
            }
        for (var j = 0; j < myIndividualImageArea.length; j++) {
            alert("Image percentage of total images on spread " + (i + 1) + " = " + (myIndividualImageArea[j] * 100) /myTotalImageArea);
            }
       alert("Total image percentage on spread " + (i + 1) + " = " + myTotalImageArea);
       }
    
  • In the use of space Audit why are my fonts such a large percentage of the total size of the file?

    In the use of space Audit why are my fonts such a large percentage of the total size of the file?

    4 MB of an interactive file 6 MB (71% of the total file size).

    I'm only using Verdana.

    In this case the problem is not one of the fields have the police other than Helvetica. All fields are buttons, and all use the Verdana font in their appearances (icons), as opposed to their labels (aka Legend). This is how InDesign works when it generates the appearance for the buttons. As a result, that Verdana is incorporated several times as a subset, more than 300 times, once by button. This includes a lot of overhead, so that you get the size of large file.

    It would be much smaller than that you need to add buttons in Acrobat, even if you've used Verdana. In this case, the entire police would get embedded, but only once. It would take more work, but the process can be automated, if you need to do this sort of thing a lot.

  • How to get the total of column in javascript for an inputText.

    Hi Experts,

    Jdev 12.1.3.0

    How can I make a total of a column in javascript. Scope is backingbeanscope.

    column contains inputText and column footer is an outputText.

    Thank you

    Roy

    Hi Roy, you have inputText, average, you add the line, then you want to calculate the total? If that's true, then you should try the JS code below

    function doSum (evt) {var inputTxt = evt.getSource ();}           var num = 0;           var colId = inputTxt.getProperty ("colId");           outId var = inputTxt.getProperty ('outId');           var table = inputTxt.findComponent('::t1');           var nbRows = parseInt (table.getRows ());           var tableAbsLocator = table.getAbsoluteLocator ();           While (nbRows)-{var rowCol = AdfPage.PAGE.findComponentByAbsoluteLocator (tableAbsLocator + "[" + nbRows + "]:" + colId);}               NUM = num + rowCol.getValue ();           } var outputText = inputTxt.findComponent (outId);           outputText.setValue (num);           } For more information, see this https://community.oracle.com/thread/3512479

    : Nitesh

  • Hide a column, if the total of column is 0 (zero)

    Hello

    I'm trying to hide the entire column if the column total is 0.

    Model example:

    NUM

    IF Amt1 end if

    Amt2

    IF Amt3 end if

    F NUM

    IF $0.00 end if

    $0.00

    IF $0.00 end if E

    Totals

    IF $0.00 end if

    $0.00

    IF $0.00 end if

    Sample data:

    NUM

    Amt1

    Amt2

    Amt3

    10 P

    108.25

    28,00

    0.00

    0020445.000.00003100.12472.000.00004145.00872.000.000054:30 pm25.320.00

    I use the below expressions that does not work.

    <? If@column:sum (amt1)! = 0 ? > <? amt1? > <? end if? >

    <? If@column:sum (amt3)! = 0 ? > <? amt3? > <? end if? >

    I want to hide the entire cloumn Amt3 and leave the '0' at such amt1 what. Any help would be appreciated.

    You can try as

    before the table do the sum (amt3) column using the variable and store that value in a variable, then use this variable as u stored the value of the sum (amt3) column.

    F cal variable to get the sum of column E of amt3

    NUM

    Amt1 end IF

    Amt2

    Amt3 end IF

    F NUM

    If $0.00 end if

    $0.00

    If $0.00 end if E

    Totals

    If $0.00 end if

    $0.00

    If $0.00 end if

    Then use

    If it doesn't work for you send me xml and the model to my email, I can try on my side and send model u updated.

    my email: [email protected]

  • Calcualting the total formula column.

    Hi all

    I am very new to bi Publisher... I have a requirement where I need to find the total amount of the formula column... How can I achieve this?
    and also I need to find the total of the balance per month group... Here is an example of output that I need. Please help its urgent

    Date amount CalcAmount Balance
    June 1, 2010 100 150 200
    June 3, 2010 50 50 300
    August 5, 2010 100 50 200
    August 6, 2010 300 60 400
    _____________________________________
    310

    Jun:500 Aug:600

    How to get to this... where calcamount field does not come from any input file... what I did manually in rtf model...


    Please help urgent

    Thanks in advance
    Bharat

    You can try using this code.
    .. /AMT]) - xdoxslt:sum(AMT[.)<.. pplied])?="">

  • Start a variable to a percentage of the total time?

    Hi all

    I am trying to find a way to call a function in the last 30 seconds of the film. The problem here is that the total duration of the video is changing because it is connected to a database that imports different clips depending on the situation. So basically, I need code to call a function to START with 40 seconds in the video or a certain percentage of the video.

    This is where I am with the code:

    var songLength:Number = oasisFlashDuration/1000; It of shooting some video and determines the length of the film

    Then: What I tried to use to start this variable 40 seconds from the end.

    var startCredits:Number = songLength - 40;  //

    or

    var startCredits:Number = oasisFlashDuration/1000-40; / /

    Could someone help?

    Thank you!

    If you know how long that you want something to happen from a different starting point, you can use the Timer class to wait for time to pass before acting.  The basic menu would be...

    var: timer = new Timer (startCredts * 1000, 1);  time is specified in msec

    timer.addEventListener (TimerEvent.TIMER, triggerCredits);

    function triggerCredits(evt:TimerEcvent):void {}

    start what you intend to start

    }

    Timer.Start ();  run this line when you want to start the song

  • Tab crossed with the total group columns is not printing zero if no data exists

    Hi all

    Please help me question.

    I have obligation to prepare a report in xml editor
    -----------------------------------
    Operator:
    BRAATEN, DON
    NAME all Standard distributions
    Before 7 0 0 0
    07:00 08:00 0 0 0
    08:00 09:00 0 0 0
    09:00 10:00 1 0 1
    10:00 11:00 0 0 0
    11:00 12:00 0 0 0
    12:00 13:00 0 0 0
    13:00 14:00 0 0 0
    14:00 15:00 0 0 0
    After 15:00 0 0 0
    1 0 1 totals

    ---------------------------------------------
    If no data exists for the operator to a particular name, we print zeros.
    now the problem is with the total of the columns. If no data exists that is simply not printing total column as zero.

    our production is illustrated below...

    -----------------------------------------------------------
    Operator:
    BRAATEN, DON
    NAME all Standard distributions
    Before 7 0 0 0
    07:00 08:00 0 0 0
    08:00 09:00 0 0 0
    09:00 10:00 1 0 1
    10:00 11:00 0 0 0
    11:00 12:00 0 0 0
    12:00 13:00 0 0 0
    13:00 14:00 0 0 0
    14:00 15:00 0 0 0
    After 15:00 0 0 0
    1 1 totals
    ---------------------------------------------------

    Please, any body help me on this issue...

    My xml file
    ----------------
    < CCSDRPRCR >
    < LIST_G_TIME >
    < G_TIME >
    < RESOURCE_NAME > BRAATEN, DON < / RESOURCE_NAME >
    < NAME > do all repair < / NAME >
    < TIME_SEQ > 00001 < / TIME_SEQ >
    < TIME > 7 < / TIME >
    < TIMECOUNT > 0 < / TIMECOUNT >
    < / G_TIME >
    < G_TIME >
    < RESOURCE_NAME > BRAATEN, DON < / RESOURCE_NAME >
    < NAME > do all repair < / NAME >
    < TIME_SEQ > 00002 < / TIME_SEQ >
    < TIME > 07:00 08:00 < / TIME >
    < TIMECOUNT > 0 < / TIMECOUNT >
    < / G_TIME >
    < G_TIME >
    < RESOURCE_NAME > BRAATEN, DON < / RESOURCE_NAME >
    < NAME > do all repair < / NAME >
    < TIME_SEQ > 00003 < / TIME_SEQ >
    < TIME > 08:00 09:00 < / TIME >
    < TIMECOUNT > 0 < / TIMECOUNT >
    < / G_TIME >
    < G_TIME >
    < RESOURCE_NAME > BRAATEN, DON < / RESOURCE_NAME >
    < NAME > do all repair < / NAME >
    < TIME_SEQ > 00004 < / TIME_SEQ >
    < TIME > 09:00 10:00 < / TIME >
    < TIMECOUNT > 1 < / TIMECOUNT >
    < / G_TIME >
    < G_TIME >
    < RESOURCE_NAME > BRAATEN, DON < / RESOURCE_NAME >
    < NAME > do all repair < / NAME >
    < TIME_SEQ > 00005 < / TIME_SEQ >
    < TIME > 10:00 11:00 < / TIME >
    < TIMECOUNT > 0 < / TIMECOUNT >
    < / G_TIME >
    < G_TIME >
    < RESOURCE_NAME > BRAATEN, DON < / RESOURCE_NAME >
    < NAME > do all repair < / NAME >
    < TIME_SEQ > 00006 < / TIME_SEQ >
    < TIME > 11:00 12:00 < / TIME >
    < TIMECOUNT > 0 < / TIMECOUNT >
    < / G_TIME >
    < G_TIME >
    < RESOURCE_NAME > BRAATEN, DON < / RESOURCE_NAME >
    < NAME > do all repair < / NAME >
    < TIME_SEQ > 00007 < / TIME_SEQ >
    < TIME > 12:00 13:00 < / TIME >
    < TIMECOUNT > 0 < / TIMECOUNT >
    < / G_TIME >
    < G_TIME >
    < RESOURCE_NAME > BRAATEN, DON < / RESOURCE_NAME >
    < NAME > do all repair < / NAME >
    < TIME_SEQ > 00008 < / TIME_SEQ >
    < TIME > 13:00 14:00 < / TIME >
    < TIMECOUNT > 0 < / TIMECOUNT >
    < / G_TIME >
    < G_TIME >
    < RESOURCE_NAME > BRAATEN, DON < / RESOURCE_NAME >
    < NAME > do all repair < / NAME >
    < TIME_SEQ > 00009 < / TIME_SEQ >
    < TIME > 14:00 15:00 < / TIME >
    < TIMECOUNT > 0 < / TIMECOUNT >
    < / G_TIME >
    < G_TIME >
    < RESOURCE_NAME > BRAATEN, DON < / RESOURCE_NAME >
    < NAME > do all repair < / NAME >
    < TIME_SEQ > 00010 < / TIME_SEQ >
    TIME < after 15:00 > < / TIME >
    < TIMECOUNT > 0 < / TIMECOUNT >
    < / G_TIME >
    < G_TIME >
    < RESOURCE_NAME > BRAATEN, DON < / RESOURCE_NAME >
    Repair Standard < NAME > < / NAME >
    < TIME_SEQ > 00001 < / TIME_SEQ >
    < TIME > 7 < / TIME >
    < TIMECOUNT > 0 < / TIMECOUNT >
    < / G_TIME >
    < G_TIME >
    < RESOURCE_NAME > BRAATEN, DON < / RESOURCE_NAME >
    Repair Standard < NAME > < / NAME >
    < TIME_SEQ > 00002 < / TIME_SEQ >
    < TIME > 07:00 08:00 < / TIME >
    < TIMECOUNT > 0 < / TIMECOUNT >
    < / G_TIME >
    < G_TIME >
    < RESOURCE_NAME > BRAATEN, DON < / RESOURCE_NAME >
    Repair Standard < NAME > < / NAME >
    < TIME_SEQ > 00003 < / TIME_SEQ >
    < TIME > 08:00 09:00 < / TIME >
    < TIMECOUNT > 0 < / TIMECOUNT >
    < / G_TIME >
    < G_TIME >
    < RESOURCE_NAME > BRAATEN, DON < / RESOURCE_NAME >
    Repair Standard < NAME > < / NAME >
    < TIME_SEQ > 00004 < / TIME_SEQ >
    < TIME > 09:00 10:00 < / TIME >
    < TIMECOUNT > 0 < / TIMECOUNT >
    < / G_TIME >
    < G_TIME >
    < RESOURCE_NAME > BRAATEN, DON < / RESOURCE_NAME >
    Repair Standard < NAME > < / NAME >
    < TIME_SEQ > 00005 < / TIME_SEQ >
    < TIME > 10:00 11:00 < / TIME >
    < TIMECOUNT > 0 < / TIMECOUNT >
    < / G_TIME >
    < G_TIME >
    < RESOURCE_NAME > BRAATEN, DON < / RESOURCE_NAME >
    Repair Standard < NAME > < / NAME >
    < TIME_SEQ > 00006 < / TIME_SEQ >
    < TIME > 11:00 12:00 < / TIME >
    < TIMECOUNT > 0 < / TIMECOUNT >
    < / G_TIME >
    < G_TIME >
    < RESOURCE_NAME > BRAATEN, DON < / RESOURCE_NAME >
    Repair Standard < NAME > < / NAME >
    < TIME_SEQ > 00007 < / TIME_SEQ >
    < TIME > 12:00 13:00 < / TIME >
    < TIMECOUNT > 0 < / TIMECOUNT >
    < / G_TIME >
    < G_TIME >
    < RESOURCE_NAME > BRAATEN, DON < / RESOURCE_NAME >
    Repair Standard < NAME > < / NAME >
    < TIME_SEQ > 00008 < / TIME_SEQ >
    < TIME > 13:00 14:00 < / TIME >
    < TIMECOUNT > 1 < / TIMECOUNT >
    < / G_TIME >
    < G_TIME >
    < RESOURCE_NAME > BRAATEN, DON < / RESOURCE_NAME >
    Repair Standard < NAME > < / NAME >
    < TIME_SEQ > 00009 < / TIME_SEQ >
    < TIME > 14:00 15:00 < / TIME >
    < TIMECOUNT > 0 < / TIMECOUNT >
    < / G_TIME >
    < G_TIME >
    < RESOURCE_NAME > BRAATEN, DON < / RESOURCE_NAME >
    Repair Standard < NAME > < / NAME >
    < TIME_SEQ > 00010 < / TIME_SEQ >
    TIME < after 15:00 > < / TIME >
    < TIMECOUNT > 0 < / TIMECOUNT >
    < / G_TIME >
    < G_TIME >
    < RESOURCE_NAME > Baran, Rick < / RESOURCE_NAME >
    < NAME > do all repair < / NAME >
    < TIME_SEQ > 00001 < / TIME_SEQ >
    < TIME > 7 < / TIME >
    < TIMECOUNT > 0 < / TIMECOUNT >
    < / G_TIME >
    < G_TIME >
    < RESOURCE_NAME > Baran, Rick < / RESOURCE_NAME >
    < NAME > do all repair < / NAME >
    < TIME_SEQ > 00002 < / TIME_SEQ >
    < TIME > 07:00 08:00 < / TIME >
    < TIMECOUNT > 0 < / TIMECOUNT >
    < / G_TIME >
    < G_TIME >
    < RESOURCE_NAME > Baran, Rick < / RESOURCE_NAME >
    < NAME > do all repair < / NAME >
    < TIME_SEQ > 00003 < / TIME_SEQ >
    < TIME > 08:00 09:00 < / TIME >
    < TIMECOUNT > 0 < / TIMECOUNT >
    < / G_TIME >
    < G_TIME >
    < RESOURCE_NAME > Baran, Rick < / RESOURCE_NAME >
    < NAME > do all repair < / NAME >
    < TIME_SEQ > 00004 < / TIME_SEQ >
    < TIME > 09:00 10:00 < / TIME >
    < TIMECOUNT > 0 < / TIMECOUNT >
    < / G_TIME >
    < G_TIME >
    < RESOURCE_NAME > Baran, Rick < / RESOURCE_NAME >
    < NAME > do all repair < / NAME >
    < TIME_SEQ > 00005 < / TIME_SEQ >
    < TIME > 10:00 11:00 < / TIME >
    < TIMECOUNT > 0 < / TIMECOUNT >
    < / G_TIME >
    < G_TIME >
    < RESOURCE_NAME > Baran, Rick < / RESOURCE_NAME >
    < NAME > do all repair < / NAME >
    < TIME_SEQ > 00006 < / TIME_SEQ >
    < TIME > 11:00 12:00 < / TIME >
    < TIMECOUNT > 2 < / TIMECOUNT >
    < / G_TIME >
    < G_TIME >
    < RESOURCE_NAME > Baran, Rick < / RESOURCE_NAME >
    < NAME > do all repair < / NAME >
    < TIME_SEQ > 00007 < / TIME_SEQ >
    < TIME > 12:00 13:00 < / TIME >
    < TIMECOUNT > 0 < / TIMECOUNT >
    < / G_TIME >
    < G_TIME >
    < RESOURCE_NAME > Baran, Rick < / RESOURCE_NAME >
    < NAME > do all repair < / NAME >
    < TIME_SEQ > 00008 < / TIME_SEQ >
    < TIME > 13:00 14:00 < / TIME >
    < TIMECOUNT > 0 < / TIMECOUNT >
    < / G_TIME >
    < G_TIME >
    < RESOURCE_NAME > Baran, Rick < / RESOURCE_NAME >
    < NAME > do all repair < / NAME >
    < TIME_SEQ > 00009 < / TIME_SEQ >
    < TIME > 14:00 15:00 < / TIME >
    < TIMECOUNT > 0 < / TIMECOUNT >
    < / G_TIME >
    < G_TIME >
    < RESOURCE_NAME > Baran, Rick < / RESOURCE_NAME >
    < NAME > do all repair < / NAME >
    < TIME_SEQ > 00010 < / TIME_SEQ >
    TIME < after 15:00 > < / TIME >
    < TIMECOUNT > 0 < / TIMECOUNT >
    < / G_TIME >
    < / LIST_G_TIME >
    < / CCSDRPRCR >


    Thanks in advance.
    NGO

    http://winrichman.blogspot.com/2009/11/bi-Publisher-crosstabtotal.html

    http://winrichman.blogspot.com/search/label/cross%20tab

  • How to query the total number of columns and lines filled with data?

    How to get the number of rows and columns in Exel file data using Excel report?

    Since you have posted this question in the forum of LabWindows/CVI, I guess you want to know how to do with CVI.

    You need to know how to open and activate the Excel data file.

    Depending on the function returns the total number of columns and lines col_count row_count, respectively.

    -----------------------------------------------------------------------------------------------------------------------------------------

    int CountColumnsAndRows (void)
    {
    Error HRESULT = 0;
    CAObjHandle rangeCurrentRegionHandle = 0;
    CAObjHandle rangeColumnsHandle = 0;
    CAObjHandle rangeRowsHandle = 0;
      
    unsigned long col_count = 0, row_count = 0;
      
    Must use the 'A1' property and CruuentRegion count the total of columns and lines, including the drafts!
      
    error = CA_VariantSetCString (& MyCellRangeV, 'A1');
      
    error = Excel_WorksheetRange (ExcelWorksheetHandle, NULL, MyCellRangeV, CA_DEFAULT_VAL, & ExcelRangeHandle);
    If (error<0) goto="">
      
    error = Excel_GetProperty (ExcelRangeHandle, & ErrorInfo, Excel_RangeCurrentRegion, CAVT_OBJHANDLE, & rangeCurrentRegionHandle);
    If (error<0)  goto="" error="">
      
    error = Excel_GetProperty (rangeCurrentRegionHandle, & ErrorInfo, Excel_RangeColumns, CAVT_OBJHANDLE, & rangeColumnsHandle);
    If (error<0)  goto="" error="">
      
    error = Excel_GetProperty (rangeColumnsHandle, & ErrorInfo, Excel_RangeCount, CAVT_LONG, & col_count);
    If (error<0) goto="">
      
    error = Excel_GetProperty (rangeCurrentRegionHandle, & ErrorInfo, Excel_RangeRows, CAVT_OBJHANDLE, & rangeRowsHandle);
    If (error<0)  goto="" error="">
      
    error = Excel_GetProperty (rangeRowsHandle, & ErrorInfo, Excel_RangeCount, CAVT_LONG, & row_count);
    If (error<0) goto="">

    Error:

    CA_VariantClear (& MyCellRangeV);
    CA_VariantClear (& MyVariant);
    ClearObjHandle (& ExcelRangeHandle);
    ClearObjHandle (& rangeCurrentRegionHandle);
    ClearObjHandle (& rangeColumnsHandle);
    ClearObjHandle (& rangeRowsHandle);
      
     
    If (error<>
    ReportAppAutomationError (error);
      
    error return;
    }

  • "Mem.Usage.Average" against the total aggregate of cluster host memory

    Please see the attachment for the whole story.

    Please give me a sanity check on this. I used the "Mem.Usage.Average" as a % against allocated VM MemoryMB. The sum of these calculations escaped by far the actual calculations of the vCenter % memory-based. So, I changed my calculations that you see in the worksheet to use the 'Mem.Usage.Average' against the total aggregate available on all hosts in the cluster. This amount came to less than 1% of my calculations based on vCenter GUI. Am I right against the total aggregate memory cluster host instead of against VM memory assigned using 'Mem.Usage.Average '? Thxs-

    ExcelOutput.jpg

    SDK is not clear on "total configured memory available or". https://www.VMware.com/support/developer/converter-SDK/conv55_apireference/memory_counters.html Part description of memory used as a percentage of the total configured or available memory.


    $start = (get-Date). AddDays(-5)

    Get-cluster-location ActualClusterName | Get - VM | Where {$_.} PowerState - eq "Receptor"} @{N = "Mem.Usage.Average"; E = {[Math]: round ((($_ |))} Get-Stat - Stat mem.usage.average - start $start - $finish - IntervalMins 1800 - MaxSamples finishing (250) | Measure - Object - average value). Average), 2)}}"


    Cluster is 6 hosts with 128G per host for total of 768G (786432 MB of RAM), there are 118 powered on virtual machines


    vCGUI.jpg

    for me the SDK says that percentage reflects the relationship between the memory 'active' in the virtual machine against the memory configured for the virtual machine.

    A configured with 8 GB of memory virtual computer that has 'use' of 25% is actively using 2 GB of memory.

    I think that your numbers you get for VMS are biased because of the great period of time during which you take the average (see previous answer).

    You can cross-check the mem.usage.average with the mem.active.average.

    In the following code, I calculate the different 2 meters actual memory used by the virtual machine.

    $clusterName = "mycluster.

    $stat = 'mem.usage.average ','mem.active.average '.

    $vm = get - Cluster - name $clusterName | Get - VM | where {$_.} PowerState - eq "Receptor"}

    $stats = get-Stat-entity $vm - Stat $stat - Realtime - MaxSamples 1

    $stats | Group-object - property {$_.} @entity.name} | %{

    [PSCustomObject] @ {}

    VM = $_. Group [0]. @entity.name

    MemoryMB = $_. Group [0]. Entity.MemoryMB

    MemUsagePerc = $_. Group | where {$_.} MetricId - eq "mem.usage.average"} | Select - ExpandProperty value

    MemUsageMB = [int]($_.) Group [0]. Entity.MemoryMB * ($_.) Group | where {$_.} MetricId - eq "mem.usage.average"}). Value) / 100

    MemActiveMB = ($_.) Group | where {$_.} MetricId - eq "mem.active.average"} | Select - ExpandProperty Value) / 1 KB

    }

    }

    The result shows a specific virtual machine, these two numbers are close enough to be considered the same imho.

    That they should be in fact, the mem.usage.average is derived from the mem.active.average.

  • Tables: Must have text Message box appears if the totals do not agree

    I have a table that has six columns of figures. Each column is reached. I would get a text box ("these totals must agree") to appear IF (column mouse + column Rats) is NOT equal to (column B column C + column D + column E.)

    I didn't need calculate the sum of the totals of columns, that is to say, no need to know the total of mice and rats, etc.. I just have to make sure that the number of rats and mice is equal the number of category B, C, D and E pets. And to let the form user know.

    I hope that makes sense!

    Thank you!

    There are two ways to handle this.  Normally validation of this type is made when the user has finished the form and is ready to submit.  This is because in this case, validation is based on several columns and rows, so if you wanted a pop-up for the error message box, they would get a message popping up every time a number is entered until all columns are added correctly.

    It looks not to form any kind of function submit, so I got stabbed another angle.  I've added a message that is a note and a warning below the list of categories.  This is normally visible and is hidden when the columns add up correctly.  I added the validation code in the event of page layout: ready for JustifyE since it was already used another script and it fires when you need it.

    Update form is attached.

  • How to include the total number of table one fact in another fact table to calculate the percentage

    I have a fact table in the grain of each document created in any organization, say the 1st table of facts. I have another table of facts (2nd fact table) seen those documents which are considered by different commentators. grain of this second fact table is so each review, even if I document in both IDs the fact table.

    Now, I want to calculate the percentage return documents reviewed. For this I need to divide count separate from the document of performance by the total performance document. Now this document of total performance can be obtained from the 1st table of facts, but I don't get how to bring this indictment in the 2nd table of facts to show the percentage.

    Please let me know if there is no ambiguity in my question, because I'm a starter in OBIEE.

    Thank you very much.

    then you can set new logical column with two columns of fact in the formula

  • Show only the total values for column?

    I have a pivot table where, for one of the columns I want to not show that total values without showing the values of the detail for each line

    In the example below (where each parent totals are shown in first - above), for the last 4 columns, I only want to show values in the total row.

    Setting conditional formatting will help you.

    For these columns measures go to the columns of no matter what you do not have a group of conditional as format below.

    Main area is not null "define 0 as the font size.

    Thank you

    AJ

  • How to avoid the total general of the classic report when the column break is installed in the Apex

    Hi all

    I develop application using Oracle Apex 4.2.0.

    I created the classic report Page.

    That I have summarized a column by selecting the check box check sum for the column.

    His shows the Grand Total.

    Then I chose the columns to break to the first column.

    His show the total groupwise and total as well as great as image below.

    dc.jpg

    My requirement is

    Need to hide total(Total:)) GroupWise or total general. I need to show any a total, not both.

    How to do this?

    Thank you

    Su.GI

    Su.GI wrote:

    Hi, thanks for your response.

    I use theme - productivity Application - issue 26

    -Standard model

    Report - report of Standart for classic report model.

    The above CSS code where I want to use in the page or report or model region.

    Specify a static region ID for the report area and put the following CSS rule in the CSS Inline property page:

    #static-region-id .uReportStandard tr:last-child td {
      display: none;
    }
    

    where static-region-id is the ID specified for the region.

  • How to make a percentage of the value of a column and then insert this value in a column

    The table below should be the result I want to achieve. This means according to what value is in Column1 which corresponds to the percentage and what value is in Column2. Column1 will make a percentage of Column2. Like 80% of 1000 = 800, what will change in Column2 of 2nd record.

    Currently my code only select the current record and insert another copy that will duplicate the same record. But now I need to calculate and replace the values in column 2 according to the perentage. I did not have my code select here because I'm afraid of you all will get confused. I only put my code insert here, pls tell me how to make the formula in the code for the percentage of Column2 thanks.

    Orginal 1st record->                                                 column1 column2 
                                                                          
    80   1000  

    Inserted copy records which is 2nd record
    (what I want to achieved)   column1 column2 
                                                                          
    80   800


    My codes

     INSERT INTO table1 (column1, column2) VALUES (tran.column1, tran.column2);

    Did it using this, thanks.

    INSERT INTO table1 (column1, column2) VALUES (tran.column1, tran.column2 * tran.column1 / 100 );

Maybe you are looking for

  • Slate 7 video weird noise like Tablet noise and latency

    Tried recording video on 7 slate and delay is terrible. In addition, there are rumors of gremlin that I guess are the tablet.  Resolution is not great, but I'd be OK with it if there is no big delay and no gremlins.  My delay setting is none. Tried f

  • What is the acceptable battery temperature

    Are there standards saying that I should be concerned if the battery temperature exceeds beyond some threshold value. In the case of our Moto X play, what is the acceptable battery temperature. Answer to this question must respond to requests of many

  • Counters

    Hello world I'm doing two separate meters on a structure of true and false case. I want to count every time the true and false cases occurs and then make sense to charges outside of the structure. I did some research and saw that you can put a loop r

  • Cannot change windows Vista Wallpaper

    Hello The guys have spent hours mucking around with the registry entries many forums on how to activate the wallpaper change Win Vista. My elderly mother wants her pets on when I connect through on LogmeIn ease to do is not allow me to do. I can easi

  • Getting the error "of your browser cookies disabled. Please activate. "When you try to connect to an account G-Mail and iGoogle

    I get the following message when you try to sign has G-mail: "the cookies of your browser feature is disabled. Please activate. "It's the only hit program and all the solutions proposed to date have failed. 'the cookies feature' seems to work fine fo