Average for a quarter and the grand total amount

Hi all

I have a report (PivotTable) in which I view information about sales. I have category, subcategory in the rows. Quarter of the year in the columns. Sales are loaded at the day level in the fact table. My report must indicate the average quarterly sales. That is to say that all sales per month should be added to the top and sales 3 months should be on average to get the average of quarterly sales.  We must show the total sales for each category sub. We must also show the % of sales for each subcategory with a category.

I did the following,

1. the aggregation of the column in the SPR Sales is basically

2. in the report, I shot months in the criteria and which excluded the pivot

3. I changed the aggregation (for total rum) for the SUM of criteria-> the column formula

4. I changed the AVG aggregation to view measures pivot

5. I have reproduced the measure to display the percentage of its sales

6. I enabled total in the lines.

Everything works well except the value of the subtotal of sales which gives me the average of subcategories at the level of the category, instead of this, it must be a sum.  The % of total is correct where he gives 100% for each category

Please help me reach the sum to the total sub level

Thank you!

Concerning

Deepak

Hey, I just fixed the problem myself.  The solution was to write the formula as AVG (sales per quarter, category, subcategory), then change the rule of the aggregation in short.

Tags: Business Intelligence

Similar Questions

  • Many storage spaces and data for each quarter of the year files

    Hello

    I am junior DBA and I have a question about tablespace partitioning or data file sharing.

    I have a database of 10g in many storage spaces, for example:

    KER_DATA_2009_Q1

    KER_DATA_2009_Q2

    KER_DATA_2009_Q3

    KER_DATA_2009_Q4

    KER_INDX_2009_Q1

    KER_INDX_2009_Q2

    KER_INDX_2009_Q3

    KER_INDX_2009_Q4

    There is also a data file for each tablespace that is mentioned.

    But for this year 2013, only two big storage space I can get one and data KER_DATA, KER_INDX files.

    All tables and indexes in the whole database are KER_DATA, KER_INDX, tablespaces.

    I don't know any cut in two storage spaces and means of data files. Is this something like tablespace partitioning? This can be done automatically or someone needed to do it manually on the end of each quarter?

    This should be done to improve performance, several small files data instead a large?

    Can some admin explain this to me?

    The reason for this separation of database/tablespace was partitioning. There are a lot of tables partitioned by date column, and there are partitions for each quarter of the year. There are tablespace with a data file for each quarter (partition).

  • I made a new music video for a song, and the music is not in time with the film, how I put in time?

    I made a new music video for a song, and the music is not in time with the film, how I put in time?
    Oh and I'm using WIndows Movie Maker. One.

    Please repost in Windows Live Solution Center.
    Forum on Windows Live Movie maker:
    http://windowslivehelp.com/forums.aspx?ProductID=5

  • I just bought a new laptop with Windows 8 is installed. When I try to install my printer, I get an error saying that there is no driver. Where can I download a driver for this printer and the OS from?

    I just bought a new laptop with Windows 8 is installed. When I try to install my printer, I get an error saying that there is no driver. Where can I download a driver for this printer and the OS from?

    Also, where can I find a list of compatible printers?

    I just bought a new laptop with Windows 8 is installed. When I try to install my printer, I get an error saying that there is no driver. Where can I download a driver for this printer and the OS from?

    Also, where can I find a list of compatible printers?

    Hello

    You can use the Windows 8 Compatibility Center to find out if a device is compatible.

    Windows Compatibility Center: find updates, drivers, & downloads for Windows 8, Windows RT:
    http://www.Microsoft.com/en-us/Windows/compatibility/WinRT/CompatCenter/home

    FAQ - Windows Compatibility Center:

    http://www.Microsoft.com/en-us/Windows/compatibility/WIN8/CompatCenter/FAQ

    Concerning

  • Hello. Where can I get documentation for HP Capture and the road? As a user/administrator's guide?

    Hello. Where can I get documentation for HP Capture and the road? As a user/administrator's guide? I recently installed a trial version, but he did not come all documentation.

    little late? ;-)

    Seems many is research. Look at

    http://h20000.www2.HP.com/bizsupport/TechSupport/DocumentIndex.jsp?ContentType=SupportManual&lang=en&cc=us&docIndexId=64179&TaskID=135&prodTypeId=457757&prodSeriesId=5260445

  • How can I download videos from my DSLR Sony DHV for later editing and the creation of a DVD?  I just installed Adobe software today and can't find anything about it.

    How can I download videos from my camera Sony HDV for later editing and the creation of a DVD?  I just installed Adobe software today and can't find anything about it.

    I am very familiar with Pinnacle, but I've been disillusioned about their support.

    Ian

    First you connect your device to your computer using your Firewire port, then press F1 and search for capture

    http://helpx.Adobe.com/Premiere-Pro/KB/cant-capture-DV-HDV-video.html

    - and more info on Windows http://forums.adobe.com/message/4708997

    -Legacy driver http://www.studio1productions.com/Articles/Firewire-1.htm

    -All versions of Windows from 7 to 10 need legacy driver!

    This is old, but still a good place to start - CS5-thru-CC body/Encore tutorial list http://forums.adobe.com/thread/1448923 has many links to help learn... including how to still get to create a DVD

  • I only use CC a year. Can I subscribe for a month and the following year again for a month? (So I don't have to spend so much money..)

    I only use CC a year. Can I subscribe for a month and the following year again for a month? (So I don't have to spend so much money..) I'm talking abozt Dreamweaver CC because I need to renew the site once a year. THX.

    Pricing plans and creative Cloud membership | Adobe Creative Cloud

    You can subscribe to DW for one month per year if you wish.

    Simple subscription App, monthly Plan

  • How can I 'include' a file different php depending on time? Work on a 'Happening Now' page for an event and the need to plan a different content to load as the day continues. Thank you!

    Work on a 'Happening Now' page for an event and the need to plan a different content to load as the day continues. Thank you!

    The event has class sessions all day (3 days). I would like the page happening now to show what classes are going on right now and what is coming up next. I was hoping just to separate configuration files and load them when necessary, but open to all suggestions.

    PHP has a powerful set of date and time functions.

    To do this is to create a DateTime object and then use conditional logic to include the files you want. A better way would be to keep the details in a database and use the time to retrieve and display the details you want.

    A DateTime object using:

    $now = new DateTime();

    $hour = $now-> format ('G'); This gives you time to the 24 hour clock.

    If ($hour == 13) {}

    It is between 13:00 and 14:00

    } else if ($hour == 14) {}

    It is between 14:00 and 15:00

    } ....

  • I'm paying for telephone folios and the 1800 number that is advertised on the shopping cart is not correct - what number I ring in Sydney, Australia

    I'm paying for telephone folios and the 1800 number that is advertised on the shopping cart is not correct - what number I ring in Sydney, Australia

    Do you mean you want to buy downloads additional folio? If so you are a Pro user or company, connect to your DPS dashboard and click on the "Contact Support" link at the bottom left

  • I'm trying to refresh for CS6 bridge and the dialog box always tells me to close the bridge first even if the bridge is not open

    I'm trying to refresh for CS6 bridge and the dialog box always tells me to close the bridge first even if the bridge is not open

    Bridge is probably running in the background.

    Error "Setup cannot continue until...". Adobe Bridge is closed. Installation | CS5

  • Is required for high availability and the DRS Vmware-AAM service? Has it been renamed with ESX3.5 U3?

    Hello Tech community.

    Is required for high availability and the DRS Vmware-AAM service? Has it been renamed with ESX3.5 U3?

    On one of our ESX 3.5 U3 infrastructure, VMware Ha and DRS work very well, and the following list of services are started, view VMware-AAM

    Here is an exit of an ESX 3.5 U3 system

    1. service - status-all | grep running

    crond (pid 1900) is running...

    gpm (pid 1851) is running...

    VMware-pass (pid 1942) is running...

    ntpd (pid 1842) is running...

    cimserver (pid 2452) is running...

    snmpd (pid 1557) is running...

    sshd (pid 4074 4037 1566) is running...

    syslogd (pid 1321) is running...

    klogd (pid 1325) is running...

    At least a virtual machine is still running.

    VMware-aam is running

    VMware VMkernel authorization daemon is running (pid 1911).

    VMware-vpxa is running

    webAccess (pid 1880) is running...

    openwsmand (pid 2534) is running...

    xinetd (1827 pid) is running...

    Now on our production VMware MCC cluster ESX 3.5 Update 2 we do not find "vmware-aam" this service but HA and DRS work very well, and the logs in/var/log/vmware/MAA indicate that everything is fine.

    1. service - status-all | grep running

    crond (pid 2033) is running...

    gpm (pid 1882) is running...

    hpasmd is running...

    cmathreshd is running...

    cmahostd is running...

    cmapeerd is running...

    cmastdeqd is running...

    cmahealthd is running...

    cmaperfd is running...

    cmaeventd is running...

    cmaidad is running...

    cmafcad is running...

    cmaided is running...

    cmascsid is running...

    cmasasd is running...

    cmanicd (pid 2703) is running...

    cmasm2d is running... [OK]

    hpsmhd (1986 1955 pid) is running...

    VMware-pass (pid 3502) is running...

    ntpd (pid 1873) is running...

    USE: Departure from OVCtrl | stop | restart | START | STOP | activate | Disable

    USE: Departure from OVTrcSrv | stop | restart

    cimserver (pid 3536) is running...

    Ramchecker is not running

    snmpd (pid 1745) is running...

    sshd (pid 1861 1447 1754) is running...

    syslogd (pid 1684) is running...

    klogd (pid 1688) is running...

    At least a virtual machine is still running.

    VMware VMkernel authorization daemon is running (pid 3472).

    VMware-vpxa is running

    webAccess (pid 1984) is running...

    openwsmand (pid 3642) is running...

    xinetd (pid 1854) is running...

    I did a few Google queries and couldn't find a definitive answer

    The service of AAM is required for HA - it is not required for DTH

    If you find this or any other answer useful please consider awarding points marking the answer correct or useful

  • Relation to the total column and row grand totals

    Hello world

    I have requirement I need to create a statement of expenses with BI Publisher in Siebel. I need to group the items of expense by date and have a show total amount for the row and column. The report should look like this when done:

    FEES
    Date of... Meals... Entertainment... Total
    06/19/09.........75......................175............................250
    06/20/09.........50 ..................... 50..............................100
    ------------------------------------------------------------------------
    Total... 125....................225............................350


    I do not know how to address the issue since the amounts for the "meal" and "Entertainment" is not stored in separate columns, but instead of this, there is a 'Category' column and a column 'amount '. The XML should look like this:


    < EXPENSE_REPORT >
    < ID > 232 / < ID >
    < NAME > fresh June < / NAME >

    < EXPENSE_ITEMS >
    < DATE > 19/06/09 < / DATE >
    MEAL < CATEGORY > < / CATEGORY >
    < > 25 < / AMOUNT >
    < / EXPENSE_ITEM >

    < EXPENSE_ITEMS >
    < DATE > 19/06/09 < / DATE >
    ENTERTAINMENT < CATEGORY > < / CATEGORY >
    < AMOUNT > 50 < / AMOUNT >
    < / EXPENSE_ITEM >

    < EXPENSE_ITEMS >
    < DATE > 20/06/09 < / DATE >
    MEAL < CATEGORY > < / CATEGORY >
    < AMOUNT > 50 < / AMOUNT >
    < / EXPENSE_ITEM >

    < / EXPENSE_REPORT >


    Any suggestions on how I should approach this? Thanks in advance.
    Fred

    Published by: Fred_1 on September 21, 2009 22:30

    Fred/Kumar,

    1. it should be simple enough to BEEP model too.
    2. a glance the link thread above, I answered how do in Datatemplate.
    3 Db rollup is also good option

    Look at this

    http://winrichman.blogspot.com/2009/09/cross-tab-summation-in-RTF.html

    Take a look at these too, it will help you for sure.

    http://winrichman.blogspot.com/search/label/cross%20tab
    http://winrichman.blogspot.com/search/label/BIP%20Vertical%20sum
    http://winrichman.blogspot.com/search/label/cross-tab
    http://winrichman.blogspot.com/search/label/summation%20In%20BIP

  • How to calculate an average for each quarter in a year

    Hello world


    I have a table that stores all the unit tests for the data. I'm figuring avg unit tests that have been recorded by quarter in one year

    I tried with avg and the meter, but I'm sure that the results returned are not perfect

    Help me in this scenario.

    Thank you
    Sriks

    user10699584 wrote:

    so if there are 10 unit tests then the avg is 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10/10

    It is a weird way to definig average. Anyway, why:

    2005-2 Q 5 2.5

    According to your package:

    (1 + 2 + 3 + 4 + 5) / 5 = 3

    not 2.5. I'll assume that it's a typo. Now based on Mathematics:

    1 + 2 + 3 +... + n = (1 + n) * n / 2

    The foregoing your 'average' would be:

    (Count + 1 / 2)

    Also, I suspect tc_vts column data type is DATE, if so:

    select  to_char(tc_vts,'YYYY-Q"Q"') "year-Quarter",
            count(*) "Total cases",
            (1 + count(*)) / 2 "Average of total cases"
      from  Testcycl
      group by to_char(tc_vts,'YYYY-Q"Q"')
      order by "year-Quarter"
    /
    

    SY.

  • Capture the Grand Total &amp; calculations on it.

    Hello

    We have a report columns-> 1) location 2) 3) Total sales %.

    In column 2, we show the total general for the 2nd column, namely SALES in a table view.

    Here the calculated column (Total sales %) = sales (value line) / Total big (sales).

    Here we see how sales for this location is contribuing.

    Can we some how capture the total general. We don't have dashboard... Please suggest that this can be achieved in OBIEE. I see here that we cannot use variables also can help combiing two request.

    Thank you
    Dev

    For grand Total (sales) using the formula:
    Sum (table.sales)
    or if it does not work
    Sum (Sum (table.sales))

  • I need to know how much it will cost for a fan and the battrie

    namely that iam a studtent to the iam school was by using one of the notebooks hp because my father was asking someone in the store of the computer on which would be the best for me at school and they said that the hp pavilion g6 it worked well im good summer use for butts a year in year environment I think. When I went to my place a friend when I turn, it says the fan it works well so I got difficulty and something else in it they said I had a guarantee as it was the difficulty and then after that on the second year I used in 6 months I have need of a fan replacement agine and I know not its own all is good condishion after shoot 2 days later I need to say a battrie replayment so now he leaves me with what I'm doing and now I don't have how much it will cost to fix it and iam not rich and it will take some time to pay off I was woundering is there a way to pay he took just a cheap littile but I need to be a bug in top shap and I want to know how much it would cost to add a new GPU which is a littile better and my GPU is great, but I want just a new one I had a VISION of A6 AMD place help

    Ed... Sorry for the comment about your grammar and punctuation. You erased that upward. In any case, we need your exact model number. There are a lot of G6. Look at the bottom of the laptop or in the battery compartment for a number like G6-xxxxaa, where the x are numbers and the letters a. This will allow me to know the exact references you need. Chances are that they are available on eBay Australia. Then we just need to know how we're going to get your new fan installed.

Maybe you are looking for

  • Power power on Satellite C870-1FZ problem

    I use my laptop on WIndows 8.1 - 64 bit. When the power cable and the battery are connected, the laptop just will not start. When I remove the battery and use only the power cable it starts and runs normally. It also seems that the battery does not l

  • Error; The file name is not valid, _ there is no files more

    Please... Help me!!!When I finished my work with any program the problem is that I can't save it. The error just appeared "filename is not valid" OR "There are no more file"I had no idea of how I should fix this.

  • Language of typing of blackBerry Smartphones

    On my Pearl, when you type, it would complement the word with suggestions.  It was controlled by the preferred language, but I can't find this option on my Tour.  I am recording the steps in typing texts and emails.  Can anyone help?

  • How to install HP Office Jet Pro 8500 wireless on Mac with os x worm 10.9.1

    Just bought an Apple MacBook with OSX worm 10.9.1 and trying to figure out how to install the printer of the object to work with her.  I am totally new to Apple products.  The website of HP showed install info for lower OSX 10.9.1 versions so I wonde

  • Confusion of passwords of Windows 8

    I must change my passwords of Windows 8 and confused me. How many passwords are there? I changed my Microsoft.com password. Is this the same as the login password that I use when I turn on my computer first? Is one of these as my password for onedriv