The problem with the calculation of the average for the recurring value

My task is to perform analysis, where in the table have ID to which she is assigned 10 measures (1-10) and each has its own value. I have to average of this what I take AVG (as) and I want to say. However, as prompcie Will I choose the second ID and I have two measures 1-10 time what I means account for 20 photos and I want to separate Average (two - each for 10 measures). Is there any possibility of Smash it? The use of a function or collection of rehearsals ?


It looks like this:


column 1 | column 2 | column 3 | AVG |


ID |  Nr.  result | AVG?

x | 1. 200 | AVG x?

| 2. 210 |

| 3. 210 |

There | 1. 210 | is AVG?

| 2. 208

| 3. 200


In column 4, I want to be avarage but another for id x and another for id y?

is the result you are looking for:

If Yes... then avg column formula is AVG (result BY id)

Tags: Business Intelligence

Similar Questions

  • Problems with date calculation

    I have a java (and much more far vb) background and it seems that I'm really dependent functions for date calculations.  I'm trying to do a few things, but have not been able to accomplish them.

    I do not have

    Calendar.add()
    

    I briefly contemplated an add function by converting into long then do the calculation and returns a new calendar object, but the problems with this approach comes flourishes as soon as I started.  Just trying to find out if a date was yesterday was me banging my head against the wall.

    Any help please?

    I wrote this, but I don't know if there is a simpler method, go to this issue the wrong way, etc.

    public static boolean isYesterday(Calendar c) {
        Calendar today = Calendar.getInstance();
        int newDay = today.get(Calendar.DAY_OF_MONTH);
        if (newDay == 1) { //get last day of previous month
            int newMonth = today.get(Calendar.MONTH);
            int newYear = today.get(Calendar.YEAR);
            /* If jan 1, get dec of last year */
            if (newMonth == 0) { //Java Calendar.MONTH is zero-based
                newMonth = 11;
                newYear -= 1;
            today.set(Calendar.YEAR, newYear);
            }
            today.set(Calendar.MONTH, newMonth);
            newDay = DateTimeUtilities.getNumberOfDaysInMonth(newMonth, newYear);
        } else {
            newDay -= 1;
        }
        today.set(Calendar.DAY_OF_MONTH, newDay);
        return DateTimeUtilities.isSameDate(today.getTime().getTime(), c.getTime().getTime());
    }
    

    'convert to tz to the device.

    I recommend that stick you with using UTC for everything.  If you want to display to the user, then a DateField will convert the hour UTC to local time.  SImpleDateFormat.formatLocal will also print you long time UTC to local time.  So I recommend that you do not have to convert once at the local level.

    Remember that System.currentTimeMillis () is time not UTC/GMT.

    Of course, that's a good advice or not depends on your app.

    I'm not aware of any third-party code that helps, I reinvented wheels square to all my treatment to date.  But I never really looked at.

    About your code, assuming that c calendar uses the local time zone, so I think that the code works.

  • Problem with rating calculation

    Hello

    I am creating a crosstab report shows the Top N amounts by seller grouped by periods of aging. Aging periods are defined with a CASE, and I created a separate calculation, the total of the amounts by seller of partitioning. I want to classify data according to this calculation, when you use RANK() (PARTITION BY the org ORDER BY total), data are always sorted by the number of time periods, there is an amount (i.e. fabricant1 with 3 times outstanding is assigned rank1, and the next vendor is classified in 4 instead of 2). Help the ROW_NUMBER returns similar results, except that all suppliers are displayed several times for periods as much as it is has outstanding. What I'm missing here? How can I get Scout to ignore multiple lines and sort the data based on the total?

    See you soon,.

    Arthur

    Hello

    Uh, I was confused about what you were trying to do and I don't always fully understand your report.

    If you want to limit the values in the report to the top of page 10 different values then you can use DENSE_RANK() analytic function in a calculation with PARTITION OF all dimensions, except for the period. Then use a condition to limit the report to the top 10 values. If you want to have only 10 values in your report, you use RANK().

    If you want to sort according to the ranking that you will need to include the calculation of rank as a dimension.

    You should not have to use analytics and a SCORE OF to calculate totals. These should use the SUM aggregate function.

    Hope that helps a little.

    Rod West

  • I have a problem with ITunes running in compatibility mode for Windows XP on a Windows 7 computer.

    As noted above. My iTunes is configured for Windown XP compatibility. The iTunes store does not open. How can I go back to Windows 7 compatilbility. I deleted and reloaded iTunes twice without any change.

    Original title: I have Windows 7. Somehow iTunes is configured for Windows XP compatibility. How to return to Windows 7?

    Hi, Robert Grossman,.

    Thanks for posting your question in the Microsoft Community Forums.

    ITunes is used to transfer music on your IPod and play music on the computer. You have a problem with the ITunes running in Windows XP compatibility mode. It can be difficult when something that is important to you does not work as expected. It's pretty simple and we're here to help you solve the problem. We work as a team and get this sorted out.

    Please answer these questions-

    (1) where do you see that ITunes is running in Windows XP mode?

    (2) that you get an error message or error code?

    (3) what exactly happens when you try to open the ITunes store?

    (4) have you made changes on the computer before the show?

    I would like more information about the issue.

    Method 1-

    I Uninstall and reinstall ITunes from here.

    Let us know if you have other questions about Windows. We will be happy to help you. We at Microsoft, strive for excellence and provide our customers with the best support.

    Thank you.

  • problem with order 40470 themes from adobe for muse

    Hi, I have a problem with a template I received topic of adobe, nr.40470. the problem is that when I preview the page in the browser, the text is on the right side of the chassis. I deleted and reinstalled the model several times but still the same error

    Hi A and C,

    Try to increase the size of the TextBox for a better analysis and share a link to your site.

    Kind regards

    Akshay

  • I'm having a problem with Japanese, Chinese, and Korean text. for example, the home page of Wikipedia has links to home pages in other languages. Arab, cryllic, text etc. is displayed correctly. but the three I just mentioned is not.

    I'm going to Web sites that use a lot of Japanese characters (kanji) and some Korean (Hangul/Hanja). It's the same thing on other sites as well.

    Make sure that you have installed the language support East Asia:

  • PROBLEM with automatic calculation program

    Hello

    I presented the Master program of automatic bill of back-end with the following parameters but it ends in error.

    Kindly Guide.


    fnd_global.apps_initialize (fnd_profile. Value('USER_ID'), fnd_profile. Value('RESP_ID'), fnd_profile. Value ('RESP_APPL_ID'));

    l_request_id1: = FND_REQUEST. SUBMIT_REQUEST ('AR', 'RAXMTR', 'Auto', null, false
    , 1.24, 'property Manager batch Source', to_char (SYSDATE,' YYYY/MM/DD hh)
    ,'' ,'' ,'' ,'' ,'' ,'' ,'' ,'' ,'' ,'' ,'' ,'' ,'' ,'' ,'' ,'' ,'' ,'' ,''
    , ",", "Y", ", l_org_id, CHR (0)
    );

    Concerning

    PL post Details of the operating system, database and versions EBS.

    PL see if these MOS Docs can help you

    Example of Script PLSQL to call Autoinvoice Import RAXTRX of program using fnd_request.submit_request in Re (Doc ID 1127399.1)
    Autoinvoice error: USE: PROGRAM ORACLEID REQUEST_ID Y (Doc ID 170729.1)

    HTH
    Srini

  • Error code 998 problem with Corel Draw - error Code 998 for start Corel DrawX5

    System: windows 7 64 bit

    Product problem: Corel Draw X 5 including Corel Photo pain and Corel Draw
    Launch of the AU: code error 998
    "Could not load corelpp.dll" or "cannot load CorelDrw.dll.
    However, the .dll are existing.
    Uninstallation and reinstallation complete nothing changed the software.
    Thank you for your help.
    System: windows 7 64 bit
    My problem is with Corel Draw X 5
    When I run the application Corel Photo paint or Corel Draw, the error message is:
    "Could not load corelpp.dll" or "cannot load CorelDrw.dll.
    But the .dll file really leaves in my C:
    Thank you for your help

    Probably better if you ask Corel. Because this is not the Microsoft program

  • Problem with drivers HP Pavilion 15-n204ej for windows 7

    Hello.

    I bought a HP Pavilion 15-n204ej, because I liked this brand. There is not since the model without an operating system had no choice. Bought with unwanted windows8.

    While oppened a box I saw that my plastic - around keyboard cover was bolted as he left takes place, with spaces. so I called the service, and after a few phone calls that they dicided to send it for fixing. After 10 days at least, her arrival fixed return.

    After that, reinstalled windows 7 ultimate 64-bit.

    I entered your site to download drivers for windows 7, you put. but almost all of the drivers was wrong...

    After much work and reading, I installed on site and an other sources (including microsoft), but still left 3 uninstalled devices (bluetooth controller, ethernet controller, pci device) and my touchpad does not work.

    Fix all driver and help me urgent.

    all that makes me less love this brand and this service, so I'm not sure I'll find a reason to buy products in the future.

    (it'sw is not first, I surprised & "got a burn" with hp quality and service (for example my printer officejet 4500)).

    This is NOT official HP customer service and I, like most other people on this forum do not work for HP. It is a forum for users of peer-to-peer supported for class for the HP consumer products. HP maintains no official presence on this forum and it is unlikely that HP will respond in an official capacity. Response of an employee of HP represents his own opinion and not that of HP.

    HP is not recommended to install Windows 7 on any computer comes with Windows 8 / 8.1, or it will support installing Windows 7on of that computer. HP cannot provide the drivers for Windows 7 and the appropriate drivers are not available for the hardware in the computer. In addition, Windows 7 may not support some of the hardware or software designed for the computer.

    Make sure you create your media recovery HP or USB Flash Recovery discs before you edit or change anything.

    Based on the specifications of the laptop HP Pavilion 15-n204ej, this model shipped from the factory with Windows 8.1 64-bit installed. You need to change some settings in the BIOS, and you may need to provide Intel SATA/RAID drivers to install Windows 7.

    Many of the 64 - bit drivers Windows 7 on the page of Quad Edition CTO Notebook PC HP ENVY 15 t-j100 drivers should work for your computer.

    Driver and Intel Chipset Installation utility

    Intel Management Engine Interface (MEI) driver

    Intel Smart Connect driver technology

    Intel USB 3.0 Host Controller Driver

    Realtek LAN driver (LAN)

    High definition (HD) of Intel Graphics Driver

    NVIDIA driver graphic of high definition (HD)

    Synaptics TouchPad Driver

    After installation of Windows 7 and the above drivers, please post to the "Hardware ID" Device Manager (text only) for all remaining missing or unknown devices, as shown in the example below.

    If the "Touch Pad" continues to not work, please contact the official HP support in your region / country, via the Portal of HP worldwide support, warranty service.

    If you have any other questions, feel free to ask.

    Please click the 'Thumbs Up' white LAURELS to show your appreciation

  • Problems with Explorer 8 and Add - ons for

    I was experimenting with the deactivation of cookies. Now, my Internet Explorer v. 8 repeat myself that I have disabled my addons. I checked, and they are all enabled. He always said that they have been disabled. So I uninstalled and reinstalled Explorer 8, and he also said that they are disabled. But even once, when I check in 'Manage Add-ons', all are enabled. I'm puzzled as to what to do. I can't open or use gmail for this reason. I use Mozilla in the interval, but prefer to use Solution Explorer. Any advice on how to "activate" these apparently allowed add-ons?

    Try this:

    "Internet Explorer 8 starts in"no Add-ons"mode when you use the desktop icon to start Internet Explorer.
      <>http://support.Microsoft.com/kb/976915 >

    HTH,
    JW

  • Hi, I have a problem with finding drivers - PCI SOUNDPRO CMI8330 for Windows XP SP2, it is a Pentium1 old computer motherboard, but put up-to-date sound card is integrated... Everyting works well, but there is no sound on speakers? __

    P1 with hardware Ram A - max 128 MB Seagate HD 8, 4 GB memory card mother TXProII
    its an old model but there is no sound... Windows XP Professional...

    Disable the onboard sound from the BIOS and throw them into a basic PCI sound card that comes with the drivers. A basic PCI sound can be had for under $ $20. MS - MVP - Elephant Boy computers - don't panic!

  • Problems with creating 3D photo tiles/logo for a Web site

    Hi all

    About 6 years ago, I found a great free site where you can create logos/tiles photo 3D fast and easy, with a picture or photograph.  Foolishly, I did not notice their web address and now I can't find it by tapping it, everything in the good old Google.  Fortunately, I have subscribed to Adobes Photoshop CC 14.2 version and I was wondering if you guys would know tutorials, I was able to create logos 3D/tiles for a Web site.  Or your own tutorials bit please? As it would be highly appreciated.

    The only way I can describe my created logo old 6 year/tile, is that it is 149 pixels pixels wide x 217 long and resembles a bathroom tile.  As he seems to have an invisible, internal frame that makes you think that image, is to jump on you.  If Adobe allows you to add images, on their thread with a host external photo, I'll try to add it to this topic.

    " < img src = ' http://I125.Photobucket.com/albums/p63/leosun848/Yes.jpg "border ="0"alt =" full Angel photo YES.jpg YES "/ > "

    I look forward to your advice.

    All the best,

    Oliver

    Bevel layer effects of-> & emboss.

  • After the upgrade to El Capitan having problems with the application Mail

    Hello:

    Recently upgraded my Mac mini to El Capitan. Before the upgrade (from Mountain Lion), I got Thunderbird mail application works perfectly access my GMail account and my Hotmail account. Now, I have no problem with Hotmail and Gmail keeps asking for the password to connect to the gmail imap server. I have TBird in my laptop Ubuntu Linux and Windows too and that you have not had any problems like that. Any help to solve this problem is appreciated. Thank you.

    Try this: https://support.google.com/accounts/troubleshooter/3178296?hl=en

  • I have a problem with the start

    I have problem with start

    Hello! TNX for your reply, after having turned on its says press the ESC key for startup menu. After that: not found boot device
    Please install an operating system on your hard drive. Hard drive (3f0)
    F2. The System Diagnostics

  • Problem with the puppet tool

    Hi adobe community.

    I am using the trial version of adobe after effects, but I have one or two big problems with the software:

    1. If I use the puppet tool (I don't know English name) for the two points on the object the program closes!

    2. it is impossible download this plugin: C:\Program Files\Adobe\Adobe after effects CC 2015\Support (Media Core plug-ins)\Common\ImporterWindowsMedia.apm Files\

    Please help me and thanks a lot for the tips

    p.s. I have a pc with windows 10 pro

    Try CC 2014 and see if the problem persists.

    Try CC 2014 will help us see if the problem is in the latest version of AE or on your system in General.

    I have problems with the puppet tool on my Windows 7 CC 2015 machine running.

    If there is a problem with CC 2015, use CC 2014 for a little while. There is a coming update at the end of this month which aims to fix a LOT of bugs.

Maybe you are looking for