OBIEE WebService XmlViewService.executeSQLQuery result auto trunc double to int

Hi gurus,

I write a Web service client to call Webservice OBiee, XmlViewService.executeSQLQuery, I get the result of the report, but found double values were auto turnc in int, e.g. 20,58 votes against 21, when I run the sql on the layout of web page code, I got 20.58, but through webservice, got 21.

I read the document Web service, but can not find anywhere to set the data format.

Did anyone experienced this problem? or know how to fix it, pls help!

I've solved this problem, use another web service interface: XmlViewService.executeXMLQuery.

Ref doc:http://www.eeblog.org/index.php/obiee-tips-7-report-filtering-via-web-services/

Tags: Business Intelligence

Similar Questions

  • search result opens by double clicking on a folder

    Don't remember not when this started, I missed something

    Hi Butch,

    ·         What results does show?

    ·         This happens with all files that click you on?

    ·         You have another user account?

    Method 1: If you think that the problem may have started recently, you can try to perform a System Restore and see if it helps.

    Method 2: Log a user account different to check the issue. If you don't have any user account, and then create one and check for the issue.

    How to create and configure user accounts in Windows XP

    If this isn't the case, then, please respond with more information on the issue, then we can help you better.

  • Help with the query to select only one record from the result set in double

    Hello

    Please help with the query. Version of Oracle database we use is 10g R2.

    I have a vision that is duplicated IDS, but they are used across the different functions. See below examples of data. Please help me with a query to select only one record (based on ID regardless of the area) from the bottom of the result set of duplicate records. For what is the point of view is there unique records, given the combination of the fields ID, Org, DF, dry, Sub-Sec

    ID
    Org
    DF
    Sec Sub-Sec

    (163)CQCPDMCPDMHD(163)PCENGENGENG(163)CQASICASICIS8888TSTACTACTAC(163)TSHEHESW6789CQINFOINFOFOS6789PCSECSYSSECSYSINFO16789TSSECSYSSECSYSINFO29009PCBMSBMSBMS1

    My result set must eliminate the duplicate identifiers regardless of whoever we choose of the result set. (I mean without distinction Org, DF, s, Sub-s). My expected result set should be.

    ID
    DSB

    DF
    SEC
    Sub-Sec
    (163)CQCPDMCPDMHD8888TSTACTACTAC6789CQINFOINFOFOS9009PCBMSBMSBMS1


    Thank you

    Orton

    Hello

    This sounds like a job for ROW_NUMBER:

    WITH got_r_num AS

    (

    SELECT id, DSB, df, s, sub_sec org

    ROW_NUMBER () OVER (PARTITION BY ID.

    ORDER BY org

    ) AS r_num

    OF view_x

    )

    SELECT id, DSB, df, sub_sec s,

    OF got_r_num

    WHERE r_num = 1

    ;

    He is a Top - N query example, where you choose the elements of N (N = 1 in this case) from the top of an ordered list.

    I hope that answers your question.
    If not, post a small example of data (CREATE TABLE and INSERT, only relevant columns instructions) to your sample data and the results desired from these data.  (I know that you said that you were a view selection.  Just for this thread, pretending it is a picture and post simple CREATE TABLE and INSERT statements to simulate your point of view).
    Point where the above query is to produce erroneous results, and explain, using specific examples, how you get the right results from data provided in these places.  (I didn't quite understand the explanation above.  I don't know why you want to

    ID ORG DF DRY SUB_SEC

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

    1234 CQ DPRK DPRK HD

    and is not

    1234 IS CQ ASIC, ASIC

    or

    TS 1234 IT IT SW

    or

    1234 CQ ASIC ASIC HD

    )
    If you change the query at all, post your modified version.
    Always say what version of Oracle you are using (for example, 11.2.0.2.0).

    See the FAQ forum: https://forums.oracle.com/message/9362002

  • Results of research doubles (RH HTML v10)

    RoboHelp HTML V10: The following problem occurs after Microsoft HTML Help generation and opening the file chm on my desk.  I go to the Search tab, enter the keyword, click News, and in the display list, there is a duplicate topic.  Let's say that I searched on 'computer '.  There are two areas of 'Computer' in the view of the topic.  When I click on the first "computer" to display the topic it displays the content of the topic perfectly. When I click on the second topic on the screen it says (in the heading window) "this program cannot display this Web page." I searched the topic throughout the project.  In the .hhc project folder, there is an instance, there are 4 references in the project .hhk file.  In the htm project folder, there is a reference.  How to find the reference in the draft which is originally the topic duplicate to display in the search results with the error message?  There is only one topic in the table of contents, and when I search the index there is also a single instance.  Thanks for any help you can provide.

    Welcome to the forum.

    To save waiting for responses, research is still required. If so you can't find anything, the next trick is to look at the side panel more Like This. Against this thread, you will see "re duplicate search topics" and which may well contain the answer to your problem. After the return if it is not.

    The thread takes you to my site, and the first link in the response, it does not work. However, the information you need is in the link "text".

    See www.grainge.org for creating tips and RoboHelp

    @petergrainge

  • Double and Int


    Division of two integers (ints) lead to an int, and "chop" off the floating power will always point to a party.  You are on the right track with your casting...

    results = (double) adj_gain_value / (double) adaptive_gain_value

  • OBIEE logical column has same SQL but returns different results

    I have a SQL query with a case statement that returns the correct results by operating in Oracle SQL Developer. I've created several logical columns in OBIEE, one for each case in the original query. However, the results returned by each logical column OBIEE are radically different from the original SQL query results, even if the SQL code is virtually identical.

    For example, a column logical OBIEE that returns incorrect results contains the following SQL code:

    SUM (CASE when

    ("Registration - College". "" Effective colleges F. ("" Postal code "like '% a %') or

    ("Registration - College". "" Effective colleges F. ("" Postal code "like '%B %') or

    ("Registration - College". "" Effective colleges F. ("" Postal code "like '%c %') or

    ("Registration - College". "" Effective colleges F. ("" Postal code "like"% %") or

    ("Registration - College". "" Effective colleges F. ("" Postal code "like '%G %') or

    ("Registration - College". "" Effective colleges F. ("" Postal code "like"hour %") or

    ("Registration - College". "" Effective colleges F. ("" Postal code "like"%%J") or

    ("Registration - College". "" Effective colleges F. ("' Postal code ' like '%R %') or

    ("Registration - College". "" Effective colleges F. ("" Postal code "like '%s %') or

    ("Registration - College". "" Effective colleges F. ("" Postal code "like '%T %') or

    ("Registration - College". "" Effective colleges F. ("" Postal code "like"% %") or

    ("Registration - College". "" Effective colleges F. ("" Postal code "like '%x %') or

    ("Registration - College". "" Effective colleges F. ("' Postal code ' like '%Y %')

    THEN 0 OTHERWISE 1 END)

    The case statement in the original SQL query, which returns the correct results, is as follows:

    CASE

    WHEN (postal_zip_code_permanent like "%%K") or (postal_zip_code_permanent like '% %') or (postal_zip_code_permanent like '%m %') or (postal_zip_code_permanent like '%n %') or (postal_zip_code_permanent like "%p %") THEN "Ontario".

    WHEN (postal_zip_code_permanent like '% a %') or (postal_zip_code_permanent like '%B %') or (postal_zip_code_permanent like '%c %') or (postal_zip_code_permanent like '% %') or (postal_zip_code_permanent like '%G %') or (postal_zip_code_permanent like "%hour") or (postal_zip_code_permanent like "%%J") or (postal_zip_code_permanent like "%%R") or (postal_zip_code_permanent like '%s %') or (postal_zip_code_permanent like '%t %') or (postal_zip_code_permanent like '% %') or (postal_zip_ code_permanent like '%x %') or (postal_zip_code_permanent like "%%Y") THEN "Canada, other than Ontario.

    WHEN (substr(postal_zip_code_permanent,1,1) IN ('1 ', '2', '3', '4', '5', '6' ', 7',' 8 ', ' 9',' 0') or (postal_zip_code_permanent like '%d %') or (postal_zip_code_permanent like '%f %') or (postal_zip_code_permanent like ' % I %') or (postal_zip_code_permanent like "% O") or (postal_zip_code_permanent like "%%Q") or (postal_zip_code_permanent like "%%U") or (postal_zip_code_permanent like ' % W ') or (postal_zip_code_permanent like "%%Z")) THEN 'other')

    WHEN (postal_zip_code_permanent like '% + %') or (postal_zip_code_permanent like '%. %') or (postal_zip_code_permanent like ' %? %') or (postal_zip_code_permanent like '% %') or postal_zip_code_permanent IN ('+ ','.', '?)) (',',') And THEN "Invalid."

    WHEN postal_zip_code_permanent is null THEN 'Blank '.

    Of OTHER postal_zip_code_permanent

    END

    Now I see what the problem was. In the original SQL query, each condition is exclusive, for each record will only be categorized in one of the scenarios WHEN. But in OBIEE, each logical column is autonomous, so some records were classified into more than logical column, even if each logical column was supposed to be exclusive.

  • Reading result from Webservice

    I get a webservice as a result:

    "< StockQuotes > < Stock > < symbol > ABC < / symbol > <last> 20.24 < /last> < Date > 06/08/2010 < / Date > < time > 16:00 < / Time > < change > 0.00 < / change > < N/A Open > < / Open > < n/d high > </h igh > < low N/A > < / Low > < Volume > 0 < / Volume > < MktCap > 41.563 B < / '. "MktCap > < PreviousClose > 20.24 < / close precedent > < PercentageChange > 0.00% < / PercentageChange > < AnnRange > 14.72 - 20.97 < / AnnRange > < wins > 0,706 < / wins > < P-E > 28.67 < / P-E > < name > ABC Corporation C < / name > < / Stock > < / quotes >.

    This is stored in the event.result property in the ResultHandler.

    How can I parse this response and reading, for example, last tag?

    event.result.Last gives an error.

    Thank you

    SAM

    Hello

    Replace your resultHandler() with the below a function...

    private void resultHandler(event:ResultEvent):void
    {
    var resultXML:XML = new XML();
    resultXML = new XML (event.result as String);

    If (resultXML! = null & resultXML.hasOwnProperty ("Stock"))

    {

    trace (resultXML.stock.Last);
    Display.Text = resultXML.Stock.Last;

    }
    }

    Thank you

    Jean Claude Chari

  • Parse the string into two double

    Hello everyone, once again

    I'm taking a string of numbers that can be anywhere from - 999999.999999 to + 999999.99999 and separate them into two double rooms. For example, if a user entry - 10000, 10000 - two doubles would be-10000 and-10000. If the user has entered - 10.11111- + 20.00111 he got out - 10.11111 and 20.00111. The VI "Extract the numbers" did perfectly, but I need a way to return the results in two double rooms instead of an array of doubles. I also results to return all the digits after the decimal point for reasons of precision. I use this code within one of my States in a state machine and the driver I use only accepts double rooms.

    The code of "Extract the numbers" VI is attached. Thank you all!

    Hi buickgn,

    When your code works, you should only use IndexArray on outputs. If not, try this one:

  • Double buffer handling

    Hello? My system is using a double buffering based code and I have to use them. I tested a stand-alone DAQmx program on a double buffering technique, and it works quite fine with my system. Since I am not only writing my code c ++ system for years 1980, I'm not sure how to handle the DAQmx double buffering system.

    Here is my old c ++ code that deals with a double buffer code to display a chart.

    I've attached these codes and the last of them is DAQmx code and there is error points; //<******************** error="" occurs="">

    The rest of them is old c ++ and EvenBank and OddBank represent the double buffer. Their models are

    double* EvenBank;
    
    double* OddBank;
    

    and these are handled/initialized this way later

        EvenBank = new double[ iTotalSize ]; //iTotalSize = 7200
    
        OddBank  = new double[ iTotalSize ];
    
        int i;
        for( i= 0; i< iTotalSize; i++ )
             EvenBank[ i ] = OddBank[ i ] = 0;
    

    Then the thread function attached here. I have no idea how to assign the acquired Bank and odd sample to display in the chart.

    Thanks for help.

    1 put on display:

    unsigned int ThreadDisplay( LPVOID pParams )
    {
        static unsigned long count    = 1;
        static unsigned long traceNum = 1;
    
        CNatAcqView* ptr = (CNatAcqView*)  pParams;
    
        if( traceNum %2 )
        {
            traceNum = 1;  //reset counter
    
            ptr->StartEvenIntScanATD();
    
            if( ptr->WriteEnable )
                ptr->WriteToDisplayBuffer( FALSE );   // ODD, Calling startScan()
        }
        else
        {
            ptr->StartOddIntScanATD();
    
            if( ptr->WriteEnable )
                ptr->WriteToDisplayBuffer( TRUE );    // EVEN, Calling startScan()
        }
    
        ptr->WriteEnable = TRUE;
    
        Check_Daq( ptr, ptr->iTotalSize ); // wait till end of signal window
    
        traceNum++;
    
        Sleep( 50 ); //minimum for checking keys and menu bars
    
        ptr->PostMessage( WM_DISPLAY_BUFFER, count, (long)0 ); // if done exit ,else restart...
    
        AfxEndThread( 0 );      
    
        return 0;
    }
    

    2 display data on the screen:

    int CNatAcqView::WriteToDisplayBuffer( bool even )
    {
        int i,j;
    
        for( i= 0; i< iChannel_Acq; i++ )  //display buffer depends on IRIS model
        {
            for( j= 0; j< fdat.trace_size; j++)
            {
                if( even )
                {
                    if( gd.ch[i].active == 1 )
                        gd.ch[ i ].iatd[ j ] = EvenBank[ i + j*iChannel_Acq ]; //iChannel_Acq = 6
                    else
                        gd.ch[i].iatd[j] = 0;
                }
                else
                {
                    if( gd.ch[i].active == 1 )
                        gd.ch[ i ].iatd[ j ] = OddBank[ i + j*iChannel_Acq ];
                    else
                        gd.ch[i].iatd[j] = 0;
                }
            }
        }
    
        //PreProcessing
        for ( i= 0; i< MAX_RADARS; i++ )
        {
            //if( i < 4 )  //for BatteryLevel
            //{
                if( processFlag == 1 && gd.ch[i].active == 1 )
                   AcqPoll_ProcessSignal( i );
            //}
        }
    
        for( i= 0; i< iChannel_Acq; i++ )            //MAX_CHANN
        {
            if( gd.ch[i].active == 1 )
            {
                for( j= 0; j< fdat.trace_size; j++ )
                     iAveBuffer[i][j] = iAveBuffer[i][j] + gd.ch[i].iatd[j]; //average calculation, not important
            }
        }
    
        if( SampleTimeFlag != 1 )
        {
            for( i= 0; i< MAX_RADARS; i++ )
            {
                gd.ch[i].blength    = fdat.trace_size;
    
                gd.ch[i].sampleTime = .000001 * fdat.period * fdat.its[i]; // display text info on a screen
    
                if( i >= IRIS_SYSTEM )
                    gd.ch[i].sampleTime = fdat.period;
            }
        }
        else  //if( SampleTimeFlag == 1 )
        {
            for( i= 0; i< MAX_RADARS; i++ )
            {
                gd.ch[i].sampleTime = fdat.period;
                gd.ch[i].blength    = fdat.trace_size;
            }
        }   
    
        return 1;
    }
    

    3 Check_Daq:

    BOOL Check_Daq( LPVOID pParams, int expect) // int expect is a total size of the sample buffer.
    {
    
        short done;
        unsigned long number = 0;         
    
        int status;
        status = DAQ_Check( 1, &done, &number );
        CNatAcqView* ptr = (CNatAcqView*)pParams;
    
        AfxMessageBox("Check_Daq is called", MB_OK, 0);
    
        ptr->bAbortAcquire = FALSE;
        ptr->bRadarTrigger = TRUE;
        ptr->iTriggerLED   = 1;      //Trigger On
    
        int i=0;
        while( done != 1 )
        {
            status = DAQ_Check( 1, &done, &number ); 
    
            ptr->bRadarTrigger = FALSE;
    
            ptr->uiTriggerCheck++;
    
            //protect overflow data type
            if( ptr->uiTriggerCheck >= MAX_DMI_COUNT )
                ptr->uiTriggerCheck = 0;
    
            if( ptr->bAbortAcquire ) //from OnAcquire Mode
                done = 1;           
    
        }
    
        ptr->uiTriggerCheck = 0;
    
        if( number == (unsigned long) expect )
            return TRUE;
        else
        {
            //throw ERROR_DAQ_CHECK;
            return FALSE;
        }
    
    }
    

    4 DAQmx conversion:

    //I will comment out Check_Daq() in ThreadDisplay function. Then this whole single function will be called.
    
    unsigned int CollectingSamples(LPVOID pParams)
    {
        CNatAcqView* ptr = (CNatAcqView*) pParams;
        int32           error=0;
        char            errBuff[2048]={'\0'};
        double          gainValue = 0.5f;
        uInt32          numChannels;
        uInt32          reading=0;
        static bool32   isDone;
        ptr->totalRead   = 0;
        unsigned long   HalfSize = (unsigned long)ptr->iTotalSize/2;
        double          DataBuffer[1000];
        int32           read;
        //TaskHandle        taskHandle = ptr->taskHandle;
        TaskHandle      taskHandle=0;
        ptr->dataA       =0;
    
        DAQmxErrChk (DAQmxCreateTask("",&taskHandle));
        DAQmxErrChk (DAQmxCreateAIVoltageChan(taskHandle,"Dev1/ai0:5","",DAQmx_Val_Cfg_Default,-10.0,10.0,DAQmx_Val_Volts,NULL));
        DAQmxErrChk (DAQmxSetAIGain(taskHandle, "Dev1/ai0:5", gainValue));
        // buffer(14400) setting with internal clock("") and continuous sampling(DAQmx_Val_ContSamps), DAQmx does double buffering basically in case of continuous sampling.
        DAQmxErrChk (DAQmxCfgSampClkTiming(taskHandle,"",40000,DAQmx_Val_Rising,DAQmx_Val_ContSamps,14400)); //14400 = iTotalSize x 2; double buffer.
        //DAQmxErrChk (DAQmxSetAIConvTimebaseDiv(taskHandle, (int)iSampInt*10));//sampleTicks*10 was 500  //iSampInt*10
        //DAQmxErrChk (DAQmxSetSampClkTimebaseDiv(taskHandle, (int)iScanInt*10));//GroupTicks*10 was 2000 //iScanInt*10
        //double buffer acquisition; the board transfers data when half its internal buffer is full
        DAQmxErrChk (DAQmxSetAIDataXferReqCond(taskHandle, "Dev1/ai0:5", DAQmx_Val_OnBrdMemMoreThanHalfFull));
        //Overwriting samples in the buffer that you have not yet read.
        DAQmxErrChk (DAQmxSetReadOverWrite(taskHandle, DAQmx_Val_DoNotOverwriteUnreadSamps));
        //Collecting data from buffer
        //DAQmxErrChk (DAQmxRegisterEveryNSamplesEvent(taskHandle,DAQmx_Val_Acquired_Into_Buffer,10,0,AcquireCallBack,NULL)); // call back result
    
        DAQmxErrChk (DAQmxStartTask(taskHandle));
    
            while (!isDone)
        {
            ptr->IsTaskDone_ContAcqIntClkDigStartRef(taskHandle, &isDone);
            //DAQmxErrChk( DAQmxIsTaskDone(staskHandle, isDone));
    
            DAQmxErrChk (DAQmxGetReadAvailSampPerChan(taskHandle,&reading));
    
            if( reading>0 )
            {
             // Each reading
             DAQmxErrChk (DAQmxGetReadTotalSampPerChanAcquired(taskHandle, &ptr->dataA)); //Accumulated reading
    
             while(reading > HalfSize ){ //More than a half full
            DAQmxErrChk (DAQmxReadAnalogF64(taskHandle,-1,10.0,DAQmx_Val_GroupByScanNumber,DataBuffer,1000,&read,NULL)); //Read the buffer
            ptr->totalRead+=read;
                                                                                        if( ptr->totalRead == ptr->iTotalSize || ptr->totalRead > ptr->iTotalSize )
            {
                if(ptr->iAvailableSample == 2){
                //ptr->EvenBank=DataBuffer;   //<******************** Error occurs here
                    return ptr->iAvailableSample == 1;
                    } 
    
                    else if(ptr->iAvailableSample == 1){
                    //ptr->OddBank=DataBuffer;    //<******************** Error occurs here, too.
                return ptr->iAvailableSample == 2;
                }
    
            isDone = 1; //Stop 
    
               }//End of if( ptr->totalRead == ptr->iTotalSize || ptr->totalRead > ptr->iTotalSize )
        }//End of while(reading > HalfSize )
            }//Enf of if(reading>0)
        }// while (!isDone)
    
        AfxEndThread( 0 );
        DAQmxErrChk (DAQmxStopTask(taskHandle));
        DAQmxErrChk (DAQmxClearTask(taskHandle));
    
    Error:
    
        if(error)
            CleanUp (error, taskHandle);
    
    }
    

    OK, I understand why it does not display the right data. The data type of Bank in hand and odd should be short * and AI DAQmx function should be

    DAQmxReadBinaryI16, not DAQmxReadAnalogF64. Now it works fine.

    So, if anyone of you convert function DAQ DAQmx SCAN_Start, copy DAQmxReadBinaryI16, not DAQmxReadAnalogF64.

    Because the return of SCAN_Start data type i16 (integer 16 bit. short *), you must use DAQmxReadBinaryI16.

    Otherwise, you will lose many points of data.

  • funny behaving USB mouse: doing double click even when I press only once

    my mouse behaves funny recently: pretty much whenever I do a click, the result is a double click. When I press for one second and then release the mouse button, I often still get (not) the disiredc simple click... it's on windows, all programs.

    Windows XP, SP3, all installed updates
    Mouse USB (no name)
    my PC has 4 ports USB 1.1 on the integrated controller, I installed a USB 2 control with still 4 ports a year.

    I tried different settings of the mouse (click on the gear, etc.): same problem
    I plugged another mouse (newly purchased): same problem
    I plugged the mouse in all USB ports: same problem
    I plugged the mouse via a USB/PS-2 PS/2 adapter: same problem
    I started a Linux system: same problem
    My scanner (USB; Canon) begins behaving irregulars as weel: during a scan, it constantly stops and then restarts...

    Should I assume that some conflicts between the two USB adapters, as shown in the eroor with a different OS as well?

    Hello

    1 have had any changes made on the computer before the show?

    2. do you get an error message when you use the Scanner?

    Method 1:

    See the article and try to run the fix it:

    Hardware devices do not work or are not detected in Windows

    http://support.Microsoft.com/mats/hardware_device_problems/en-us

    Method 2:

    I suggest you to update mouse drivers and scan and check if it helps:

    How to manage devices in Windows XP

    http://support.Microsoft.com/kb/283658

    Method 3:

    I suggest you to disable and re-enable the USB controllers:

    a. click Startand then click run.

    b. type devmgmt.msc, and then click OK. Device Manager opens.

    c. expand Bus USB controllers.
    Note: You need to scroll the list to find this point.

    d. right-click the first USB controller under USB Bus controllersand then click Uninstall to remove it.

    e. Repeat step 4 for each USB controller is listed under Bus USB controllers.

    Note: restart the computer. After the computer starts, Windows will automatically check for changes on the hardware and reinstall all USB controllers that you uninstalled.

  • BlackBerry Smartphones Priv resend message with double tap on the lock screen

    The Priv I just got a weird problem that I have no idea how do I turn off.

    When I get a notification to an email on my lock screen and I double tap , it goes to my home screen and does not open the message. Instead, it actually returns email to all people from my address. he does not, he resends and makes it look as if I sent the original.

    Several colleagues of mine mentioned that they see the results of my double tap, which is not good.

    Has anyone seen this? How in the world can get rid of this weird feature?

    Thank you!

    Solved. I redownloaded and updated hub and blackberry services. Now, it doesn't seem to be a problem.

    Thank you!

  • Double round

    Hi, I use this (below) to round a double to 2 places, but I seem to remember that this will mean that my program does not start on version 4.5 and below. Does anyone have a way to complete a double in 2 places without problems of os version please?

    public static final double roundDouble(double d, int places) {
            return net.rim.device.api.util.MathUtilities.round(d * net.rim.device.api.util.MathUtilities.pow(10, (double) places)) / net.rim.device.api.util.MathUtilities.pow(10,
                (double) places);
        }
    

    Apart from the strange compilation error, I think that the above code will fail as soon as the double goes as exponential when converted to string.

    I guess that one option is to multiply by 100 double, add 0.5, paste the result into a long, then double back and divide by 100.  As suggested by Dfallak below, you must make sure that the double value did not exceed the features of a long (see Long.MAX_VALUE, Long.MIN_VALUE)

    Also, something like the following.

    double d = 1000000000.005 d;

    Double test = (d d 0.01%);
    Double rounded;
    If (test< 0.005="" )="">
    rounding = d - test;
    } else {}
    rounding = d + (0.01 - test);
    }

  • Need help with the analytical function select maximum and minimum of the results of the column

    Hey there OTN.

    I have an interesting application that I was hoping you would be able to help me with. I have a requirement to conditionally select the max and min of a column in bi-editor and since my editor works from an OBIEE analysis, I need store MAX and MIN of the column values in separate columns to match with. See the example below. You will notice that there are 4 stores including today's sales. I must have OBIEE through all the results of the column for sales, then choose the max of the dataset object. I can't use MAX here because he will choose the MAX of the line which will return only sales of this line. Instead, one must analyze all sales results and choose the appropriate column. Any idea on how to do this in OBIEE/publisher? Or is this not possible.

    Day Store Sales Sales of MAX Sales MIN
    05/11/15Store 1500080001000
    05/11/15Store 2750080001000
    05/11/15Store 3100080001000
    05/11/15Store 4800080001000

    I'm waiting for your answers. Thanks in advance!

    PS: I will always mark messages that are useful and eventually mark it as correct answer if we come to a resolution!

    See you soon.

    You can't do the same thing with RANK ("dirty")?

    Rank ("dirty") = 1: the max value in the result of sales

    RANK (-1 * "Sales") = 1: the min in the result of sales value

    I guess you can and then format the cells based on these values, where a value of 1 is the max or min according to the RANKING formula you used...

  • Data types of OBIEE.

    Hi all,

    Could someone tell me the different types of data in OBIEE?

    Thanks in advance,
    Stephanie.

    Hi Julie,.

    Here are the data types supported in OBIEE:

    CHARACTER, VARCHAR, INTEGER, FLOAT, SMALLINT, DOUBLE PRECISION, DATE, TIME, TIMESTAMP, LITTLE, LITTLE VARIANT

    Kind regards
    Arul

  • Prevent the Double quote

    Hi Experts,

    I have an interactive form with a submit button that will call the web service if the user clicks on it.

    The question we had here is that the form will not stop the user to click the button submit twice (or more than one hour).

    As a result, we got double entries.

    Q:

    1. is there a technique (standard) so the user before the form receive any feedback/response from the web service, click the submit button again? I tried to disable/hide the button submit until the form of feedback from the web service, but it does not work.

    Thanks for your time.

    Hello

    The postSubmit event is entered with the specification (Acrobat/Reader v9) XFA 2.8. Blog of John Brinkman:

    You can move the script until the mouseUp event. This is triggered just before the click event. If it doesn't suit, try you coud exit the event, but that would not prevent the user to click once again, before their release.

    Niall

Maybe you are looking for

  • New site tab thumbnails appears.

    When I clicked on the 'new tab' button I used to see nine Web site thumbnails. Now, I only see 2 large and can only show others if I pass on a screen high resolution. Otherwise, they are completely hidden. 'Speed' icon at the top right does not offer

  • Invalid SIM for 6plus iphone 64 GB

    I use a sim card the name of the carrier's cell IDEA. It is a 3 g SIM. He works in any other phone 6 and others also. but ijn my phone, it shows INVALID SIM, ' installed the sim card you are currently is a carrier that does not support ask that this

  • Always leads when I stop my loop

    Dear all, Now, I used OR-6008, when I used case structure of program via the digital output. You can turn on and off. But when I tried to turn it on, then stop button while loop. The light that I connect to is always when I stop my program. How can I

  • USB human interface with the brand lleyow

    Please I frequently have problem with usb human interface with the brand of lleyow next to bet. Pease how can I fix this problem driver version 6.0.6000.16386 windows vista pk2 thanks

  • How to add column between columns in OFA

    Hello!I have a question to customize the page dynamically. I can't go to the controller to create the dynamic attribute, column and add it to the existing table, but the problem is in the order of the columns.For example:Before my personalization was