OBIEE Remove Default Order By

Hi,
My users have a specific request in a OBIEE report. The report is based on 2 tables connected directly to the transaction system in AS400/DB2. The reason is the report must show real-time data. So far so good, OBIEE is able to connect and show the live data without caching the results (disabled the cache for these tables).
The problem is they need to see the rows in a report in a chronological order (the newest row inserted on DB2 in the bottom). I don't have any cronological column in the table to apply the OBIEE sort. OBIEE Admin Tools shows the desired order when I click on "view data" option in the Physical Table. The records are being displayed exactly as I need.
When I created the report on OBI Presentation, I can see on Advanced Tab that it includes a default "Order By" clause in the SQL Statement. I was able to remove the distinct by disabling the database feature DISTINCT_SUPPORTED in the rpd file.
Also, I tried to comment the //SORT_TYPE = "binary"; in the NQSConfig.ini but it didn't solve the problem. Tried to use a logical ROWNUM column but AS400/DB2 does not support this type of column.
How can I get rid of the "order by" clause in a OBIEE report? I must have to disable this default order on OBIEE to bring the default table order (as the rows were inserted).
I appreciate your help,
Thanks.

Hi Saichand,
Thanks for your answers.
I've uncked the ORDERBY_SUPPORTED feature, restarted BI Server and Presentation. My report does not have any column flagged to sort, even thought it still applying an order by clause in the SQL Statement. I went to the Advanced tab on Answers I can see the order clause in the SQL statement and this is the log generated by the query:
+++Administrator:2b0000:2b0018:----2010-10-14 09:44:21
-------------------- Logical Request (before navigation):
RqList
INPUT.INPOBK as c1 GB,
INPUT.INPBNK as c2 GB,
INPDRA:[DAggr(INPUT.INPDRA by [ INPUT.INPOBK, INPUT.INPBNK, INPUT.INPTDS, INPUT.INPKBT, INPUT.INPKSQ, INPUT.INPUID, case INPUT.INPTDS when '  ' then '  ' else case  when INPUT.INPUID like '%GIFTS%' then '0' else '1' end  end , case INPUT.INPKBT when '0' then '0' else INPUT.INPBNK end , INPUT.INPOBK || '  ' || INPUT.INPBNK] )] as c3 GB,
INPCR1:[DAggr(INPUT.INPCR1 by [ INPUT.INPOBK, INPUT.INPBNK, INPUT.INPTDS, INPUT.INPKBT, INPUT.INPKSQ, INPUT.INPUID, case INPUT.INPTDS when '  ' then '  ' else case  when INPUT.INPUID like '%GIFTS%' then '0' else '1' end  end , case INPUT.INPKBT when '0' then '0' else INPUT.INPBNK end , INPUT.INPOBK || '  ' || INPUT.INPBNK] )] as c4 GB,
INPUT.INPTDS as c5 GB,
INPUT.INPKBT as c6 GB,
INPUT.INPUID as c7 GB,
case INPUT.INPKBT when '0' then '0' else INPUT.INPBNK end as c8 GB,
INPUT.INPOBK || ' ' || INPUT.INPBNK as c9 GB,
case cast(INPUT.INPKBT as INTEGER ) when 0 then 0 else INPDRA:[DAggr(INPUT.INPDRA by [ INPUT.INPOBK, INPUT.INPBNK, INPUT.INPTDS, INPUT.INPKBT, INPUT.INPKSQ, INPUT.INPUID, case INPUT.INPTDS when '  ' then '  ' else case  when INPUT.INPUID like '%GIFTS%' then '0' else '1' end  end , case INPUT.INPKBT when '0' then '0' else INPUT.INPBNK end , INPUT.INPOBK || '  ' || INPUT.INPBNK] )] end as c10 GB,
case cast(INPUT.INPKBT as INTEGER ) when 0 then 0 else INPCR1:[DAggr(INPUT.INPCR1 by [ INPUT.INPOBK, INPUT.INPBNK, INPUT.INPTDS, INPUT.INPKBT, INPUT.INPKSQ, INPUT.INPUID, case INPUT.INPTDS when '  ' then '  ' else case  when INPUT.INPUID like '%GIFTS%' then '0' else '1' end  end , case INPUT.INPKBT when '0' then '0' else INPUT.INPBNK end , INPUT.INPOBK || '  ' || INPUT.INPBNK] )] end as c11 GB,
case INPUT.INPTDS when ' ' then ' ' else case when INPUT.INPUID like '%GIFTS%' then '0' else '1' end end as c12 GB,
INPUT.INPKBT as c13 GB,
INPUT.INPKSQ as c14 GB,
Report_Sum(INPDRA:[DAggr(INPUT.INPDRA by [ INPUT.INPOBK, INPUT.INPBNK, INPUT.INPTDS, INPUT.INPKBT, INPUT.INPKSQ, INPUT.INPUID, case INPUT.INPTDS when '  ' then '  ' else case  when INPUT.INPUID like '%GIFTS%' then '0' else '1' end  end , case INPUT.INPKBT when '0' then '0' else INPUT.INPBNK end , INPUT.INPOBK || '  ' || INPUT.INPBNK] )] by [ ] at_distinct [ INPUT.INPOBK, INPUT.INPBNK, INPUT.INPTDS, INPUT.INPKBT, INPUT.INPKSQ, INPUT.INPUID, case INPUT.INPTDS when '  ' then '  ' else case  when INPUT.INPUID like '%GIFTS%' then '0' else '1' end  end , case INPUT.INPKBT when '0' then '0' else INPUT.INPBNK end , INPUT.INPOBK || '  ' || INPUT.INPBNK] ) as c15 GB,
Report_Sum(INPCR1:[DAggr(INPUT.INPCR1 by [ INPUT.INPOBK, INPUT.INPBNK, INPUT.INPTDS, INPUT.INPKBT, INPUT.INPKSQ, INPUT.INPUID, case INPUT.INPTDS when '  ' then '  ' else case  when INPUT.INPUID like '%GIFTS%' then '0' else '1' end  end , case INPUT.INPKBT when '0' then '0' else INPUT.INPBNK end , INPUT.INPOBK || '  ' || INPUT.INPBNK] )] by [ ] at_distinct [ INPUT.INPOBK, INPUT.INPBNK, INPUT.INPTDS, INPUT.INPKBT, INPUT.INPKSQ, INPUT.INPUID, case INPUT.INPTDS when '  ' then '  ' else case  when INPUT.INPUID like '%GIFTS%' then '0' else '1' end  end , case INPUT.INPKBT when '0' then '0' else INPUT.INPBNK end , INPUT.INPOBK || '  ' || INPUT.INPBNK] ) as c16 GB,
case cast(INPUT.INPKBT as INTEGER ) when 0 then 0 else max(INPDRA:[DAggr(INPUT.INPDRA by [ ] )] by [ ] at_distinct [ ] ) end as c17 GB,
case cast(INPUT.INPKBT as INTEGER ) when 0 then 0 else max(INPCR1:[DAggr(INPUT.INPCR1 by [ ] )] by [ ] at_distinct [ ] ) end as c18 GB
DetailFilter: INPUT.INPOBK <> INPUT.INPBNK
OrderBy: c1 asc, c2 asc, c5 asc, c6 asc, c7 asc, c8 asc, c9 asc, c12 asc, c6 asc, c14 asc
+++Administrator:2b0000:2b0018:----2010-10-14 09:44:21
It seems that OBIEE did not remove the "order by" as expected.
Can you please let me know how to force OBIEE to do not use the order by clause?
Thanks,
Danilo

Similar Messages

  • How can I remove default alarm for events in iCal on devices ios?

    Whenever I add an event to my iCal calendar in Mounain Lion it will automatically add one default alert only on my iphone and ipad. These default alarms are not displayed on my macbook or icloud.com
    Default alarms are disabled in macbook, icloud.com, and my ios devices.
    How can I remove default alarm for events in iCal on devices ios?
    Thanks and sorry for my english.
    MacBook Pro, Mac OS X 10.8

    OK, so I have had this issue for the past several months. I think it all started when I upgraded to ML from SL and migrated my calendars and contacts to iCloud. That was a couple months ago. But now I am running 10.8.2, and about two weeks ago I upgraded my iOS devices to 6.0.1.
    I don't seem to be having any issues with events that I create now, but all those old events that were migrated to iCloud a couple months ago, many of those sound alerts on the iOS devices even though there was no alert defined when the event was originally created. I have always had alerts off by default both in iCal and on the iOS devices.
    So here's the question: is there a way to go through and disable all these spurious event alerts? I've been disabling them as the event reminders come up, but it's irritating. It would be nice if there was a way to turn them off all in one shot somehow.

  • Removing the Order from Campaign in /SAPAPO/CDPS_FDISHEU, but it is not reflecting in DS_ board.

    Hello Experts,
    we wan to create some custom logic to Remove some orders from campaign. For this we have created a function and removing the order from campaign in /SAPAPO/CDPS_FDISHEU->BEFORE method.
    but the changes which i am doing they get save immediately in DB (Without press Save from DS board).
    and also they are not getting reflected in DS Board also.
    Please let me know, If you need any further information to help me out.
    Thanks in Advance
    Ashish Gupta

    Hello Experts,
    Any clue will help, please suggest.
    Thanks,
    Ashish Gupta

  • VBAP-SERNR is not provided in BILLING REQUEST as it is in the DEFAULT ORDER

    Dear SD Sales and Delivery experts,
    i would appreciate your support very much!!!
    We want the system to transfer the maintained field VBAP-SERNR from the document DEFAULT ORDER (Program: SAPMV45A / Table control: TCTRL_U_ERF_AUFTRAG) to the succeeding document BILLING REQUEST (Program: SAPMV45A / Table control: TCTRL_U_ERF_GUTLAST). But the table control of the billing request does not provide this field. The Screen Sequence grp. for the order is AU and for the billing request it is GA.
    Does anyone has got an idea how to hit this target?  
    Many Thanks in advance
    Stephan Sislian
    SD Senior Consultant
    argotas GmbH & CoKG
    Germany

    Hi,
    In the approver step there is ABAP class has been maintained (CL_PT_REQ_WF_ATTRIBS) and the methods used is DUMMY.
    Inside the class there is another method (APPROVE)..The code of the method  which is standard is like that:
      DATA: request TYPE REF TO if_pt_req_request,
            event   TYPE tim_req_xfer_event VALUE cl_pt_req_const=>c_reqtrans_approve.
      CALL METHOD cl_pt_req_badi=>get_request
        EXPORTING
          im_req_id  = me->req_id
        IMPORTING
          ex_request = request.
      CALL METHOD cl_pt_req_badi=>initiate_state_transition
        EXPORTING
          im_request    = request
          im_event      = event
    *    IM_RET_VALUE  = 0
        IMPORTING
          ex_new_status = me->status.
    I think the status is coming from the code.There is another method like  SET_WF_ATTRIBS where the code for status retrieval is :
      status = im_attribs-version-status.
    Suvajit..

  • Eliminating excessive dhcpcd add/remove default route messages

    I've been on an IPv6 network for the past several months. I use no network manager (aside from netctl and wifi-menu) and I'm generally wired in. I manually start dhcpcd on my eth0 when I start my computer.
    The issue I've been having and have been unable to resolve is the fact that the following two messages have been repeating in my log every 2-10 seconds for the past several months and I now have several thousand of them. It's just getting annoying at this point because it interferes with actually reading relevant log messages via journalctl:
    Mar 22 10:45:56 kcuzner-desktop dhcpcd[1109]: eth0: adding default route via fe80::fa8f:caff:fe2d:b464
    Mar 22 10:45:56 kcuzner-desktop dhcpcd[1109]: eth0: removing default route via fe80::fa8f:caff:fe2d:b464
    No matter what I search, I can't seem to find a way to get rid of these. I keep a terminal open with journalctl -f running almost always and it's just filled with these, quickly pushing away relevant messages such as "codeblocks dumped core". Does anyone have any tips for preventing these sorts of log entries?
    Last edited by Los Frijoles (2015-03-22 18:27:41)

    I don't think there is a way for journalctl to exclude logging from only dhcpcd. Of course, you can filter the real time logging to the group of units that you do want to watch but I think you want to watch everything else, right?
    How about trying systemd-networkd rather than dhcpcd? Or, if you are only concerned about certain priority level messages, set the priority level. If everything you want to monitor is priority 4 and below for example, and if this message priority is 6, then you're all set.
    Last edited by nullified (2015-03-22 19:43:59)

  • I purchased gems from a game and didnt get them because my method was declined i want to remove the order so i dont pay for it and so i can update my other apps and i want to remove the method i will be thankfull if someone help me

    i purchased gems from a game and didnt get them because my method was declined i want to remove the order so i dont pay for it and so i can update my other apps and i want to remove the method i will be thankfull if someone help me without updating the payment method i cant update my apps in my iphone i want to remove the method and remove the order i dont want it

    Click here and ask the iTunes Store staff for assistance.
    (125742)

  • HT201364 You need 4.93 GB of available space. I cannot download OS X Mavericks. I obtain the following answer: Remove items from your startup disk to increase available space. How do I know what items I should remove in order to make more space available?

    You need 4.93 GB of available space. I cannot download OS X Mavericks for I obtain the following answer: Remove items from your startup disk to increase available space. How do I know what items I should remove in order to make more space available? Thanks.

    You should never, EVER let a conputer hard drive get completely full, EVER!
    With Macs and OS X, you shouldn't let the hard drive get below 15 GBs or less of free data space.
    If it does, it's time for some hard drive housecleaning.
    Follow some of my tips for cleaning out, deleting and archiving data from your Mac's internal hard drive.
    Have you emptied your Mac's Trash icon in the Dock?
    If you use iPhoto, iPhoto has its own trash that needs to be emptied, also.
    If you store images in other locations other than iPhoto, then you will have to weed through these to determine what to archive and what to delete.
    If you use Apple Mail app, Apple Mail also has its own trash area that needs to be emptied, too!
    Delete any old or no longer needed emails and/or archive to disc, flash drives or external hard drive, older emails you want to save.
    Look through your other Mailboxes and other Mail categories to see If there is other mail you can archive and/or delete.
    Other things you can do to gain space.
    Once you have around 15 GBs regained, do a search, download and install OmniDisk Sweeper.
    This app will help you locate files that you can move/archive and/or delete from your system.
    STAY AWAY FROM DELETING ANY FILES FROM OS X SYSTEM FOLDER!
    Look through your Documents folder and delete any type of old useless type files like "Read Me" type files.
    Again, archive to disc, flash drives, ext. hard drives or delete any old documents you no longer use or immediately need.
    Look in your Applications folder, if you have applications you haven't used in a long time, if the app doesn't have a dedicated uninstaller, then you can simply drag it into the OS X Trash icon. IF the application has an uninstaller app, then use it to completely delete the app from your Mac.
    Download an app called OnyX for your version of OS X.
    When you install and launch it, let it do its initial automatic tests, then go to the cleaning and maintenance tabs and run the maintenance tabs that let OnyX clean out all web browser cache files, web browser histories, system cache files, delete old error log files.
    Typically, iTunes and iPhoto libraries are the biggest users of HD space.
    move these files/data off of your internal drive to the external hard drive and deleted off of the internal hard drive.
    If you have any other large folders of personal data or projects, these should be archived or moved, also, to the optical discs, flash drives or external hard drive and then either archived to disc and/or deleted off your internal hard drive.
    Good Luck!

  • Default Order of trigger execution

    If a table has two or more triggers(of same type like both "before insert") defined on it then what is the default order of executing of the triggers.
    Thanks in advance.

    Prior to 11g, there is none. Two triggers with identical specs (i.e. two row-level before insert triggers) will fire in an arbitrary order. And that order may change between calls. If you have code that depends on a particular order, you're much better off creating a single trigger that makes calls to two different procedures that do whatever the two triggers are doing in an appropriate order.
    In 11g, you gain the ability to force triggers to run in a particular order, but I would generally advise against any architecture that would require this sort of thing.
    Justin

  • OM: Default Order Type doesn't show my Order Types

    Hi All,
    We were using Apps 11i(11.5.10.2)and we are done with all module setups. i am trying to give Default order type as my Order type i coudn't see my values(Order Types) there in the profile option(OM: Default Order Type).
    Please advise me..
    Thanks
    Vijay

    Have you verified that your order type is being queried by the sql query associated with the profile OM: Default Order Type?
    Thanks
    Shree

  • How to remove default value from table definition?

    Hi,
    running 9.2
    Following problem :
    I need to remove default value from table.
    Example
    CREATE TABLE MY_TABLE(
    NAME VARCHAR2(50) DEFAULT 'NAME',
    AGE NUMBER DEFAULT 0
    Now even when I use MODIFY like
    ALTER TABLE MY_TABLE MODIFY (NAME VARCHAR2(10) );
    The default is still there:
    SELECT DATA_DEFAULT FROM USER_TAB_COLUMNS WHERE TABLE_NAME = 'MY_TABLE';
    Is there any way?
    Thanks

    Thanks,
    found the answer. It is not possible!!!!
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_3001.htm
    Note:
    If a column has a default value, then you can use the DEFAULT clause to change the default to NULL, but you cannot remove the default value completely. That is, if a column has ever had a default value assigned to it, then the DATA_DEFAULT column of the USER_TAB_COLUMNS data dictionary view will always display either a default value or NULL

  • Default order to access data in infocube

    Hi all
    Lets say we have aggregates activated and filled on infocubes, BIA is implemented and OLAP cache is activated how would the query access the data in the infocube ?
    Does anyone know if the default order would be: first OLAP cache, BIA, agreggate and then Infocube ?
    Thanks in advance
    Rgds,
    LB

    The default order for the same is :
    Query --> OLAP CACHE --> BIA --> Aggregates --> Cube.
    If BIA Exists then the query runs completely off BIA and does not go into the next step...
    Also you can check the SQl/BIA query  generated for the query in RSRT debug mode for details...
    Edited by: Arun Varadarajan on Dec 10, 2009 1:51 AM

  • Remove Default Company Codes

    Hi Guyz,
    Please help me to findout if there is any way to remove default SAP company codes in system.
    Thanks in advance,
    Shoban

    Please try transaction code EC01
    Regards,
    Rich Heilman

  • Remove default local weather

    Hey there,
    How can I remove default local weather(added automatically) from side (notification center) on my mac os x Yosemite?
    I can't read in this language.
    Or would be great if there be a possibility to change language to english. My system language is english.

    go to system preferences -> security & privacy
    choose privacy tab, select location services, and uncheck the weather
    I think it will be OK.

  • Remove default keyListeners?

    How do U remove default KeyListeners from keybord?

    Use getKeyListeners() to get the key listeners registered with a Component, and removeKeyListener(KeyListener) to remove a key listener from a Component.

  • Need to remove default dock menu item and add new.

    Hi ,
    I am working on Carbon application on Xcode . I need to remove default menu item attached to my application dock menu like ( Remove from Dock , Open at Login , Show in Finder ).
    I also need to attach new items to my application dock menu and want to handle its event.
    Thanks in advance,
    Sunil Adhyaru.

    Well, this is a programming question more than a question on how to use the Leopard environment (you might want to post to one to the programming forums).
    However, basically, you can't remove the Dock menu items that the Dock itself adds (add/remove from dock, etc.). You can add your own menu items, however. Use the interface builder to create a nib that has a menu in it -- call it something catchy like MyMenu.nib.
    Then in the application property list file (Info.plist) add property called "AppleDockMenu" and set the value to a string that's the name of your nib file (without the .nib extension).
    Subsequently, you treat that menu just as you would the menus in your menu bar. That's all there is to it.

Maybe you are looking for

  • HT1430 iCloud can't get it to work

    iCloud freebies?

  • Video cuts out of frame when importing to timeline :( What to do?

    Hi there! So I have my initial video on my timeline and all is well. However when I try to import another video with the same frame, it looks like it zooms in because it cuts so much of the frame that I can't even see my face anymore . I even tried v

  • GF FX5200

    Okay. I'm having a problem with a program that came with my FX5200... Hope you can help me here or direct me to who can. It's the media center deluxe II. When I install the program it goes well for a while then has a self registration error that says

  • Iterate through all documents

    Hi, We have a container which contains *1 million* documents, each of which has size 5K. Container type is wholedocument. We need to iterate through all document regualrly using container.getAllDocuments(containerTxn, DBXML_LAZY_DOCS | DBXML_NO_INDEX

  • How do you limit the number of e-mails that stay on the I pad?

    I am trying to limit the number of e-mails on my I-pad.  I have 498 e-mails. Help