Result of dimension.getImplicitLocations()

Hi ,
I want to understand the working of getImplicitLocations() on a Dimesnion.
1. Will it give me any result if I apply this method on a not fully implicit dimension(Dimesnion.isImplicit() is False)? if it gives implicit locations which level Implicit locations it provides, the next level to the current state or all implication(even at leaft level) anywhere in the dimension heirarchy.
2. Why I am not able to read the record count of implicit location dim value (Dgraph.Bins) - its always giving me null.
What I want here is i want show all the dim values to the user in a particular level- i.e > refinements, implicts, descriptors but they all should be in a same level at any pint of time
My heirarchy has 3 levels - something like this.
Wine>Red>Merlot,Pinot Noir, Cabernet,...etc
>White>WhiteBlend,chardonany, other whites... etc
> By Country>US, Spain, Argentina, Canada...etc
Regards,
DEV

It is easier to think of implicit locations by considering the record result set ... If all records in the result set have a particular dimension value, then that dimension value is considered "implicit", and will only be available in the Endeca API if you use the getImplicitLocations() method of the Dimension object. If all the dimension values for a specific dimension exist on all the records, then the whole dimension is considered "implicit", and will only be available in the Endeca API via the getCompleteDimensions() method of the Navigation object.
For your specific query, if a dimension value is implicit, then logically all child nodes will be implicit. The reverse is not true as a leaf node may be implicit, but have a parent that has other - non-implicit - children.
I don't think Dgraph.Bins gets returned for implicit dimension values as the bin count would be the same as Navigation.getTotalNumERecs() (as the dimension value is implicit because it is on all records).
Michael

Similar Messages

  • Pixel dimensions for stills in FPCX?

    For use in a FCPX HD project, at what ppi do you recommend scanning? Then do you recommend taking it into photoshop? At what pixel dimensions do you recommend saving it -- and in what format -- jpeg or tiff? Thank you!

    Andy, I'm not disagreeing with you at all and I fully understand how it works. I'm just not articulating myself properly. I'm only talking about setting the scanner software for best results. When you scan, you set the dpi and the size of the scanned document being scanned. The size of the scanned document on the scanner is a physical size (inches). The combination of the scanned size (inches), the dpi setting and the scale factor controls the resulting pixel dimensions. The scale factor should always be 100% for best quality.
    When you scan a document you can't control the physical size of the document. It is what it is. So you need to select the physical size of the document on the scanner bed (in inches). Then to get the correct pixel dimensions, you need to select the correct dpi for the scanner to use. See my example in Epson Scan software.
    If you choose a different dpi in the scanner SW, then the resulting image will need to be scaled after the scan is complete to get the correct "target" pixel dimensions. If you scale after scanning, you are either creating or destroying pixels. Better to set the correct dpi before scanning.
    Note that the scale factor in my example below is 100%. That means the correct pixel dimensions will be captured natively from the scan and not modified after the fact.
    I agree once you have the image scanned, the dpi becomes irrelevent. But it does matter to the scanner software.

  • Pixel dimensions for WebCam NX

    I was wondering if anyone knew the actual pixel dimensions, i.e. the height and width of each pixel for the WebCam NX were. Does anyone know?

    Andy, I'm not disagreeing with you at all and I fully understand how it works. I'm just not articulating myself properly. I'm only talking about setting the scanner software for best results. When you scan, you set the dpi and the size of the scanned document being scanned. The size of the scanned document on the scanner is a physical size (inches). The combination of the scanned size (inches), the dpi setting and the scale factor controls the resulting pixel dimensions. The scale factor should always be 100% for best quality.
    When you scan a document you can't control the physical size of the document. It is what it is. So you need to select the physical size of the document on the scanner bed (in inches). Then to get the correct pixel dimensions, you need to select the correct dpi for the scanner to use. See my example in Epson Scan software.
    If you choose a different dpi in the scanner SW, then the resulting image will need to be scaled after the scan is complete to get the correct "target" pixel dimensions. If you scale after scanning, you are either creating or destroying pixels. Better to set the correct dpi before scanning.
    Note that the scale factor in my example below is 100%. That means the correct pixel dimensions will be captured natively from the scan and not modified after the fact.
    I agree once you have the image scanned, the dpi becomes irrelevent. But it does matter to the scanner software.

  • Problem when trying to rename uploaded images using session value

    Hi,
    I have a form where 9 images are uploaded made into thumb nail size and then stored in a file. What I´m trying to do is rename those thumbnails from their original name to username_0, username_1, username_2 etc for each of the 9 thumbs. The username comes from the registration form on the same page. I have created a session variable for the username and am trying to use that to change to name of the image name, whilst my images are uploading and resizing the name stays as the original and not as the new username_$number. I have pasted relevant code below and would very much appreciate any help with this:
    <?php session_start();
    // check that form has been submitted and that name is not empty and has no errors
    if ($_POST && !empty($_POST['directusername'])) {
    // set session variable
    $_SESSION['directusername'] = $_POST['directusername'];
    // define a constant for the maximum upload size
    define ('MAX_FILE_SIZE', 5120000); 
    if (array_key_exists('upload', $_POST)) {
    // define constant for upload folder
    define('UPLOAD_DIR', 'J:/xampp/htdocs/propertypages/uploads/');
    // convert the maximum size to KB
    $max = number_format(MAX_FILE_SIZE/1024, 1).'KB';
    // create an array of permitted MIME types
    $permitted = array('image/gif','image/jpeg','image/pjpeg','image/png');
    foreach ($_FILES['photo']['name'] as $number => $file) {
    // replace any spaces in the filename with underscores
    $file = str_replace(' ', '_', $file);
    // begin by assuming the file is unacceptable
    $sizeOK = false;
    $typeOK = false;
    // check that file is within the permitted size
    if ($_FILES['photo']['size'] [$number] > 0 && $_FILES['photo']['size'] [$number] <= MAX_FILE_SIZE) {
    $sizeOK = true;
    // check that file is of a permitted MIME type
    foreach ($permitted as $type) {
    if ($type == $_FILES['photo']['type'] [$number]) {
    $typeOK = true;
    break;
    if ($sizeOK && $typeOK) {
    switch($_FILES['photo']['error'] [$number]) {
    case 0:
    include('Includes/create_thumbs.inc.php');
    break;
    case 3:
    $result[] = "Error uploading $file. Please try again.";
    default:
    $result[] = "System error uploading $file. Please contact us for further assistance.";
    elseif ($_FILES['photo']['error'] [$number] == 4) {
    $result[] = 'No file selected';
    else {
    $result[] = "$file cannot be uploaded. Maximum size: $max. Acceptable file types: gif, jpg, png.";
    ................CODE BELOW IS THE INCLUDES FILE THAT MAKES AND TRIES TO RENAME THE THUMBS................................................
    <?php
    // define constants
    define('THUMBS_DIR', 'J:/xampp/htdocs/propertypages/uploads/thumbs/');
    define('MAX_WIDTH_THB', 75);
    define('MAX_HEIGHT_THB', 75);
    set_time_limit(600);
    // process the uploaded image
    if (is_uploaded_file($_FILES['photo']['tmp_name'][$number] )) {
    $original = $_FILES['photo']['tmp_name'][$number] ;
    // begin by getting the details of the original
    list($width, $height, $type) = getimagesize($original);
    // check that original image is big enough
    if ($width < 270 || $height < 270) {
    $result[] = 'Image dimensions are too small, a minimum image of 270 by 270 is required';
    else { // crop image to a square before resizing to thumb
    if ($width > $height) {
    $x = ceil(($width - $height) / 2);
    $width = $height;
    $y = 0;
    else if($height > $width) {
    $y = ceil(($height - $width) / 2);
    $height = $width;
    $x = 0;
    // calculate the scaling ratio
    if ($width <= MAX_WIDTH_THB && $height <= MAX_HEIGHT_THB) {
    $ratio = 1;
    elseif ($width > $height) {
    $ratio = MAX_WIDTH_THB/$width;
    else {
    $ratio = MAX_HEIGHT_THB/$height;
    if (isset($_SESSION['directusername'])) {
    $username = $_SESSION['directusername'];
    // strip the extension off the image filename
    $imagetypes = array('/\.gif$/', '/\.jpg$/', '/\.jpeg$/', '/\.png$/');
    $name = preg_replace($imagetypes, '', basename($_FILES['photo']['name'][$number]));
    // change the images names to the user name _ the photo number
    $newname = str_replace ('name', '$username_$number', $name);
    // create an image resource for the original
    switch($type) {
    case 1:
    $source = @ imagecreatefromgif($original);
    if (!$source) {
    $result = 'Cannot process GIF files. Please use JPEG or PNG.';
    break;
    case 2:
    $source = imagecreatefromjpeg($original);
    break;
    case 3:
    $source = imagecreatefrompng($original);
    break;
    default:
    $source = NULL;
    $result = 'Cannot identify file type.';
    // make sure the image resource is OK
    if (!$source) {
    $result = 'Problem uploading image, please try again or contact us for further assistance';
    else {
    // calculate the dimensions of the thumbnail
    $thumb_width = round($width * $ratio);
    $thumb_height = round($height * $ratio);
    // create an image resource for the thumbnail
    $thumb = imagecreatetruecolor($thumb_width, $thumb_height);
    // create the resized copy
    imagecopyresampled($thumb, $source, 0, 0, $x, $y, $thumb_width, $thumb_height, $width, $height);
    // save the resized copy
    switch($type) {
    case 1:
    if (function_exists('imagegif'))  {
    $success[] = imagegif($thumb, THUMBS_DIR.$newname.'.gif');
    $photoname = $newname.'.gif';
    else {
    $success[] = imagejpeg($thumb, THUMBS_DIR.$newname.'.jpg',50);
    $photoname = $newname.'.jpg';
    break;
    case 2:
    $success[] = imagejpeg($thumb, THUMBS_DIR.$newname.'.jpg', 100);
    $photoname = $newname.'.jpg';
    break;
    case 3:
    $success[] = imagepng($thumb, THUMBS_DIR.$newname.'.png');
    $photoname = $newname.'.png';
    if ($success) {
    $result[] = "Upload sucessful";
    else {
    $result[] = 'Problem uploading image, please try again or contact us for further assistance';
    // remove the image resources from memory
    imagedestroy($source);
    imagedestroy($thumb);
    ?>
    I hope i´ve supplied enough information and look forward to receiving any help or advise in this matter.

    Use double quotes here:
    $newname = str_replace ('name', '$username_$number', $name);
    Change it to this:
    $newname = str_replace ('name', "$username_$number", $name);

  • How to batch resize in Bridge CS6 or Image Processor using height only?

    I have batches of images that need to resized based on height only and would like to do so using Bridge/Image Processor. My height requirement is 1140px, however the original images are varied in landscape/portrait orientation and are of different aspect ratios (2:3, 3:4, etc). So far what I have had to do is filter in Bridge just the landscape images then select an aspect ratio, then plug into Image Processor the exact pixel dimensions of the resized images (that I discovered using Photoshop to resize and check the resulting pixel dimension). There has to be a more efficient way.
    An example of what I am running into:
    Image 1
    Original file = 5616 h x 3744 w Portrait orientation
    Resized file = 1140 h x 760 w
    Image 2
    Original file = 3744 h x 5616 w Landscape
    Resized file = 1140 h x 1710 w
    Image 3
    Original file = 4652 h x 3489 w Portrait
    Resized file = 1140 h x 855 w
    From that example, is there a way I can plug just the height number in Image Processor (or any other Photoshop utility) so I can just batch out a bunch of images all at once?
    FYI - I am not interested in buying any new software such as Lightroom to accomplish this task. I would like to remain within Photoshop/Bridge if possible.

    You can do what you want with Image Processor without a script.  All you have to do is enter the number of pixels you want for the height (1140 pixels in your case) and then enter a number for the width that is wider than any image you will process.  Image processor will always resize the images to fit inside this rectangle.  That is, the height will always be 1140 and the width will fall where it may.  It works like the Fit Image command in Photoshop.

  • DIM Id  &  SID

    Hi ,
    What is the difference between DIM id and SID ?
    Can i call the primary key in dimension table which stores characterestics value as DIM id ?
    What is relation between DIM Id and SID ?
    Best Regards

    The DIMID is typically the value that is stored in a dimension table and the fact table.  The DIMID is normally the link between a fact table record and the dimension table record.  It is a system-generated value.
    The SID is the value that is stored in the dimension table and is the link to values stored in master data tables.  During query operations, a join is performed between fact table and dimension table using the DIMID, and a join is performed between dimension table and master data tables using the SID.  Thus, the master data table's values are joined to the fact table records via the dimension table as intermediary.
    IF you make a dimension table a line item dimension, the DIMID is not stored in the fact table, instead the SID is stored in the fact table.  This is appropriate in cases where there are many distinct values, and a resulting large dimension table would be "expensive" in a join operation.  With a line item dimension, the dimension table no longer functions as an intermediary in the join operation - the master data tables are joined directly to the fact table using the SID (with line item dimension).
    You can examine table contents more directly using transaction "LISTSCHEMA".
    Thanks for any points you choose to assign.
    Best Regards -
    Ron Silberstein
    SAP

  • Java swing popupmenu / context menu does not appear in secondary monitor

    Main screen left
    second screen right
    swing portal application is visible on two screens.
    If you open a context menu (right mouse) on the right screen, the context menu open on the left (Main) screen instead of the right.

    Thank you very much for the replying.
    The below are my use cases :
    1. JDK 7 used.
    2. OS - Ubuntu/windows XP/2008
    3. Tested with extending more than 1 monitors, i.e. Laptop / primary monitors are attached with other secondary monitors attached and then running swing portal        application.
    4. This happens when you use "Extended Desktop" with two screens.
        Main screen left
        Second screen right
        Portal is visible on two screens.
        Open a context menu (right mouse) on the right screen, the context menu open on the left (Main) screen instead of the right
    The below is the sample of code of the file that actually open up the popups. The bold italics methods are the call hierarchy that are responsible to finally call the showPopupMenu().
    private synchronized void handleMouseEvent( final IDirNodeMouseEvent e ) {
            if ( e.getMEvent().isPopupTrigger() ) {
                Thread thread = new Thread(
                        new Runnable() {
                            public void run() {
                                JNDITreeNode node = (JNDITreeNode) e.getNodeAtEventLocation();
                                System.out.println(" --- handleMouseEvent ---");
                                createPopupMenu(e.getMEvent().getPoint(), e.getMEvent().getComponent(), node);
                thread.start();
    private synchronized void createPopupMenu(final Point point, final Component c, JNDITreeNode node) {
            contextMenuDN = node.getDn();
            CursorHelper cursorHelper = CursorHelper.showWaitCursor(c);
            com.marconi.platform.cvb.bcmp.security.AbstractDNPanel.registerJndiTreeNode(node);
            ContextMenuFactory contextMenuFactory = new ContextMenuFactory ( context );
            contextMenuFactory.setAttributeViewDisplayText(node.getDisplayText());
            TreeNodeDescriptor treeNodeDescriptor = new TreeNodeDescriptor(
                    node.getDn(),
                    node.getDirData()
            boolean searchContextAvailable = true;
            JNDIData data = node.getDirData();
            Attributes attrs = data.getAttributes();
            Attribute a = attrs.get("mSearchContextAvailable");
            try
              if (a != null)
                    String value = (String)a.get();
                    if (value.equalsIgnoreCase("FALSE"))
                        searchContextAvailable = false;
            catch (NamingException ne)
            jMenuItemSearch.setEnabled(searchContextAvailable);
            JPopupMenu menu = contextMenuFactory.getPopupContextMenu( treeNodeDescriptor );
            menu.addSeparator();
            menu.add( jMenuItemCollapseAll );
            menu.add( jMenuItemSearch );
            if ( contextMenuDN != null ) {
                menu.add(jMenuItemUpdate);
            MUtils.showPopupMenu(menu, point, c);
            cursorHelper.showDefaultCursor();
       * MUtils ensures that the whole popup menu is visible, performs a cleanup before showing.
       * @param popupMenu the menu to be shown
       * @param mouseClickPoint where the mouse has been clicked
       * @param c the component on which to show the popup menu
       * @see cleanupMenu
        public static void showPopupMenu( final JPopupMenu popupMenu, final Point mouseClickPoint, final Component c) {
        if ( popupMenu.getComponentCount() == 0 ) return;
        cleanupMenu( popupMenu );
        if ( autoAssigningMnemonics ) {
          assignMnemonics( popupMenu );
        final Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
        final Point result = new Point(mouseClickPoint);
        SwingUtilities.convertPointToScreen( result, c);
        Dimension popupSize = popupMenu.getPreferredSize();
        popupSize.height = popupSize.height + 30; // as Windows TaskBar is overlapping always
          if ( popupSize != null ) {
          if ( result.getX() + popupSize.getWidth() > screenSize.getWidth() ) {
            result.setLocation( screenSize.getWidth() - popupSize.getWidth() , result.getY() );
          if ( result.getY() + popupSize.getHeight() > screenSize.getHeight() ) {
            result.setLocation( result.getX(), screenSize.getHeight() - popupSize.getHeight() );
        result.x = Math.max( 0, result.x );
        result.y = Math.max( 0, result.y );
        SwingUtilities.convertPointFromScreen( result, c );
        javax.swing.SwingUtilities.invokeLater(
          new Runnable() {
            public void run() {
                popupMenu.show( c, (int) result.getX(), (int) result.getY());
    Please let me know your feedback. Need to confirm whether this issue is really exists or not.

  • PICEXPORT file type WMF

    Hi,
    I have problems using the following "PICEXPORT" sentence:
    Call PICEXPORT("C:\Test D9.WMF","WMF",1,768,1024)
    1-  When saving a graphic in WMF format the resulting image dimensions are different than the requested on the sentence (768x1024) I’m doing something wrong? How can I specify the dimensions of the generated image?
    2- I also obtain different image dimensions depending on the DIAdem version that I use. With version 8.0 the resulting image has lower dimensions and the file size is smaller than using version 8.1 and 9.1…
    I would like to be able to specify the WMF dimensions in order to obtain always the same image dimensions and size. Is that possible? How can I do that?
    Thanks in advance,
    Marc.

    Hi Marc
      Here is a great explanation of why PICEXPORT doesn't work as expected
    http://forums.ni.com/ni/board/message?board.id=60&message.id=3048&requireLogin=False
    Hope it helps
    Javier Gutiérrez
    NI Application Engineering

  • How to calc accumulate rate in a script logic?

    Hi experts,
    We are trying to generate a monthly accumulate rate in a script logic. We have a Unit rate in 12 months and we want UnitAccum rate (like YTD) in the same 12 months
    Finally, we need to use this new rate in a multiplication.
    How can we do it with a script logic? Any idea out there?
    Kind regards
    Albert Mas

    Hi Ethan,
    You are understanding ok
    We are working on SAP BPC NW version 7.0, SP05, and at the moment, it's impossible to update to SP08.
    We have done all the following tests, trying to find some solution, under these conditions (we knew that some tests weren't going to work well, but anyway, we had to try them):
    - always for only one product (*XDIM_MEMBERSET PRODUCT=Product1)
    - UNITS and UNITACCUM are ACCOUNT base members
    - UCostVtaAcumDimFor is an ACCOUNT Formula Base Member ([ACCOUNT].[UNITS],[MEASURES].[FYTD])
    - FYTD is a Measures base member for Fiscal Year To Date (we use it because we want to see as Year to Date (YTD) as Fiscal Year To Date (first month of the year is September and the last one is August) (it works well)) (We have also tested on YTD instead of FYTD, with the same results)
    (1)
    *XDIM_MEMBERSET TIEMPO=2010.FEB
    [ACCOUNT].[#UNITACCUM] = ([ACCOUNT].[UNITS],[MEASURES].[FYTD])
    *COMMIT
    Result: MEASURES not specified. Failed
    (2)
    *XDIM_MEMBERSET TIEMPO=2010.FEB
    *WHEN ACCOUNT
    *IS UNITS
    *REC(EXPRESSION=([ACCOUNT].[UNITS],[MEASURES].[FYTD]), ACCOUNT=UNITACCUM)
    *ENDWHEN
    *COMMIT
    Result: MEASURES not specified. Failed
    (3)
    *XDIM_MEMBERSET TIEMPO=2010.FEB
    *WHEN ACCOUNT
    *IS UNITS
    *REC(ACCOUNT=UNITACCUM,MEASURES=FYTD,FACTOR=1)
    *ENDWHEN
    *COMMIT
    Result: Unknown Dimension Name in Keyword "MEASURES". Failed
    (4)
    *XDIM_MEMBERSET TIEMPO=2010.FEB
    *WHEN ACCOUNT
    *IS UNITS
    *REC(ACCOUNT=UNITACCUM,TIEMPO=TIEMPO.NEXTMONTH,FACTOR=1)
    *ENDWHEN
    *COMMIT
    Result: it takes too much time (more than five minutes) without ending the process --> We stop this test
    (for 2010.FEB, TIEMPO.NEXTMONTH=2010.MAR)
    (5)
    *XDIM_MEMBERSET TIEMPO=2010.FEB
    *WHEN ACCOUNT
    *IS UNITS
    *REC(ACCOUNT=UNITACCUM,TIEMPO=TIEMPO.PREVMONTH,FACTOR=1)
    *ENDWHEN
    *COMMIT
    Result: it takes too much time (more than ten minutes) without ending the process --> We stop this test
    (for 2010.FEB, TIEMPO.PREVMONTH=2010.JAN)
    (6)
    *XDIM_MEMBERSET TIEMPO=2010.FEB
    *WHEN ACCOUNT
    *IS UNITS
    *REC(ACCOUNT=UNITACCUM,FACTOR=1)
    *ENDWHEN
    *COMMIT
    Result: Cancelled
    (7)
    *XDIM_MEMBERSET TIEMPO=2010.FEB
    [ACCOUNT].[#UNITACCUM] = [ACCOUNT].[UCostVtaAcumDimFor]
    *COMMIT
    (UCostVtaAcumDimFor is a Formula Base Member ([ACCOUNT].[UNITS],[MEASURES].[FYTD]))
    Result: Cancelled
    Some more ideas?
    Thanks in advance,
    Albert Mas

  • RSRV -

    Hello,
    We refreshed using a copy of production our R3 QA box, so I reloaded the data for our BW QA box.
    Since it was a refresh our BWQ and BWP boxes should contain the same exact data (Which they do, I verified)
    The question i have Regards why i have a difference when I run RSRV on BWQ and BWP?
    In RSRV I select the following Database test "Database information about infoprovider tables".
    I expect that my BWQ and BWP results would be very similiar (if not exactly the same), but they are not.
    The biggest difference I find when I examine the RSRV logs is that the Uncompressed Fact table for my cube in BWQ has 3398 entries, but in BWP it has 3,555,730 entries.  I would have expected these numbers to be the same since the data is exactly the same.  As a result my dimension tables are disproportionately huge (up to 200-2600% the size of the fact table, when on BWP they are all 3% or smaller)
    The only difference i can think of is that the production load consists of deltas (which is to be expected with recurring nightly loads), and the BWQ load was only a Delta Init.  But the data is exactly the same, and my reports have the same results.
    I have manually 'refreshed' statistics from the cube in both BWP and BWQ, but the RSRV results have not changed as a result.
    Any advice or thoughts are appreciated!
    Nick

    First of all, check out [How to System Copy in SAP Business Intelligence System Landscapes (NW2004)|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/bff13df2-0c01-0010-6ba7-bc50346a6fd8].  The next time you do a refresh you should just be able to follow this procedure and avoid having to reload your BI system altogether.
    Now, about the differences reported in RSRV.  Is your cube in BWP compressed?  If it has over 3 million records uncompressed it sounds like it might not be.  You should avoid keeping all but the 30 most recent requests uncompressed.  Is you BWQ cube compressed?  It sure has a lot fewer uncompressed requests, so I'm guessing the answer is yes.
    I'm not sure, but maybe RSRV only looks at the uncompressed (F) fact table when it does its analysis.

  • Dim id Table

    When the Dim ids are created ? and how

    hi
    Check in
    http://help.sap.com/bp_biv235/bi_en/documentation/Multi-dimensional_modeling_EN.doc
    The DIMID is typically the value that is stored in a dimension table and the fact table. The DIMID is normally the link between a fact table record and the dimension table record. It is a system-generated value.
    The SID is the value that is stored in the dimension table and is the link to values stored in master data tables. During query operations, a join is performed between fact table and dimension table using the DIMID, and a join is performed between dimension table and master data tables using the SID. Thus, the master data table's values are joined to the fact table records via the dimension table as intermediary.
    IF you make a dimension table a line item dimension, the DIMID is not stored in the fact table, instead the SID is stored in the fact table. This is appropriate in cases where there are many distinct values, and a resulting large dimension table would be "expensive" in a join operation. With a line item dimension, the dimension table no longer functions as an intermediary in the join operation - the master data tables are joined directly to the fact table using the SID (with line item dimension).
    Assign Points if this helps

  • Hello, how can i batch resize, landscape and portrait pictures?

    Hello i'm new in CS6 and i wonder, is there a way to batch portrait and landscape pictures simultaneously and keep the   aspect ratio of the type?

    Batch Conversion:
    Select the Output Format at bottom left. This works just like Save and Save As. The Options button lets you choose from the various file format specific save options, just like the Save and Save As dialog.
    Use the Set advanced options button to apply many special operations to the images during conversion. These options are much like their versions on the Image Menu. The options are:
    Crop, Resize, Change color depth, Auto adjust colors, Horizontal flip, Vertical flip, Rotate left, Rotate right, Convert to greyscale, Negative, Sharpen, Brightness, Contrast, Gamma correction, Saturation, Color balance, etc.
    Hint: for Batch Resize: If you set both, width and height, to e.g. 640 and activate the preserve aspect ratio option, the result image dimensions are: width = max. 640, height = max. 640, proportional.
    The option Create subfolders in destination folder will create a similar folder structure in the destination folder to the original file path.
    Note: conversion to a multipage PDF is not yet possible in batch mode, only in the Save-as menu.
    This is from the help file of Irfanview, a free program (www.irfanview.com)
    Note the hint. I have not used the program for this purpose. You may wish to install this program.

  • Urgently help please

    Hi,
    I try to set a function's results to different rows .
    my function is that:
    create or replace function saat_aralik(saat_bas date, aralik number ,bas varchar2,son varchar2 ) return varchar2 is
    tut_saat date;
    begin
    tut_saat:=saat_bas;
    while to_char(tut_saat,'HH24:MI') < son loop
    tut_saat := tut_saat +(1/24/60)*aralik;
    end loop;
    return (to_char(tut_saat,'HH24:MI'));
    end
    my aim is that:
    for example the parameters are these:
    saat_aralik(to_date('01/01/2007','DD/MM/YYYY'),4 ,09:00,15::48 )
    ı want to set these funsiton results a report column like these:
    09:00
    09:04
    09:08
    09:12
    15:48 but ı did nto success set these result to column rows.All rows show the loop' end value 15:48 (becausemy condition is that the result<son parameter)
    Please help me I dont know how will ı do this?
    Thanks!

    or a single query using the model clause:
    SQL> var SAAT_BAS varchar2(10)
    SQL> var ARALIK number
    SQL> var BAS varchar2(5)
    SQL> var SON varchar2(5)
    SQL> exec :SAAT_BAS := '01-01-2007'
    PL/SQL-procedure is geslaagd.
    SQL> exec :ARALIK := 4
    PL/SQL-procedure is geslaagd.
    SQL> exec :BAS := '09:00'
    PL/SQL-procedure is geslaagd.
    SQL> exec :SON := '15:48'
    PL/SQL-procedure is geslaagd.
    SQL> select d
      2    from dual
      3   model
      4         reference start_end_date on
      5            ( select 1 rn
      6                   , to_date(:SAAT_BAS||' '||:BAS,'dd-mm-yyyy hh24:mi') start_date
      7                   , to_date(:SAAT_BAS||' '||:SON,'dd-mm-yyyy hh24:mi') end_date
      8                from dual
      9            )
    10            dimension by (rn)
    11            measures (start_date,end_date)
    12         main result
    13         dimension by (0 as i)
    14         measures (to_date(null) as d)
    15         rules iterate (10000) until (d[iteration_number] >= end_date[1])
    16         ( d[iteration_number] = start_date[1] + (iteration_number * :ARALIK)/24/60
    17         )
    18  /
    D
    01-01-2007 09:00:00
    01-01-2007 09:04:00
    01-01-2007 09:08:00
    01-01-2007 09:12:00
    01-01-2007 09:16:00
    01-01-2007 09:20:00
    01-01-2007 09:24:00
    01-01-2007 09:28:00
    01-01-2007 09:32:00
    01-01-2007 09:36:00
    01-01-2007 09:40:00
    01-01-2007 09:44:00
    01-01-2007 09:48:00
    01-01-2007 09:52:00
    01-01-2007 09:56:00
    01-01-2007 10:00:00
    01-01-2007 10:04:00
    01-01-2007 10:08:00
    01-01-2007 10:12:00
    01-01-2007 10:16:00
    01-01-2007 10:20:00
    01-01-2007 10:24:00
    01-01-2007 10:28:00
    01-01-2007 10:32:00
    01-01-2007 10:36:00
    01-01-2007 10:40:00
    01-01-2007 10:44:00
    01-01-2007 10:48:00
    01-01-2007 10:52:00
    01-01-2007 10:56:00
    01-01-2007 11:00:00
    01-01-2007 11:04:00
    01-01-2007 11:08:00
    01-01-2007 11:12:00
    01-01-2007 11:16:00
    01-01-2007 11:20:00
    01-01-2007 11:24:00
    01-01-2007 11:28:00
    01-01-2007 11:32:00
    01-01-2007 11:36:00
    01-01-2007 11:40:00
    01-01-2007 11:44:00
    01-01-2007 11:48:00
    01-01-2007 11:52:00
    01-01-2007 11:56:00
    01-01-2007 12:00:00
    01-01-2007 12:04:00
    01-01-2007 12:08:00
    01-01-2007 12:12:00
    01-01-2007 12:16:00
    01-01-2007 12:20:00
    01-01-2007 12:24:00
    01-01-2007 12:28:00
    01-01-2007 12:32:00
    01-01-2007 12:36:00
    01-01-2007 12:40:00
    01-01-2007 12:44:00
    01-01-2007 12:48:00
    01-01-2007 12:52:00
    01-01-2007 12:56:00
    01-01-2007 13:00:00
    01-01-2007 13:04:00
    01-01-2007 13:08:00
    01-01-2007 13:12:00
    01-01-2007 13:16:00
    01-01-2007 13:20:00
    01-01-2007 13:24:00
    01-01-2007 13:28:00
    01-01-2007 13:32:00
    01-01-2007 13:36:00
    01-01-2007 13:40:00
    01-01-2007 13:44:00
    01-01-2007 13:48:00
    01-01-2007 13:52:00
    01-01-2007 13:56:00
    01-01-2007 14:00:00
    01-01-2007 14:04:00
    01-01-2007 14:08:00
    01-01-2007 14:12:00
    01-01-2007 14:16:00
    01-01-2007 14:20:00
    01-01-2007 14:24:00
    01-01-2007 14:28:00
    01-01-2007 14:32:00
    01-01-2007 14:36:00
    01-01-2007 14:40:00
    01-01-2007 14:44:00
    01-01-2007 14:48:00
    01-01-2007 14:52:00
    01-01-2007 14:56:00
    01-01-2007 15:00:00
    01-01-2007 15:04:00
    01-01-2007 15:08:00
    01-01-2007 15:12:00
    01-01-2007 15:16:00
    01-01-2007 15:20:00
    01-01-2007 15:24:00
    01-01-2007 15:28:00
    01-01-2007 15:32:00
    01-01-2007 15:36:00
    01-01-2007 15:40:00
    01-01-2007 15:44:00
    01-01-2007 15:48:00
    103 rijen zijn geselecteerd.Regards,
    Rob.

  • MDX MAX operator resulting in 999/99999 querying on Dimension

    The following MDX query for my dimension is returning values either 999/99999 depending on number of members in the dimension.
    WITH
    MEMBER [Measures].[MaxKey] AS
       MAX([Fare Media].[Fare Media Id].ALLMEMBERS
       , [Fare Media].[Fare Media Id].currentmember.MEMBER_KEY)
    SELECT
       {[Measures].[MaxKey]} ON 0
    FROM
       [SPCube]
    This gives me a result of 99999 though in actual I have values greater than this in my dimension and total count of members are 640,000.
    Apply same logic to another dimension in the cube as follows -
    WITH
    MEMBER [Measures].[MaxKey] AS
       MAX([Sales Period].[Sales Period Id].ALLMEMBERS
       , [Sales Period].[Sales Period Id].currentmember.MEMBER_KEY)
    SELECT
       {[Measures].[MaxKey]} ON 0
    FROM
       [SPCube
    The answer I obtain is 999 as the max value but the total members are of 675 of which I have Id's greater than 999.
    Can someone help me understand where I am going wrong and how to correct it?
    I tried applying StrToValue function but then I get an error saying -
    An MDX Expression was expected. An empty expression was specified.
    Regards,
    Karthik
    Please remember to click Mark as Answer and Vote as Helpful on posts that help you. This can be beneficial to other community members reading the thread.

    Hi SrikanthGS,
    Assuming that with the last date available for the measure you mean the last date with non-empty figures, consider the following against the AW:
    SELECT [Measures].[Internet Sales Amount] ON 0,
    Generate (
    [Date].[Calendar].[Month].Members,
    ( Exists ( [Date].[Month of Year].[Month of Year], [Date].[Calendar].CurrentMember ),
    Tail (
    NonEmpty (
    Descendants ( [Date].[Calendar].CurrentMember, [Date].[Calendar].[Date] ),
    [Measures].[Internet Sales Amount]
    1
    ) ON 1
    FROM [Adventure Works]
    WHERE [Product].[Product Categories].[Subcategory].&[1]
    Philip,

  • Endeca dimension search on first throw error and when hit again gives result

    Getting below error for search terms like - 'the the of the book' , which converts to dimension search.
    status >> ENE error
    ENEException
    com.endeca.navigation.ENEException: Navigation Engine not able to process request 'http://10.1.0.205:9300/search?terms=the+the+paper&opts=mode+matchall&rank=0&offset=0&compound=1&irversion=601'.
    When hit the same URL again returns the result set.
    Please provide a solution

    The formatting is pretty terrible, but I included the ULS logs with that correlation id in my initial post.  I can't make out any useful information from it, hence heading here.
     

Maybe you are looking for

  • The difference between logic 7.2.1 and logic 7.2.3

    I have a powermac dual g5 2.3ghz running logic pro 7.2.1 The update to 7.2.3 seems like its only for the newer macs?What will i gain by upgrading?and is it worth it,Thanks everyone

  • HOW TO DO POSITIVE PAY IN F110

    When the customer is the same as vendor, and the payable is more then the receivable can we do a pmt run to make the payment for the difference of the payable and receivale amount. If yes, what are the parameters, and other information to be filled i

  • HT4623 Where is the Safari Privacy button located? It's not within the Settings/Safari cluster.

    Having downloaded the new IOS software, I now cannot access my BT Yahoo e-mail "in box". It prompts me to disable the Safari settings Privacy button.  Where is  it please!!!

  • E50 Font size is too small

    yesterday I bought a Nokia E50. this is really nice one. I love it. but the problem is the font. Its too small. even some times I can't read it, if i am on move. I think NOKIA should solve this problem. Because its a major problem. Anyway, anybody kn

  • Safari broken revisited again

    Been gone a while, back now... And, I still can't get Safari 3.2.3 to work - I can't quit (sometimes); I get the spinning beach ball and can't get beyond http://www in status bar (sometimes). I've poked around here and it seems I am not the only one