Help with conditional formatting

Hi gurus,

Short history of the report, we have all items in inventory, divided into 3 classes 'Max', 'Medium' and 'Low' and also calculated measure called "Exact percent" there. Now, we want to use conditional formatting on the particular point either RED or GREEN, and following is conditions to set the color

Top-> green = 100 percent; Red = X < 100%
Average-> green = X > = 98%; Red = X < 98%
Bottom-> green = X > = 97%; Red = X < 97%

In the condition above the perecent means specific percent.

How to achieve this kind of condition.

Thanks in advance.

Chesneau

Hi create a new column of percentage in repository so the coding responses will be simplified.

% = 100,00 * ((Cycle_Count_Entries.COUNT_QUANTITY_CURRENT-Cycle_Count_Entries.SYSTEM_QUANTITY_CURRENT) / Cycle_Count_Entries.SYSTEM_QUANTITY_CURRENT)
... and no matter what your definition

Then use a column in answers with the following formula:

Case

When table.class = 'High' then
-Case when table.percent = 100 then ends up 'Green' else 'red '.

When table.class = "Average" then
When case table.percent > = 98 then ends up 'Green' else 'red '.

When table.class = "Low" then
When case table.percent > = 97 then ends up 'Green' else 'red '.

end

* If you do not have access to the repository, replace table.percent in above formula by the percentage formula that you have.

Then your conditional formatting will be simplified because you need only refer to the column above.

Tags: Business Intelligence

Similar Questions

  • Disable the hyperlink with conditional formatting

    Hi experts

    I have an analysis of HTML code.

    My analysis have different ranks:

    Entity link - value
    Entity1 - 12
    Entite2 - 23
    Entity3 - 33

    Link entity is a column with a hyperlink or HTML.

    I want to deactivate a hyperlink in some entities in my report by using the conditional formatting... but I don't know how I can do this...

    The entity column has data Format: @[html]@H so I can see the link instead of html code... but I see links to all the lines...]

    In the conditional formatting, I can substitute data Format, but I don't know how to disable the link...

    Any help?

    Hello

    To disable a link via CSS, you could use the CSS properties:

    pointer-events: none;
    cursor: default;

    However, the first property does not work in Internet Explorer. You can test whether they work in other browsers and check if it fits your requirement.

    Thank you

  • Help with conditional display and Validation

    Version 4.1.1.00.23

    Hello

    I'm having a difficult time with a conditional display and validation, I hope someone can help with.

    Requirements:

    When (Datepicker) Start Date or the end Date (Datepicker) change can display the reason for change (select list) and change Description (Textbox)
    If the page is saved without entering a reason change display an error message of validation that the reason for the change cannot be empty (NULL)

    What I tried

    Create a dynamic Action on the Start Date

    Event: Change

    Selection type: Article (s)

    Items (s): P51_START_DATE

    Condition: no

    Real Action Section:

    Action: Show

    Fire on Page load: Checked

    Display all the elements of the page on the same line: NO.

    Section of the elements concerned:

    Selection type: Article (s)

    Product (s): P51_CHANGE_REASON, P51_CHANGE_DESC

    I also created a dynamic Action with similar settings for the P51_END_DATE.

    I created a Validation for the P51_CHANGE_REASON as a function return error text:

    DECLARE
        v_start_date    work_items.start_date%TYPE;
        v_end_date      work_items.end_date%TYPE;
    BEGIN
        SELECT start_date
              ,end_date
        INTO   v_start_date
              ,v_end_date
        FROM   work_items
        WHERE  work_items_id = :P51_WORK_ITEMS_ID;
        IF ( (v_start_date != TO_DATE(:P51_START_DATE,'DD-MON-YYYY') OR v_end_date != TO_DATE(:P51_END_DATE,'DD-MON-YYYY') ) AND
              :P51_CHANGE_REASON IS NULL ) THEN
            RETURN 'Change Reason must have a value';
        END IF;
    END;
    
    
    

    The question

    I tried to create another dynamic Action to hide the P51_CHANGE_REASON and P51_CHANGE_DESC fields during the loading of the page, but when the date fields are changed and the validation is fired the P51_CHANGE_REASON and the P51_CHANGE_DESC are hidden again.

    There are two buttons to send the page: 'SAVE' will submit the page and stay on the page and 'SAVE_CHANGES' will present the page and creates a branch to the previous page (which is a relationship with the EDIT buttons to change recording).

    I can not loading the dynamic Action page for fires DO NOT when validation is triggered.

    I hope it is clear and if not what information can I provide?

    Thank you

    Joe

    Which the condition is failing and what browser? I tested it in Firefox and it works as it should. Can you confirm that?

  • 1st time scripter... needs help with conditional step 2

    Never write the script in any form. JavaScript can be Cuniform as far as I know.

    Really want to understand such things.

    Download all guides... they make my head ache. Would like any suggestions on a good starting book. entry level stuff.

    Should I go to learn Javascript, then it'll all be easier?

    This is the purpose of the script that I want to write.

    I have a folder folders containing main/artist name/backup / retouched / * this is the lie of the images *.

    also / intact / * this is the lie of the images *.

    I would like to write a script that sends Photoshop thanks to all subfolders looking for files.

    Open the file.

    Determine if the file is grayscale.

    If this isn't the case, close the file.

    If grayscale determine the longest side of the image and resize it to 300 DPI maintaining proportions making long side 10 inches.

    Save the file in the folder '_8x10' file name added

    Save the file in "' C: / getty /" add "_8x10" file name "

    Close the file without saving changes

    OTHER IMPORTANT FACTS

    Emphasizing the need that the originals should not be harmed in any way.

    99% of the files are .tiffs others would jpg - I can't ignore jpg files in order to remove a variable.

    I worked on it for 2 days, trying to teach me, and it is not just by clicking. I can't pick it up quickly.

    Here's what I wrote and tried to patch all of the other scripts on the web in the hope that I understood why I was picking up this code.

    I'm short on time and would like advice on this.

    Here is my code:

    GrayscaleThenLandOrPortTo10Inches300dpi.jsx

    Copyright 2012

    Written by Brian Shupe steal shamelessly on the net

    /*

    Description:

    This script finds the folder and all subfolders for images.

    Check to see if they are grayscale

    If so, he trims the long side at 10 inches at 300 dpi

    */

    turn on double click of the

    Macintosh Finder or Windows Explorer

    #target photoshop

    Make Photoshop the frontmost application

    where we double clicked on the file

    app.bringToFront ();

    ///////////////////////////

    //       SET-UP          //

    ///////////////////////////

    Close all open documents

    so that {(app.documents.length)

    app.activeDocument.close)

    }

    Create the dialog select parent folder

    var imageFolder is Folder.selectDialog ("select a folder with images to treat");.

    Set variables naming for easier coding

    var doc = app.activeDocument;

    set the units to inches

    Save current preferences

    var strtRulerUnits = app.preferences.rulerUnits;

    var strtTypeUnits = app.preferences.typeUnits;

    Adobe Photoshop CS4 use pixels and display without the value dialog boxes

    app.preferences.rulerUnits = Units.INCHES

    app.preferences.typeUnits = TypeUnits.INCHES

    app.displayDialogs = DialogModes.NO

    Recursively process all subfolders

    If (image! = null) processFolder (imageFolder);

    function processFolder (folder) {}

    List of files of the var = folder.getFiles)

    for (var i = 0; i < fileList.length; i ++) {}

    var file = list of files [i];

    }}

    Check if the active document isn't in grayscale. If this is true do nothing

    If (doc.mode! = DocumentMode.GRAYSCALE) {}

    } else

    Check if the document is higher than it is wide

    If (doc.height > doc.width)

    {

    Perform this action if the IF statement is true. Action of sizes both height to 10 inches and 300 DPI

    doAction ("Port", "Getty");

    }

    on the other

    {

    Perform this action if the IF statement is false. Action sizes two length of 10 inches and DPI to 300

    doAction ("Land", "Getty");

    }

    Create a folder to contain a file duplicate

    myFolder var = new Folder("c:/Getty/");

    myFolder. Create();

    saveFile = new file ("C: / Getty /' + imgName +"_"+"8 x 10")

    var CurrentFolder = activeDocument.path;

    var ParentFolder = decodeURI (activeDocument.path.parent);

    saveFile = new file (parentFolder + ' /' + 'CONTAINER BACKUP' + ' /' + imgName + "_" + "8 x 10")

    app.activeDocument.close (SaveOptions.DONOTSAVECHANGES)

    I think that, right now, the problem is when it gets to the point where he seeks an image open... There are jumps to zero and it.

    Anyone can see that for my clumsy attempt and course correct me?

    would be happy to discuss tutoring services.

    This is a full version that could help with all of the necessary steps...

    #target photoshop
    app.bringToFront();
    main(); //call the main function
    function main(){
    var folders =[];
    var topLevel = Folder.selectDialog("Please select top level folder");
    if(topLevel == null) return; //if cancelled quit
    folders = FindAllFolders(topLevel, folders);
    folders.unshift(topLevel);
    var outputFolder = Folder("/c/Getty/");
    //create output folder if it does not exist
    if(!outputFolder.exists) outputFolder.create();
    for(var z in folders){// loop through all subfolders
    var fileList = folders[z].getFiles("*.tif"); //get a list of all tifs in this folder
    for(var a in fileList){//loop through all files in folder
        app.open(fileList[a]);//open file
        var doc = activeDocument;
        if(doc.mode != DocumentMode.GRAYSCALE){//if not greyscale close and get next doc.
            doc.close(SaveOptions.DONOTSAVECHANGES);
            continue;
            }
        if(doc.width > doc.height){//landscape
            //resize document, only one value is required otherwise it might distort the document.
            doc.resizeImage(new UnitValue(10,'in'), undefined, 300, ResampleMethod.BICUBIC);
            }else{//portrait
                doc.resizeImage(undefined, new UnitValue(10,'in'), 300, ResampleMethod.BICUBIC);
                }//end resize
            //get the name without the .tif extension
            var Name = app.activeDocument.name.replace(/\.[^\.]+$/, '');
            //create the output file path and name
            var saveFile = File(outputFolder + "/" + Name + "_8x10.tif");
            //save and close
            SaveTIFF(saveFile);
            doc.close(SaveOptions.DONOTSAVECHANGES);
        }//end filelist
    }//end folders
    }//end main function
    function FindAllFolders( srcFolderStr, destArray) {
     var fileFolderArray = Folder( srcFolderStr ).getFiles();
     for ( var i = 0; i < fileFolderArray.length; i++ ) {
      var fileFoldObj = fileFolderArray[i];
      if ( fileFoldObj instanceof File ) {
      } else {
             destArray.push( Folder(fileFoldObj) );
      FindAllFolders( fileFoldObj.toString(), destArray );
      }
     }
     return destArray;
    }
    function SaveTIFF(saveFile){
    tiffSaveOptions = new TiffSaveOptions();
    tiffSaveOptions.embedColorProfile = true;
    tiffSaveOptions.alphaChannels = true;
    tiffSaveOptions.layers = true;
    tiffSaveOptions.imageCompression = TIFFEncoding.TIFFLZW;
    activeDocument.saveAs(saveFile, tiffSaveOptions, true, Extension.LOWERCASE);
    }
    
  • Need help with the formatting and reinstalling windows

    Hi, I have a Compaq Presario C700 p/n GR598EA #ABU I got to work about 3 years ago.

    Recently, it does not load windows, even in safe mode and I can't get back either.

    I used a disc to boot from linux to access and backup of all my important files and now I want to reformat the hard drive, resintall windows and start over (or try something else which will fix it)

    The laptop has been pre-installed with Windows Vista and HP stuff had already installed on it.  I don't have a Windows disc or discs of driver with the laptop.

    How can I format and reinstall windows and drivers, if I don't have records?

    Help, please.

    Thank you.

    Hello:

    You can order a Vista recovery disk set for your laptop if they are still available. See the instructions below:

    http://support.HP.com/US-en/document/c00810334=

    If you live not in the US or the Canada, you can contact HP Support worldwide for the country you live and ask recovery disks command to your laptop

    The link to the assistance of HP WW is below:

    http://welcome.HP.com/country/us/en/wwcontact_us.html

    Paul

  • Please help with conditional actions showing the PlayBar

    I tried to set up a tip action that will not allow users to move forward until they have clicked on the 3 themes I want to see again them.  I assigned variables, follow the tutorials and do everything now.  Please help how I my Advanced actions set upwards... everything shows and hides all work so I have to assume that the assignment of variable works as well.  I used numbers initially and changed my value of the variable of "dude" just to make sure I was not missing something.

    Capture.PNGCapture2.PNGcapture3.PNG

    Here's the aciton condtional which is performed after the entry of the slide

    Capture4.PNG

    All logic seems in tact for me however I click on each of my boxes and all conditions must be true, but will not display game bar...

    Note: I also tried to show a next button and just show the things randomly with the same logic and it just will not work... What am I doing wrong?

    Something escapes me in your question: How do trigger you the conditional action? I suspect that he is never executed, but may be wrong of course.

    I created a small example to check: slide contains 3 buttons that trigger an action condtional with two decisions. The first decision is a simulated standard measure (condition 1 = 1 is always correct) assigns the value 1 to the variable corresponding user and displays a caption text, that was initially hidden. This is a screenshot of this first decision Stand for the first Bt_One action to be triggered by the first button:

    The second decision Check is the action of condtional real, very similar to yours. This will be done after the first decision:

    Create a duplicate of this action for the other two buttons, you only have to edit the first decision where the user variable needs to be changed.

    In my example, when you click the last button (regardless of the sequence) all the text captions should have been disclosed (I na not hide others, but you can do the same of course) and the second decision check will result in a positive response, so the playback bar appears immediately.

    Lilybiri

  • Helps with the formatting on objects

    I have a script that I modified from a script of Alan Renouf (thanks for posting the script), but I'm having a problem with the output.

    The script gets a few details on a hard drive of virtual machines, and this is what is shown:

    VM: VM1

    Path              : {C:\, D:\}

    CapacityGB: {40: 40}

    FreespaceGB: {1: 18}

    Percent free: {2, 45}

    Low disk space on: C:\

    VM: VM2

    Path: {/, / boot, / usr, / home...}

    CapacityGB: {4, 1, 10, 2,...}

    FreespaceGB: {3, 1, 4, 0...}

    Percent free: {84, 95, 40, 17,...}

    Low disk space on: / home/brands

    The script is below, and it is the main problem.  I can show any data if I use - reach ',' on the parts that need it, but I have an if statement that will add another object to "Low disk space", then the drive letter.  I have this for disks that have less than 15 percent of available.  If I use - join, the output goes to a string and if statement I put in quotes below

    "

    If ($HDdetailsHT. ("' 15% free"-lt) {}

    $HDdetailsHT.Add ("low disk space on ', ' $(($HD |))") where {$_.} FreeSpaceGB / $_. ({CapacityGB * 100-[int] - lt 15}). Path)")

    }

    "

    The above if the statement will not work if I change one of the lines, for example:

    'CapacityGB' = ($HD. CapacityGB | foreach {$_ - as [int]})-join «,»


    If I do the above, all the data shows, but the if statement does not work anymore, because now, there's some string data.  I can't imagine a way to use my if statement and to show all the data entirely.  Given that some virtual machines may be small on space, I don't want the "low disk space on ' to show everything.  Any help is appreciated.

    $AllHDdetails = @)

    $AllVMs = get - VM 'VM1', 'VM2.

    {foreach ($vm to $AllVMs)

    $HD = $vm. Guest.Disks | Path of kind

    $HDdetailsHT [ordered] = @ {}

    "VM" = $vm. Name

    'Path' = $HD. Path

    'CapacityGB' = $HD. CapacityGB | foreach {$_ - as [int]}

    'FreespaceGB' = $HD. FreespaceGB | foreach {$_ - as [int]}

    "% Free" = $HD | foreach ({$_.}) FreeSpaceGB / $_. {CapacityGB) * 100 - as [int]}

    }

    If ($HDdetailsHT. ("' 15% free"-lt) {}

    $HDdetailsHT.Add ("low disk space on ', ' $(($HD |))") where {$_.} FreeSpaceGB / $_. ({CapacityGB * 100-[int] - lt 15}). Path)")

    }

    $HDdetails = new-Object PSObject - property $HDdetailsHT

    $AllHDdetails += $HDdetails

    }

    $AllHDdetails

    If you want only when there is not enough disk space, and if you can live with object with different properties in production, you could do something like this

    $HDdetailsHT [ordered] = @ {}

    "VM" = $vm. Name

    'Path' = $HD. Path

    'CapacityGB' = ($HD. CapacityGB | foreach {$_ - as [int]})-join «,»

    'FreespaceGB' = ($HD. FreespaceGB | foreach {$_ - as [int]})-join «,»

    "% Free" = ($HD | {($_.) foreach}) FreeSpaceGB / $_. ({CapacityGB) * 100 - as [int]})-join «,»

    }

    }

    $low = $HD | where {($_.)} FreeSpaceGB / $_. (CapacityGB * 100-en tant que [int]) - lt 15} | Select the path - ExpandProperty

    {if ($Low)}

    Add-Member - InputObject $HDdetailsHT - name "low disk space on ' - value $low - MemberType NoteProperty

    }

  • Tip action CP5 need help with conditions...

    Hello

    I created my own multiple question (MC) with 4 theeorie response which 3 are fair and 1 is wrong.

    As soon as a true/false response is checked, a tip action is performed - check mark in the box as shown and "feedback" to answer.

    In the case of a good answer - any previous response feedback is hidden, but the check box answers correct stay while evil answer checkmark is hidden.

    An example of the tip action for one of the three answers:

    Advanced action right.jpg

    This is what looks like the question until the answer to my question must be implemented:

    Question.jpg

    Now to my question:

    At the end of the responses, I would like to the user get a message: CONGRATULATIONS...

    This should appear when all 3 answers have been selected.

    After CONGRAT... message, they can then click on continue button to continue training.

    I'm curious to any suggestion on how to achieve this

    Thanks in advance for the answer.

    Best regards

    Stephanie

    OPTION A:

    The measures to achieve the congratulations message on the same Blade (which is the issue) 1. Actions such as B_Selected, C_Selected etc must be conditional actions instead of the standard actions, that they are at the moment.

    2. four variables must be created in project-> Variables-> add new. These can be called a, b, c, d and a value of 0 (zero), which means that the option is not selected 3. In the conditional action B_selected first requirement should be something like

    If (1 corresponds to 1)

    {

    See the TC_Correct_B

    See the Image_230

    Hide Image_233

    Hide TC_Wrong_A

    Hide TC_Correct_C

    Hide TC_Correct_D

    Assign b = 1

    }

    4. in the second step of the action itself i.e. B_selected, follow these steps

    If (a is 0 & b is equal to 1 & c equals 1 & d is equal to 1)

    See the TC_Congratulations

    All actions should have these two conditions and if there are actions such as B_unselect, then 'assign b = 0' in such actions.

    OPTION B

    On the other hand, if it is showing the message of congratulations on the next slide, it will be simpler as this 1. Create four variables a, b, c, and d = 0 2. In actions such as B_Selected (no need to change to conditional action), add a statement 'assign b = 1'.

    3. in the actions such as B_unselected, add a statement 'assign b = 0'.

    4. at the exit of the slide execute advanced action, which will be a conditional action as follows:

    If (a is 0 & b is equal to 1 & c equals 1 & d is equal to 1)

    Go to the next slide

    On the other

    Jump to slide _

    5. on the next slide write the message of congratulations.

    Kind regards

    Vautrin

  • Help with ESD format rules

    Frame9 + DITA-FmX

    I'm working on my EDD, shaped put writing rules that will apply our

    formats of standard model for the appropriate elements of DITA.

    I'm having a problem that is confusing to me. Our model defines

    different formats for the steps and the bullets that are in a table and not

    and the bullets that are not in a table. So, for the element < li > I

    writes a set of rules to capture these contexts, formatting

    more a few other things (nested list level, if the < li >

    the first in the < ol >, etc.) and apply the correct paragraph format.

    The context clause which applies formats to the < li > elements within a

    table appears * before * the clause which applies formats to < li >

    elements outside of a table. Basically, it goes like this:

    If the context is: * < entry

    [if these rules are intended for lists in a table cell]

    If the context is: ul < li < ol

    Use the paragraph format...

    [for the particular case of a bulleted list nested within a

    numbered list]

    Otherwise, if the context is: ul

    Count the named ancestors: ul

    Stop the stopwatch to the first named ancestor: entry

    If the level is 1:

    ...

    Otherwise, if the context is: ol

    Count the named ancestors: ol

    Stop the stopwatch to the first named ancestor: entry

    If the level is 1:

    ...

    Otherwise, if the context is: * < (conbody | section)

    [if these rules are intended for lists outside of a table,

    and only ref or concept topics]

    If the context is: ul

    ... etc.

    This works very well for lists outside of a table, but this first

    the rule that applies within a bulleted and numbered lists

    Table seems to be ignored in some way, and the formats that are in

    applied are those for numbered lists and bulleted outside a table. I have

    suspecting that the * < (conbody | section) context may be too broad? but

    because it appear * after * the clause for the * < context entry I

    including table lists would be picked up first.

    The thing that I'm really curious, is that when I look in the show

    Context view element - with the small arrows pointing to the

    formatting rule that is applied - the correct formatting rules

    (and format) are indicated. So I don't know what the problem is.

    My EDD is valid, and the documents that I import are also valid. Is

    It doesn't matter what way I can find this problem when the item to display

    View of context seems to tell me that my rules are correct?

    Any suggestions welcome...

    THX.

    Kyle,

    Yes, it's the right way (good?) to do.

    Note that the three rules that you listed in your last post, you could simply put 3 rule before rule 1, without combining in a single rule. In this way, it applies first formatting as if it were in a section or conbody. We then apply the if formatted AGAIN the list in a table. It should work.

    HOWEVER, this requirement to FrameMaker to possibly format the list twice. By combining the rules into a single, you apply the formatting only once, but after that you know what to apply. My guess is that combining the rules in a no will make things faster, because the formatting is applied quickly enough. It's just a bit more clean. Thus, depending on which is more clear to you, it's how you should do it.

    When you use several rules of formatting of an element, you just do a little diligence and trace through the list to check if the rules later affect the previous rules in ways that you don't want. There are many situations in which multiple rules are necessary and useful.

    Van

  • Newbie need help with css formatting

    I'm new using a dw (cs3) and css, although I have a background in html and coding. I am creating a page using the page "a column elastic, centered, header and footer" layout and I have a header banner with a horizontal spry menu bar at the bottom of the header. the background color of the buttons on the menu bar is red and there is a border of yellow 5px up and down the Red menu bar, so it seems that there is a red bar with yellow edging above and below, and this bar is between the header and the body section of the page. I put these colors in the "ul. MenuBarHorizontal a' rule.

    now, the question I have is that my menu bar does not span the entire column, so there is an empty space to the right of my menubar between (the end of the menu bar) and the right column. I would like the appearance of the red and yellow menu bar to expand completely, but I can not understand how to do this in css.

    make:

    extend the bar menus completely on the entire width of the page? I can't understand how to do this.

    Insert a picture to make it appear as if the red and yellow bar continues that extends to the right? If so, how that image will remain elastic and my page?

    or is there a better solution?

    I'm very new to css and I do my best to understand how everything fits together. the last website I built was in 1997 and it has been done in Notepad. any help would be huge. I'm in kinshasa in the Democratic Republic of the congo, and truth be told it is not a lot of gurus dw here.

    Thanks in advance...

    charliemooreiv wrote:
    > you can see what I have up to the http://www.kfhhh.com/amicus/

    Try to cut the border of your ul elements. MenuBarHorizontal a rule so
    what it looks like so...

    UL. MenuBarHorizontal a
    {
    display: block;
    cursor: pointer;
    background-color: #ce1021;
    Color: #333;
    text-decoration: none;
    do-family: Arial, Helvetica, without serif.
    do-size: 14px;
    make-weight: bold;
    Width: 90%;
    padding-top: 0.5em;
    padding-right: .75em;
    padding-bottom: 0.5em;
    padding-left: .75em;
    }

    ... and then create this rule in which are the cutting edge elements
    site as well as a width, background color, and the left float...

    {#MenuBar1}
    Width: 46em;
    background-color: #ce1021;
    float: left;
    border-top-width: 5px;
    border-bottom-width: 5px;
    border-top-style: solid;
    border-right-style: none;
    border-bottom-style: solid;
    border-left-style: none;
    border-bottom-color: #F7D518;
    border-bottom-color: #F7D518;
    }

    Only tested in FF.

    HTH

    --
    Chin chin
    Sinclair

  • by comparing certain objects... helps with the formatting and variables

    I want to delete computer accounts in an ORGANIZATIONAL unit that do not exist in a folder of vmware...

    Step 1. Compare.

    $ad = Get-QADComputer -SearchRoot 'domain.lan/Test-NoGPO'
    $vmware= Get-VM -Location VDI_RemoteAccess
     
    Write-Host "AD" $ad
    Write-Host "VMWARE" $vmware
     
    Compare-Object  $ad $vmware
    
    

    Gives me this result:

    AD DOMAIN\DSTASA1$ DOMAIN\SXCH100$ DOMAIN\SKFB111$ DOMAIN\FAKEPC$
    VMWARE vstaq16 vstaq18
    
    InputObject                                                               SideIndicator                                                           
    -----------                                                               -------------                                                           
    vstaq16                                                                   =>                                                                      
    vstaq18                                                                   =>                                                                      
    DOMAIN\DSTASA1$                                                          <=                                                                      
    DOMAIN\SXCH100$                                                          <=                                                                      
    DOMAIN\SKFB111$                                                          <=                                                                      
    DOMAIN\FAKEPC$                                                           <=    
    
    

    I need the output of 2 first orders are the same... preferably just the 'name' of the pc. On the subject line - compare I tried to use $ad. Name and $vmware. Name but that the errors and says that it is null when the script runs...

    How to disinfect these lists and end up with a list of computers that are not in both places? (to later be deleted with other commands, not relevant here)

    You were there at halfway when you tried with the Name property.

    But you must keep all the computernames in 1 table and all VMnames in another table.

    Then, you can compare the 2 tables.

    Something like that

    $ad = Get-QADComputer -SearchRoot 'domain.lan/Test-NoGPO' | %{$_.Name}$vmware= Get-VM -Location VDI_RemoteAccess | %{$_.Name}
    
    Compare-Object $ad $vmware
    
  • Helps with the formatting of a field of text PDF

    I am trying to enter in a multiline to a form text field my company uses internally.  I have set to automatic to allow as much or as little depending on font size.  I did it in the past and it worked fine, but this time when I save the form, and that you try to use the text field, I have the following questions:

    (1) rather than aiming upward, to the left of the text field is towards the left about 2/3 of the way on the text field.

    (2) pressing on enter to move to the next line of text, the space between lines of text is huge (like the size of the point 60) rather than a single space between the lines.

    Can someone advise please how to fix these issues?

    Thank you!

    You use the Cambria police by chance? If so, you will need to use something else since it is quite buggy.

  • Please help with the format of the report

    Hello

    When I queryiing my result is like

    Select * from the general;
    MONTH    REGISTERD   ACCEPTED   REJECTED 
    2012-04        120             80               40 
    2012-05          80             40               40 
    2012-05         60             40               20 
    2012-04         90             40               50 
    
    How i can display my result like below :
    
                     2012-04    2012-05
    registered       210          170
    accepted        120           80
    rejected           90           60
    Thank you
    Chauvet.

    Published by: Chaumont on October 3, 2012 09:02
    SQL> SELECT status,
      2         sum(month1_amt) month1_amt,
      3         sum(month2_amt) month2_amt
      4  FROM GENERAL
      5  UNPIVOT(AMT FOR status IN ( registered AS 'REGISTERED',accepted AS 'ACCEPTED',rejected AS 'REJECTED'))
      6  PIVOT(SUM(AMT) as amt FOR MONTH IN ('2012-04' AS MONTH1,'2012-05' AS MONTH2))
      7  group by status;
    
    STATUS     MONTH1_AMT MONTH2_AMT
    ---------- ---------- ----------
    REGISTERED        210        140
    REJECTED           90         60
    ACCEPTED          120         80
    

    Published by: JAC on October 5, 2012 18:20
    I forgot to update, see no response from Frank...

  • Need help with table formatting in OBIEE

    Hi all

    We must show the amount of detail, goal and target by graphic region.
    My requirement is to show retail Qty and objective bars vertical and % of the target as the region trend line.
    Currently use bars stacked to amount of detail, goal and target as trend line.

    Any suggestions for how measures in the vertical bar and % of the objective trend line would be grateful.

    Kind regards
    Rajkumar.

    Published by: [email protected] on July 9, 2009 12:47

    Use line bar chart drop-down list type, select two columns for the axis Y and a metric unit for line. Select the type of graph in 2D or 3d. you will get the expected results.

    Published by: Muriel Madan on July 9, 2009 18:20

  • In Excel 2007, copy the conditional formatting cells is very slow

    I've just upgraded to Excel 2007 (SP 2) since 2000 in the hope that it would be faster.  I have a large spreadsheet consisting of a database of about 5000 lines and a number of leaves each grids showing cells of 7 x 7 with conditional formatting in each cell.
    In 2000, I had to stop automatic recalculation.  In 2007, the recalculation is much faster, but when I created a piece of copy and past cells 7 x 7 with their conditional formatting, it is very slow and eventually is short-term memory.
    I am running XP service pack 3 on processor 1.6 ghz with 1.9 GB of ram.
    Any suggestions?

    Hello bailes2,

    Thanks for posting on the Microsoft answers Forum.

    The question you have posted is linked to Excel 2007 and would be better suited to the office community.
    Please visit the link here to find a community that will provide the support ask you

    Sincerely, Marilyn
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think

Maybe you are looking for

  • El Capitan update cannot be verified

    Using a 27-inch iMac late 2009.  Processor 3.06 GHz, Intel Core 2 Du0 speed 4 GB 1067 MHz DDR3 memory Running version 10.11.2 Problem: Cannot install last updated (10.11.3).  I get the message "Upgrade cannot be verified". I tried to disable my virus

  • Photosmart HP 7520: Cannot scan to printer

    I was able to scan up to today.  Try to scan to the computer and not give me the option for the photo or document.  He gave me the option once it has scanned the PC, and I had chose PDF and it only would give me the JPG.  It scanned the Microsoft Sca

  • Email for my HP 6500 an email does not. What should I do?

    I'm trying to send an email to eprint.  Everything has set up the fine and I have the right address.  When I send the email it comes back saying mail deliver failure. What can I do? Thank you

  • Landscape of WebWorks 2.0 + keyboard (bug?)

    my application is set to landscape of config.xml: It uses jquery - 1.11.0 and bootstrap - 3.1.1 only. in one of the page, there a textarea with contentEditable = true and when a I touch/click in this text box. popup keyboard as expected. I tried to f

  • Brother HL-5040 laser printer does not print in Windows 7 64 bit

    I had this problem and solved technical support Brother. Share the answer here. First of all, the printer is compatible with Windows 7 64-bit, which means that it is not correct: http://www.Microsoft.com/Windows/compatibility/Windows-7/en-us/search.a