How to implement avg function in answers or RPD

hi,
I need to implement this function in obiee answers or RPD..how can i do that.. please help me
AVG(SAS.SHIPPED_QTY) OVER (ORDER BY SAS.ACCOUNT_MONTH_NO
ROWS BETWEEN 12 PRECEDING AND 1 PRECEDING) AVG_QTY_SALES,
thanks in advance

Hi,
I think you are trying to use a sql server window function here. If you are, then you could push this function to the DB itself, using EVALUATE() in OBIEE.
Hope this helps.
Thank you,
Dhar

Similar Messages

  • How to implement web functionality in OBIEE.

    Hi,
    Please help me in how to implement " web functionality" in OBIEE. Also need ur sugegstions for the below features while implement.
    a.Full set of features
    b.Installation
    c.Inter-changeability
    reg,kannan

    hi,
    Java  jdk-1_5_0_06-windows-i586-p.exe
    OBIEE  OBIEE 10.1.3.3
    1.     Copy biee_windows_x86_101330_disk1.zip file in to your local drive, extract it and run setup file
    2.     For the documentation BIDOC.zip in to your local machine, extract and explore
    Task
    1.     Copy installation files into your local machine
    2.     Install JAVA/JDK
    3.     Set JAVA_HOME, PATH, CLASSPATH
    4.     Install OBIEE
    5.     Explore OBIEE physical folders
    6.     Explore OBIEE installed components
    7.     Create some sample reports and charts.
    or else see the below link for installation
    http://www.oracle.com/technology/obe/obe_bi/bi_ee_1013/install/installoraclebee.htm
    Regards
    Naresh

  • How to implement copy functionality in advanced table

    hi all, i have a advanced table with some data populated, all the rows has a checkbox where the user can select the rows which he wants, my requirement is how to implement copy functionality, i,e i need to show the same set of rows which the user selected in the same advanced table. can any one give me an idea of how to do this

    You can copy the key of the selected rows to the copy page and based on those keys render the rows. On this copy page, once user commits after any modification to data, read those rows and save with new keys.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to implement AI_Change_Parameter function?

    Hi, everyone, I just bought a NI 4472 DSA board, and want to enable IEPE excitation for a channel for connecting a ICP Accelerometer, but I do not have LabView, only use MATLAB, I don't know how to implement  AI_Change_Parameter function in the matlab? I know the devNum is 1 and chanNum is 2, then directly use this function {AI_Change_Parameter (1, 2, ND_DSA_EXCITATION, ND_ON) } in MATLAB, it does not work, could you please let me know what is the problem and how can I use this AI_Change_Parameter function?
    Another question: I checked here and found that the amplifier gain for this NI 4472 DAS board can NOT been adjusted, is that true? I just plan to amplify the signal before it goes to MATLAB.
    Thanks.

    Hi,
    In regards to your question on the amplifier gain, you are correct, there is only 1 range setting on the 4472.
    In regards to you question on programming Traditional NI-DAQ in Matlab, this shuold be handled on your post on the Multifunction DAQ forum to get the most help from other users with similar experience.
    Have a great day!
    Travis W

  • Explain how to implement prompt functionality using @variable

    Hi all,
    Anyone please explain how to implement prompt functionality using @variable.
    We got some sql reports.Those reports have to be converted into BO free hand sql report.
    Please provide any best practices for converting sql reports into BO free hand SQL.
    Thanks & Regards,
    James Charle

    Hi
    Please refer "@Variable" section  in page number 601, in http://help.sap.com/businessobject/product_guides/boexir31SP3/en/xi31_sp3_designer_en.pdf
    Regards
    Ashwini

  • How to implement erase function of paint program?

    Hello all:
    there are many demo programs on the website that indicates how to implement
    a simple draw line java program.
    However, i didn't find available source to learn how to implement the erase function,
    so that we can erase part of line or all lines.
    Some programs present the methods to do undo operations, however none of them
    related directly to how to implement erase function.
    thank you for comments
    -Daniel

    Hello all:
    there are many demo programs on the website that
    indicates how to implement
    a simple draw line java program.
    However, i didn't find available source to learn how
    to implement the erase function,
    so that we can erase part of line or all lines.
    Some programs present the methods to do undo
    operations, however none of them
    related directly to how to implement erase function.
    thank you for comments
    -DanielThere are a few ways depending on the app requirement or design.
    The simplest one is to draw with the background color, typically white.

  • How to implement this function in JSP/Servlet env?

    Hi all,
    I working on a project, it provides functionality to upload file using JSP/Servlet. In the first JSP page, there is file location and submit button. After user select a file to upload and click submit button, a message, like "sending file to XXXX", will be shown on the screen. Once uploading and validation are done on the server-side, a successful/error msg will be shown to user.
    Here I have a question for the "sending..." msg and the successful/error msg. They should be put in one jsp page or in two separate page? how to implement them?
    Thanks for any help!
    Tranquil

    For the sending message... Well, the thing is, when you click submit, it's sending the file to the server and the server is processing it, and this is all done before the "complete" page is sent to the server. So one would need to use some Javascript on the page before the actual submit happens to show some message. This is done on Ebay when you put something for sale, you can upload an image, and there is a little popup message telling you that it's uploading, and it is removed when the process is done. Now, I'm not sure the exact details of how this works, but my educated guess is this:
    1) The onsubmit function of the form checks that the file upload fields have a value (no need to popup a message if no file upload, since that's what usually takes the time, although it could just be assumed there is a file). If a file is to be uploaded, or just want to show the message anyway, a new popup window is opened with the window.open method and the "sending" message is shown (either written via Javascript or just load a small web page to the window).
    2) The popup window, since you can't transfer the window object from the form page to the next page, has to check window.opener for some value that the success/error page would have to set. The success/error page could use it's body onload function to set a variable in it's own window object to denote that the page is loaded. The popup window can use a looping check using setTimeout or setInterval in Javascript to check for window.opener.isLoadedVariable to be present, and if so, close itself.
    I've never done that, but I see no reason why it wouldn't work.

  • How to implement Breadcrumb functionality in weblogic portal 10.3

    Hi,
    We need to implement the breadcrumb functionality in weblogic portal 10.3.
    Tried to look for it in Google. But couldn't get success.
    Can someone help on how to implement this.
    Thanks
    Uttam

    Please find the example code for Breadcrumbs
    <%
         ArrayList breadcrumbTitles = new ArrayList();
         ArrayList breadcrumbURLs = new ArrayList();
         BookPresentationContext book = BookPresentationContext.getBookPresentationContext(request);
    PagePresentationContext pageCtx = PagePresentationContext.getPagePresentationContext(request);
         if(pageCtx.getDefinitionLabel() != null )
              breadcrumbTitles.add(pageCtx.getTitle());
              breadcrumbURLs.add(PageURL.createPageURL(request, response, pageCtx.getDefinitionLabel()).toString());
         if (!(book.getDefaultPage().equals(pageCtx.getDefinitionLabel())))
              breadcrumbTitles.add(book.getTitle());
              breadcrumbURLs.add(PageURL.createPageURL(request, response, book.getDefaultPage()).toString());
         else
              breadcrumbTitles.add(book.getTitle());
              breadcrumbURLs.add(PageURL.createPageURL(request, response, pageCtx.getDefinitionLabel()).toString());           
              PagePresentationContext parentPage = book.getParentPagePresentationContext();           
              while (parentPage != null)
                   breadcrumbTitles.add(parentPage.getTitle());
                   if (parentPage instanceof BookPresentationContext)
                        BookPresentationContext parentBook = (BookPresentationContext)parentPage;
                        // condition for not showing my eagle page when user not logged in. instead show default home page
                        if (parentBook.getDefaultPage().equalsIgnoreCase(""))
                             breadcrumbURLs.add(PageURL.createPageURL(request, response, ""));
                        }else
                             breadcrumbURLs.add(PageURL.createPageURL(request, response, parentBook.getDefaultPage()).toString());
                   else
                        breadcrumbURLs.add(PageURL.createPageURL(request, response, parentPage.getDefinitionLabel()).toString());
                   parentPage = parentPage.getParentPagePresentationContext();
    %>
         <ul class="breadcrumbs">
    <%
                   // compare if current page is selected. then dont show hyper link
                   if (pageCtx.getTitle().toString().equalsIgnoreCase((String)breadcrumbTitles.get(i)))               
    %>
                             <%=breadcrumbTitles.get(i)%>  
    <%          
                        }else
    %>                    
                             <a href="<%=breadcrumbURLs.get(i)%> "><font color="#005596"><%=breadcrumbTitles.get(i)%></font></a></b><img src="<render:getSkinPath imageName="/spacer.gif" />" width="2" /><img align="bottom" src="<render:getSkinPath imageName="/arrow_right.gif" />" />
                             <%
    %>
         </ul>

  • How to implement "SelectAll" function in table view?

    hi, experts
    i want to implement "SelectAll" function in table view, just like the SelectAll function in ALV,how to do?
    and, can table view has it's tool bar ,may be on top of it.
    pls help and thanks a lot!!

    Search this forum. You will find plenty of threads on the same...
    Raja

  • How to use AVG function to determine difference.

    Hi, I have a basic table where there is an invoice price. I can do the AVG function to find out what the average is, but I need to be able to subtract the difference from each value in the column and submit it as a query. I was wondering if anyone had any advice how I'd do that.
    Thanks,
    Justin

    wrote:user_7000025
    Here is the table in question and the specific instructions:
    Write the query that will show the invoice number, the average invoice amount, and the difference between the average invoice amount and the actual invoice amount.
    INV_NUM CUST_NUM INV_DATE INV_AMOUNT
    8000 1000 23-MAR-04 236
    8001 1001 23-MAR-04 313
    8002 1001 30-MAR-04 528
    8003 1000 12-APR-04 195
    8004 1000 23-APR-04 619test@XE> --
    test@XE> -- Write the query that will show the invoice number, the average invoice amount, and
    test@XE> -- the difference between the average invoice amount and the actual invoice amount.
    test@XE> --
    test@XE>
    test@XE> --
    test@XE> with t as (
    2 select 8000 inv_num, 1000 cust_num, to_date('23-MAR-04','DD-MON-RR') inv_date, 236 inv_amount from dual union all
    3 select 8001, 1001, to_date('23-MAR-04','DD-MON-RR'), 313 from dual union all
    4 select 8002, 1001, to_date('30-MAR-04','DD-MON-RR'), 528 from dual union all
    5 select 8003, 1000, to_date('12-APR-04','DD-MON-RR'), 195 from dual union all
    6 select 8004, 1000, to_date('23-APR-04','DD-MON-RR'), 619 from dual)
    7 --
    8 select inv_num,
    9 cust_num,
    10 inv_date,
    11 inv_amount,
    12 avg(inv_amount) over () as avg_inv_amt,
    13 avg(inv_amount) over () - inv_amount as avg_actual_diff
    14 from t;
    INV_NUM CUST_NUM INV_DATE INV_AMOUNT AVG_INV_AMT AVG_ACTUAL_DIFF
    8000 1000 23-MAR-04 236 378.2 142.2
    8001 1001 23-MAR-04 313 378.2 65.2
    8002 1001 30-MAR-04 528 378.2 -149.8
    8003 1000 12-APR-04 195 378.2 183.2
    8004 1000 23-APR-04 619 378.2 -240.8
    5 rows selected.
    test@XE>
    test@XE>
    isotope
    Update: Good to know the solution worked. You may want to mark the question answered and award points.
    Edited by: isotope on Mar 14, 2009 10:50 PM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to implement Table Function Operator?

    Hello All,
    Can some one post me the steps on how to implement this table function operator ??
    Thanks ...

    I don't know what else to say then that what's writen in help (F1):
    To define a Table Function operator in a mapping:
    Before you deploy the mapping containing the Table Function operator, you must manually create the table function in the target warehouse. The Table Function operator is bound to the actual table function object through the code generated by the mapping.
    1. Drag and drop a Table Function operator onto the Mapping Editor canvas. A table function operator called TABLEFUNCTION is added to the Mapping Editor canvas.
    2. Connect the appropriate source attributes to the input group of the table function operator.
    3. Right-click the Table Function operator and select Open Details. The Table Function Editor is displayed.
    4. From the Groups tab, select Add to add an output group

  • How to implement the function "Slow Play" using MPMoviePlayerController?

    Does anybody have idea to implement the function "Slow Play" using MPMoviePlayerController or some other indirect solutions? Thanks. Kevin.

    You can use the changeSelection(...) method to change the cell with focus.

  • How to implement getResourcePaths functionality in 2.2 ?

              Hi all,
              Anybody knows how implement the getResourcePaths servlet 2.3 method with servlet
              2.2.
              I need the list of classes inside a specific folder within the .war.
              Juan.
              

    hi,
    Java  jdk-1_5_0_06-windows-i586-p.exe
    OBIEE  OBIEE 10.1.3.3
    1.     Copy biee_windows_x86_101330_disk1.zip file in to your local drive, extract it and run setup file
    2.     For the documentation BIDOC.zip in to your local machine, extract and explore
    Task
    1.     Copy installation files into your local machine
    2.     Install JAVA/JDK
    3.     Set JAVA_HOME, PATH, CLASSPATH
    4.     Install OBIEE
    5.     Explore OBIEE physical folders
    6.     Explore OBIEE installed components
    7.     Create some sample reports and charts.
    or else see the below link for installation
    http://www.oracle.com/technology/obe/obe_bi/bi_ee_1013/install/installoraclebee.htm
    Regards
    Naresh

  • How to implement settings function in std table ?

    Hi All,
          Alv table is having setting functionality by default . I need to provide the similar functionality in standard table . Is there any way for that ? . If any knows , how to do that , please provide me the steps .
    Regards,
    Kalpana .

    Hi,
    We dont have exact functionalities of Table settings in normal table.But some useful functionalities we have those are
    1. To create the header( set_header & get_header).
    2. To set text( set_text & get_text).
    3. Set_visible.
    4. set_tooltip.
    5. set-read_only
    6. set_toolbar & get_toolbar
    you can achieve maximum functionalities using cl_wd_table if in case you want to use table instead of table.
    Thanks
    Suman

  • How to implement hashCode() function

    Hello everybody
    I need to overrided hashCode method in my Object. This contains 4 attributes of type Long. I need to implement compatible hash code for my equals function.
    public class MyObject {
    Long attr1;
    Long attr2;
    Long attr3;
    Long attr4;
    public boolean equals(Object obj) {
    if (this == obj)
    return true;
    if (this == null || this.getClass() != obj.getClass())
    return false;
    TSCObject object = (TSCObject) obj;
    return (this.attr1 != null && this.attr1.equals(object) &&
    this.attr2 != null &&
    this.attr2.equals(object) &&
    this.attr3 != null && this.attr3.equals(object) &&
    this.attr4 != null &&
    this.attr4.equals(object));
    public int hachCode() {
    return 0;//??????????????
    Can somebody help me. I've heard something about HashCodeBuilder
    Thank

    It is hashCode(), not hachCode().
    You can consider to return the sum of the attr1.hashCode() + attr2.hashCode() + etc. You should try to "guarantee" as much as possible that the hashCode() returns an unique identifier of the MyObject in such a fast way so that it will improve performance of hashmaps/sets/tables which are used to store those objects. If you put a new MyObject in such a hashmap/set/table then it will check based on the hashcode if the object doesn't already exist. If it does, then it will invoke the equals() to check if they are certainly equal (which is generally more expensive).
    Also see http://java.sun.com/javase/6/docs/api/java/lang/Object.html#hashCode()

Maybe you are looking for

  • How can I put my emix files back into mail.

    Hi I've trawled the forums and think I've tried all suggestions. My mail froze when collecting mail and on restart the messages were in the viewer window but when double clicked they came up with the message about them not been downloaded from the se

  • How to restrict users to download, copy and print the documents from document library

    I want in SharePoint documents which I uploaded in documents library. no user will be able to download, copy and print. How it can be possible these types of restrictions apply?

  • Zoom level keeps resetting in Acrobat X

    Can someone tell me how to set the zoom level to be constant? Everytime i open a PDF, the zoom level is reset (usually to a very low zoom level). And everytime i click a bookmark, the zoom level gets reset. In preferences i have the zoom level set to

  • Can we display the selected fields in two screen?

    HI friends i have got a problem where i am have two screen 1000 and 102. In 1000 screen i have got 2 push buttons display and cancel if i click display by giving emp_id then module and email has to be display for which i have given code as... MODULE

  • Upgrades, updates and Photoshop CS3

    I've never had any problems with my Mac and its OSX (10.3.9). Yet, there is this nagging question that I thought I had left behind when I opted for the Mac instead of my XP Dell as my main computing environment. I acquired every piece of software to