How can we put the filter

Hi OBIEE Guru,
I have one requirement ,which would display the records only 10 from the presentation table,The tricky is I don't have any column in my presentation table like rownum or represents the no of records,How would I restrict only 10 records in my filter in OBIEE answers.
eg:- select * from emp
where rownum<=10; -- like this i need to put in obiee answers...
Thanks in advance.

Example:
RCOUNT(CHANNEL_DESC)-----CHANNEL_DESC----QUANTITY_SOLD
1-------------------------------------------Catalog--------------96488.00
2-------------------------------------------Direct Sales--------1550224.00
3-------------------------------------------Internet------------396876.00
4-------------------------------------------Partners------------834700.00
5-------------------------------------------Tele Sales---------10081747.00
Put the filter on the column rcount(channel_desc) <= 10, for example.
Regards
Goran
http://108obiee.blogspot.com

Similar Messages

  • How can we put the report which is generated by the program into spool??

    How can we put the report which is generated by the program into spool??
    I had generated a file in Unix which had the report but now the requirement has changed.
    Regards,
    Shashank.

    Hi Shashank,
    If the program is executed in the background and it has the write statement then the spool will automatically generated.
    Reward points if useful.
    Regards,
    Atish

  • How can I put the report generated by a program into a File?

    Hi all,
       How can I put the report generated by a program into a File?It can be in TXT format or excel format which ever is possible.
    I need to export this file to memory,How can I do that??
    Regards,
    Shashank.

    Hello Shashank,
    Please ignore my previous answer... Ofcourse it works...
    There are several ways to do this...
    two of them are
    1. List -> Save -> File and press enter..
        it will ask for the format, then path where to save it. Just give the path.
    2. Using function module 'GUI_DOWNLOAD'.
    I'm giving the example bellow which explains the usage of both GUI_UPLOAD and GUI_DOWNLOAD.
    To do this... you need to have folder with name 'TEST' and a .txt file in it with name 'test'. And contents of it are :
    TEST1             ,BOT 
    TEST2             ,BOT 
    TEST3             ,BUT 
    with spaces.
    REPORT zssr_bdc .
    DATA: BEGIN OF g_t_itab OCCURS 0,
            matnr LIKE mara-matnr,
            maktx LIKE makt-maktx,
          END OF g_t_itab.
    DATA: g_t_bdcdata TYPE TABLE OF bdcdata.
    DATA: path TYPE string,
          path1 type string.
    path = 'C:\Documents and Settings\ssr3kor\Desktop\TEST\test.txt'.
    path1 = 'C:\Documents and Settings\ssr3kor\Desktop\TEST\test1.txt'.
    *contents of test.txt    *
    *TEST1             ,BOT  *
    *TEST2             ,BOT  *
    *TEST3             ,BUT  *
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        filename = path
      TABLES
        data_tab                      = g_t_itab.
    LOOP AT g_t_itab.
      WRITE:/1(18) g_t_itab-matnr, 20(40) g_t_itab-maktx.
    ENDLOOP.
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
       filename = path1
       filetype                      = 'ASC'
      TABLES
        data_tab                      = g_t_itab.
    Now you will get one .txt file with name 'TEST1.TXT' in the TEST folder.
    <b>REWARD POINTS IF IT IS HELPFUL</b>
    Regards
    Sasidhar Reddy Matli

  • How can you get the filter off if you can't remember the password? It's"pro con" and it wont even let me check out the rates for aflight.

    How can you get the filter off if you can't remember the password? It's"pro con" and it wont even let me check out the rates for aflight.

    You can check the file prefs.js in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder] and remove the line(s) related to that extension (procon.password).

  • HOW CAN I PUT THE AMOUNT WITH THE SIGN OF DOLLAR?

    HI!
    HOW CAN I PUT THE AMOUNT WITH THE SIGN OF DOLLAR?
    BECAUSE WHEN I WRITE THE DATA THE AMOUNT OVERWRITE THE SIGN.
    THANKS PEOPLE

    THIS IS THE WRITE PART:
    [code]
    WRITE:
              /97 t_bsid-dmbtr,          "Invoice Amount
              104 '$',
              104 t_bsid-fecha,          "Payment Date
              114 t_bsid-pago,           "Payment Amount
              116 '$'.
    [/code]

  • HT1918 I have 0.31 $ balance in my account and I want to change my country of my account. how can I put the credit balance to 0?

    I have 0.31 $ balance in my account and I want to change my country of my account. how can I put the credit balance to 0?

    Click here and request assistance.
    (71876)

  • How can I put the close button in the mainframe of the dialog?

    Hi all,
    I am creating a new dialog and I would like to konw...
    How can I put the close button in the mainframe of the dialog?
    Thanks in advance.
    Best regards,
    Juanma.

    Juanma,
    Usually, a dialog would have an OK and a Cancel button, both can be served as the close button, but if user clicks the ok button (DefaultButtonWidget) to close the dialog, your dialog controller's (if it is based on CDialogController) ApplyDialogFields will get called so you can react to the OK action, otherwise, if user clicks the cancel button (CancelButtonWidget), nothing will happen. The dialog simply is dismissed.
    See BasicDialog SDK sample to see how to add DefaultButtonWidget and CancelButtonWidget to a dialog.
    Thanks!
    lee

  • How can I put a filter to message type COND_A

    I am creating message types: COND_A from Change Pointer.
    I have an active filter on element: Condition type. (BD64). This is working OK.
    I also want to set the filter on element: Material type.
    This is not working, probably because this element is not an active field in any delivered IDoc Segments. (Ref. WE05). The result is that no messages (IDoc's) are delivered.
    How can I get this filter to work for COND_A?
    In other words: How can I select on Material type = 'XXXX' creating message type COND_A from Change Pointer?

    No, however, you can have Favorites and Recents show on the App Switcher (Multitasking) screen, assuming you are running iOS 8: Settings App > Mail,Contacts,Calendars > Show in App Switcher [under CONTACTS]

  • How can I put the signature into the data file.

    Hi all,
    I want to put the signature into the data file, mean the data file will be on the top and the signature will be at the buttom.how can i do that?
    Thanks.
    example:-
    dataFile.txt
    Name=...
    Address=...
    Signature=6A07C70E....123FEAB(Hex)

    Thanks for your reply.
    First, i have a keypair (public key and private key).
    I use the private key to initialize the Signature and
    use the Signature to sign a data file ( dataFile.txt) .
    So when i need to comfirm the data file not being modify
    I have to verify the data file with the Signature and the public key.
    I hardcoded the public key in my program so my client (receiver of data)
    need only the Signature file and the data file (2 files).
    So how can i combine the Signature file and the data file into 1 file?

  • I bought a used i pod 4 for my daughter and it does not have the message icon on it: how can i put the icon on the i pod and get it receive and send messages

    I bought a used i pod 4 for my daughter and it does not have the message icon on it ( not even in settings) how can I get the message icon on it so it can receive and send messages

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:       
    iOS: How to back up
    - Restore to factory settings/new iOS device.
    -  Make an appointment at the Genius Bar of an Apple store.
    Apple Retail Store - Genius Bar

  • How can I put the name of my songs in itunes without it telling me the artist is unknown in the database?

    How can I add the name of my songs in my playlist without it telling me the artist is unknown in the database.I would like to add the name instead of it telling me the artist is unknown.

    Right-click the track in your iTunes library.  Choose Get Info, and go to the Info tab.  Type what you want into the Artist field, and then OK out.

  • How can I put the image fixed on the bottom-left of the HTML page

    I can't put the image at the left-bottom of my div id="content". I have "textcontent" (float:left) and "sidebar" (float:right) inside the content. I am attaching my code here for your review. Please help!
    HTML:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Interior and Exterior</title>
    <link href="main.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    </script>
    </head>
    <body onload="MM_preloadImages('images/rollover_home.jpg','images/menu_home_over.png','images/m enu_paint_over.png','images/menu_contractor_over.png')">
    <div id="container">
      <div id="header">
      <div id="contactinfo">contact us for free estimates  250-878-1786</div>
    <div id="logo"><a href="index.html"><img src="images/logo.png" width="276" height="53" /></a></div>
    <div id="topmenu">
    <ul>
    <li><a href="index.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('home','','images/menu_home_over.png',1)"><img src="images/menu_home.png" name="home" width="119" height="54" border="0" id="home" /></a></li>
    <li><img src="images/menu_interior_over.png" width="177" height="54" /></li>
    <li><a href="paint_design.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('paint','','images/menu_paint_over.png',1)"><img src="images/menu_paint.png" name="paint" width="172" height="54" border="0" id="paint" /></a></li>
    <li><a href="contractor_trades.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('contractor','','images/menu_contractor_over.png',1)"><img src="images/menu_contractor.png" name="contractor" width="166" height="54" border="0" id="contractor" /></a></li>
    </ul>
    </div>
      </div>
    <div id="content"><h1><img src="images/page_name_interior.png" width="286" height="27" /></h1>
    <div id="textcontent">
    <h2>Interior Services:</h2>
    <p> </p>
    <h3>Painting and staining:</h3>
    <table width="300" border="0">
      <tr>
        <td width="100">doors</td>
        <td width="100">walls</td>
        <td width="100">ceilings</td>
      </tr>
      <tr>
        <td>baseboards</td>
        <td>trim</td>
        <td>cabinets</td>
      </tr>
      <tr>
        <td>banisters</td>
        <td>rails</td>
        <td></td>
      </tr>
    </table>
    <p> </p>
    <h3>Fill and seal:</h3>
    <table width="300" border="0">
      <tr>
        <td width="100">cracks</td>
        <td width="100">baseboards</td>
        <td width="100">trim</td>
      </tr>
      <tr>
        <td>holes</td>
        <td>drywall repair</td>
        <td>cabinets</td>
      </tr>
    </table>
    <p> </p>
    <h3>Wallpaper and boarder removal</h3>
    <br />
    <p>No interior job is complete unless all the holes, nicks and gaps are filled and sealed.  I guarentee you'll be happy with the quality of our workmanship.</p>
    <p> </p>
    <h2>Exterior Services:</h2>
    <p> </p>
    <h3>Painting and staining:</h3>
    <table width="400" border="0">
      <tr>
        <td width="100">trim</td>
        <td width="100">posts</td>
        <td width="100">beams</td>
        <td width="100">hardiboard</td>
      </tr>
      <tr>
        <td>smartboard</td>
        <td>gables</td>
        <td>facia</td>
        <td>shakes</td>
      </tr>
      <tr>
        <td>shadowboard</td>
        <td>belly-board</td>
        <td>stucco</td>
      </tr>
    </table>
    <p> </p>
    <h3>Decks and rails:</h3>
    <table width="150" border="0">
      <tr>
        <td width="144">staining and painting</td>
    </tr>
    </table>
    <p> </p>
    <h3>Power washing:</h3>
    <table width="180" border="0">
      <tr>
        <td width="174">houses, fences and decks</td>
    </tr>
    </table>
    <p> </p>
    <p> </p>
    <h3>All nail holes are filled and all joints filled and sealed on all exterior painting projects.</h3>
    <p> </p>
    <h3>Stucco homes can be repainted quickly and inexpensively!</h3>
    </div>
    <div id="sidebar">
      <img src="images/interior_house.png" width="514" height="329" /><br />
      <a href="testimonial.html"><img style="padding-left: 40px; padding-top: 30px" src="images/interior_testimony.png" width="362" height="289" /></a></div>
    <p><img src="images/exterior_specialists.png" width="322" height="56" /></p>
      </div>
    <div id="footer"><img src="images/interior_footer.png" width="962" height="50" /></div>
    </div>
    </body>
    </html>

    Working with CSS Backgrounds:
    http://www.w3schools.com/css/css_background.asp
    #content {
         background-image:url('some-img.png');
         background-repeat: no-repeat;
         background-position: left bottom;
         min-height: 500px; /**same as image height**/
         overflow:hidden; /**float containment**/
    HTML
    <div id="content">
    the rest of page content goes here>>>
    </div>
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/

  • Lost my Itunes Library... how can I put the older one back on?

    Okay well i started iTunes and it asked me to load my library ... so i just did one but it was an older one that had like only 100 songs... now i lost my really big one with over thousands of songs and playlist...i cant even connect my ipod because it will delete everything..
    1- How can i get the older Itunes library back...
    I didnt lose my music files and all but I just dont want to lost my playlist and all the PLAY counts and everything.

    that maybe happened because you moved your music files...
    I store all my music in an external HD and when i dont have it hooked up iTunes displays everything with a question mark ... but thats normal ... so when i do connect the HD i have to go in my preferences and change the iTunes folder to my external HD. then everything is back...
    But right now im so mad at this stupid iTunes because i lost all my plays!!!! its nice to see songs u played 50 times and others 30 and then you make playlsit called "TOP 50 rock" etc... now its all gone... anyway i can get this back?

  • How can I delete the filter bar in TB?

    In earlier versions of TB you could hide the filter bar. How can I do this in the new version? I do not want it to show.
    Thanks~

    From the Menu Bar select View-Toolbars and uncheck it.
    No menu bar? Press the alt key.
    Using the AppMenu button hover over Options until the toolbar choices appear and uncheck it.

  • How can i extend the filter function to also include an option to select which column to filter on?

    Hi.
    I have built an spry test-page (testing it on my localhost  so i cannot give you direct access to it) here i have an XML file that i show in an dynamic/ repeat table with 5 columns.
    I hvae included an spry filter function to easy filter out records, but the code only allows me to filter on one of the columns.
    I would like to add an extra "select-menu" to define which column the filter should be active for, how can i do that
    Here is the filter code and also the html code for the select-menu and the box to type in what to filter.
    The bold parts is the important parts, i would like the options values from the select menu to be inserted in the filterData function to be able to define which column to do the filtering on.
    var ds1 = new Spry.Data.XMLDataSet("report3.xml", "orders/order", {sortOnLoad: "@id", sortOrderOnLoad: "descending"});
    ds1.setColumnType("date", "date");
    ds1.setColumnType("BUTIKNR", "number");
    ds1.setColumnType("EXTRAFRAKT", "number");
    ds1.setColumnType("job/@idx", "number");
    var jobs = new Spry.Data.NestedXMLDataSet(ds1, "job");
    function FilterData()
        var tf = document.getElementById("filterTF");
        var menu = document.getElementById("searchIdent");
        if (!tf.value)
            // If the text field is empty, remove any filter
            // that is set on the data set.
            ds1.filter(null);
            return;
        // Set a filter on the data set that matches any row
        // that begins with the string in the text field.
        var regExpStr = tf.value;
        if (!document.getElementById("containsCB").checked)
            regExpStr = "^" + regExpStr;
        var regExp = new RegExp(regExpStr, "i");
        var filterFunc = function(ds, row, rowNumber)
            var str = row["@id"];
            if (str && str.search(regExp) != -1)
                return row;
            return null;
        ds1.filter(filterFunc);
    function StartFilterTimer()
        if (StartFilterTimer.timerID)
            clearTimeout(StartFilterTimer.timerID);
        StartFilterTimer.timerID = setTimeout(function() { StartFilterTimer.timerID = null; FilterData(); }, 100);
    html:
                <select name="searchIdent" size="1" id="searchIdent">
                    <option value="@id" selected="selected">ID</option>
                    <option value="date">DATUM</option>
                    <option value="time">TID</option>
                    <option value="BUTIKNR">BUTIK</option>
                    <option value="REF">REFERENS</option>
                  </select>
              <input type="text" id="filterTF" onkeyup="StartFilterTimer();" />
    Contains:
      <input type="checkbox" id="containsCB" /></td>
    Thanks in advance.
    //Rickard H

    Now it works, i had to do it like this:
        var filterFunc = function(ds, row, rowNumber)
            var str = row["@id"];
            if (str && str.search(regExp) != -1)
                return row;
            var str1 = row["date"];
            if (str1 && str1.search(regExp) != -1)
                return row;
            var str2 = row["time"];
            if (str2 && str2.search(regExp) != -1)
                return row;
            var str3 = row["BUTIKNR"];
            if (str3 && str3.search(regExp) != -1)
                return row;
            var str4 = row["REF"];
            if (str4 && str4.search(regExp) != -1)
                return row;
            return null;
    I also had to remove the line "ds1.setColumnType("BUTIKNR", "number");" from the code, otherwise it would not search at all (only searches string types?).

Maybe you are looking for

  • Creation of PGI using BDC for tc VL02N is not happening..

    Hi All, i need to do Post Goods Issue (PGI) thro' BDC and after that i need to update the flag in Ztable. its giving Success message and updating the database also. but its not issuing the PGI.and further i want to create billing doc.So its compulsor

  • Image does not display on MacBook Pro (does on PowerBook G4!)

    I created a slide in Keynote on my PowerBook G4 with an image dropped in (a pdf, I can't remember whether it was originally cut and past or dragged and dropped in). When transferring the Keynote presentation to a new macBook Pro (copying via a USB th

  • Avoid Distributed query in PL/SQL cursor code

    Hi, I have to avoid a distributed qry in my cursor code in PL/SQL. The query follows like this, cursor c1 is select a.test,b.test1,a.test2 from apple a, [email protected] b, bat c where a.listid = b.listid and a.list_name = c.list_name; Now i need to

  • Thinkpad W520 WEI processor sub-score only 4.6

    Thinkpad W520 WEI processor sub-score only 4.6 Running a Core i7-2720QM CPU @ 2.20GHz with the latest BIOS - v1.33, power set to maximum turbo. Any thoughts? Other scores: Memory (RAM) 12.0 GB             7.1 Graphics Intel(R) HD Graphics Family     

  • Iphoto version conflict

    I copied the same question as someone in 2011 but this 2014 and I don't see any answers.  It still just gives you the option to quit.  Nothing is resolved You have made changes to your photo library using a newer version of iPhoto. Do you want to qui