How to use Aggregates??

Hello Folks,
I created Aggregates for my Infocube and assigned fixed values for the following infoobjects:-
Sales Organization, Sales office and Sales group
1. When I click on Aggregate Data icon, I don't see any data?. But when I right click on the Infocube and select Manage I can see tons of data in my Info cube.
2. How can I see whether these aggrgates will improve my query performance?
3. Can I see the Aggregates in the Query Analyzer.
I would appreciate if someone can shred some light on the concepts of aggregates.
Thanks in advance
Kumar

Hi Kumar,
Goto RSRT and check aggregate is used or not, click 'execute+debug' and option 'aggs' -> 'display aggregate found', 'select aggregate'.
Check this:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3f66ba90-0201-0010-ac8d-b61d8fd9abe9
Bye
Dinesh

Similar Messages

  • How to use Aggregate Functions during Top N analysis?

    Say i want to find top 5 highest salaries and their totals and average. In that case how to use aggregate functions. Please give me an example on this.
    Regards,
    Renu
    Message was edited by:
    user642387

    Hi,
    Yes, you can do that with aggregate functions.
    First, do a sub-query to retrieve all the salaries (in descending order), then say "WHERE ROWNUM <= 5" in the main query. Use the aggregate SUM and AVG functions in the main query.
    Analytic functions are easier to use for jobs like this, once you get familiar with them. If you're not leaving the field this month, then it's probably worthwhile for you to get familiar with analytic functions.

  • How to use aggregate function with Date

    Hi All,
    I have a group of date from that is it possible to Max and Min of date.
    I have tried like this but its errored out <?MIN (current-group()/CREATION_DATE)?>.
    I have also tried like this but it doesnt works
    <?xdoxslt:minimum(CREATION_DATE)?>
    Is it possible to use aggregate function with date values.
    Thanks & Regards
    Srikkanth

    Hi KAVI PRIYA,
    if date is not in cannonical format, how can we change it in BI publisher, then how to calcualte minimum and as well as maximum.
    please advise me,
    Thanks,
    Sri

  • How to use Aggregate Persistance Wizard in OBI EE 11g (11.5)

    Dear All,
    I am trying to use Aggregate Persistance wizard from BI admin tool (11.5).
    I created a repository based on SH schema (oracle 11.2) , and then from Tool->Utilities-> menu tried to invoke Aggregat persisatnce wizard.
    Very first time I was able to click 'Execute' button by selecting this wizard from the list, but now , no matter wht I can not invoke the same as 'Execute' buttion is permanently disabled.
    Please tell me what it the reason for this. Why execute buttion is disableed. IF I select , any other wizard from the list, this button is enabled, but as soon as I select aggregate persistance from the list, the button disables, and I am not able to move forwred.
    I ws trying to learn to create aggrages using this wizard, but can not go further as this buttion is disabled. I thought it might have happend due to some problem, so I stoped the BI services , shutdown the laptop, and rstared the BI services, and tried to recreated th rpd from scratch, which I could , but as soon as I go to Tools-Utiities and select aggragate persistance , I can not do it as the exectue buttion is diableed. What is the issue, and how to enable this again.? AM I doing somthing wrong or missing some step.?
    Please help me to understand the issue so that I can resolve..
    Thanks and Regards
    Santosh

    Before I read that blog I use another vo for sum but after that blog decide to use analytic fuction becuase we have some page that have to many dvt graph and table and know we use seperate vo for them and it has not good performance and too many query must run in database ,I want to have 1 vo with some analytic function for graph and tables

  • How to use aggregate functions into Analytical functions

    Can we use aggregate functions into analytical functions?
    Please provide one example.
    Smiles.

    HI Learner6
    for information:
    Aggregate Functions
    Analytic Functions
    for practic:
    ORACLE-BASE - Analytic Functions
    Thank you

  • How to use aggregate function on internal table

    hi experts,
    I am beginner in abap.I want to use sum function on internal table.
    I have structure as follow:
    types: begin of ty_ftab,
           docno TYPE bkpf-belnr,
           comcode TYPE bkpf-bukrs,
           year TYPE bkpf-gjahr,
           line_itm type bsad-buzei,
           cust type bsad-kunnr,
           amt type bsad-dmbtr,
    end of ty_ftab.
    data: it_ftab type table of ty_ftab,
               wa_ftab type ty_ftab.
    i fetched data successfully into it_ftab from bkpf and bsad table and displyed into alv.
    now i want sum of amt using group by cust and want to display like
    cust        total_amt      
    in next screen...
    displying part is not important but how can i do sum of amt according to cust value? Is there in way to query on internal table?

    Hi,
    try this code,
    data : i_sort  TYPE TABLE OF slis_sortinfo_alv
      w_sort like LINE OF i_sort.
    sort it_ftab by cust.
    w_sort-subtot = 'X'.
    w_sort-fieldname = 'AMT'.
    w_sort-tabname = 'it_ftab'.
    APPEND w_sort to i_sort.
    In fieldcatalog :
    w_fcat-fieldname = 'AMT'.
    w_fcat-tabname  = 'it_ftab'.
    w_fcat-do_sum = 'X'.
    In REUSE_ALV_GRID_DISPLAY  FUNCTION MODULE  provide the it_sort.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    *  EXPORTING
    *    I_INTERFACE_CHECK                = ' '
    *    I_BYPASSING_BUFFER                = ' '
    *    I_BUFFER_ACTIVE                  = ' '
    *    I_CALLBACK_PROGRAM                = ' '
    *    I_CALLBACK_PF_STATUS_SET          = ' '
    *    I_CALLBACK_USER_COMMAND          = ' '
    *    I_CALLBACK_TOP_OF_PAGE            = ' '
    *    I_CALLBACK_HTML_TOP_OF_PAGE      = ' '
    *    I_CALLBACK_HTML_END_OF_LIST      = ' '
    *    I_STRUCTURE_NAME                  =
    *    I_BACKGROUND_ID                  = ' '
    *    I_GRID_TITLE                      =
    *    I_GRID_SETTINGS                  =
    *    IS_LAYOUT                        =
    *    IT_FIELDCAT                      =
    *    IT_EXCLUDING                      =
    *    IT_SPECIAL_GROUPS                =
        IT_SORT                          =  i_sort
    *    IT_FILTER                        =
    *    IS_SEL_HIDE                      =
    *    I_DEFAULT                        = 'X'
    *    I_SAVE                            = ' '
    *    IS_VARIANT                        =
    *    IT_EVENTS                        =
    *    IT_EVENT_EXIT                    =
    *    IS_PRINT                          =
    *    IS_REPREP_ID                      =
    *    I_SCREEN_START_COLUMN            = 0
    *    I_SCREEN_START_LINE              = 0
    *    I_SCREEN_END_COLUMN              = 0
    *    I_SCREEN_END_LINE                = 0
    *    I_HTML_HEIGHT_TOP                = 0
    *    I_HTML_HEIGHT_END                = 0
    *    IT_ALV_GRAPHICS                  =
    *    IT_HYPERLINK                      =
    *    IT_ADD_FIELDCAT                  =
    *    IT_EXCEPT_QINFO                  =
    *    IR_SALV_FULLSCREEN_ADAPTER        =
    *  IMPORTING
    *    E_EXIT_CAUSED_BY_CALLER          =
    *    ES_EXIT_CAUSED_BY_USER            =
        TABLES
          t_outtab                          =
    *  EXCEPTIONS
    *    PROGRAM_ERROR                    = 1
    *    OTHERS                            = 2
      IF sy-subrc <> 0.
    * Implement suitable error handling here
      ENDIF.

  • How to use aggregate function with Toplink

    Hi
    My question is how can I get the following select when using Toplink-EJB.3:
    SELECT MAX(fieldname) FROM tablename;
    Thanasi

    Hi KAVI PRIYA,
    if date is not in cannonical format, how can we change it in BI publisher, then how to calcualte minimum and as well as maximum.
    please advise me,
    Thanks,
    Sri

  • How to use aggregate function (min) with Date

    Hi,
    I am using below code to print min date.
    <?if:SD_UserDefinedCode_KY_ID5 = 'LOESCH' or SD_UserDefinedCode_KY_ID5='FRIST'?>
    <?xdoxslt:minimum_date(SD_EffectiveDate_EFT_ID28)?> <?end if?>
    condition provide two date 2013-05-01 and 2013-01-01.
    Date is in canonical format  YYYY-MM-DD.
    now result is coming like number 1293840000000
    Minimum date should be come  2013-01-01 instead of 1293840000000 .
    Could you please help me out.
    Thanks
    Indrajeet Kumar

    Hi KAVI PRIYA,
    if date is not in cannonical format, how can we change it in BI publisher, then how to calcualte minimum and as well as maximum.
    please advise me,
    Thanks,
    Sri

  • How do I use Aggregate formulas with multiple measures from different tables?

    I have three measures:
    Cash - this sums the £ column in my 'Cash' table.
    Online - this sums the £ column in my 'Online'
    table
    Phone - this sums the £ column in my 'Phone'
    table
    How do I now do aggregate formulas that combine this three measures, for example:
    Find the MIN or MAX of the three measures
    Average the three measures
    I have worked out how to use simple aggregation like add, subtract etc through the CALCULATION formula, but doing the average or MIN/MAX does not work.
    Thanks.

    Hi, thanks for the suggestions.
    Re: Julian
    I had thought about this method, unfortunately it is not always three measures so this doesn't work.
    Re: Tim
    I was not aware of the APPEND formula however I will definitely give it a try and report back - I can see this one working.
    Re: Michael
    Apologies, I have never found a an easy way of simulating some of my issues since it would mean creating a new power model and establishing quite a number of relationships. I definitely see the benefit when posting on the forum since it makes my issue far more
    accessible, unfortunately when I've posted before I've generally been racing against time and not had time to prepare this anonymised data. Is there a quick way of  doing it?

  • How to use an Aggregate in a Computation on an Interactive Report?

    version 4.0.2.00.07
    Hello,
    I'm trying to create a computation on an Interactive Report from the Actions menu to compute a percentage.
    I have two Status columns, one for open and one for closed. I have to count the number of open and count the number of closed and then divide the two.
    I created an aggregate, count, on the open status and closed status, but how to use them in the computation? There's no 'count' in the Function list in the Compute box.
    I was hoping that those aggregated columns would be displayed in the Compute sub-menu on the Actions button but they don't appear to be.
    Can someone help me with this?
    Thanks,
    Joe

    Maybe an alternative would be to put this logic into the select.
    select u.object_name,
           u.object_type,
           count(case when u.object_type = 'TABLE' then 1 end) over () count_tables,
           count(case when u.object_type = 'VIEW' then 1 end) over () count_views
    from user_objects u;This would count the number of tables and views in the data dictionary. And it is returned as a column value.

  • How to use an Aggregate device for Garageband (iLife '11)

    Here is what I have,
    Komplete Audio 6 interface (USB)
    M-Audio Mobile Pre interface (USB)
    2010 Macbook (white) running OS X 10.6.8
    Garageband from iLife '11
    I found out (supposedly) how to use both of the interfaces together by creating an Aggregate device.
    I have gone through all the setup steps to create an aggregate device and put both interfaces on the Aggregate list to be used.
    HERE IS WHAT I'M TRYING TO FIGURE OUT!
    When I open Garageband and designate the Aggregate device as my sources of hearing and recording (Input and Output), the M-Audio doesn't even register sound. When I hook up the M-audio interface by itself, it works. Same with the Komplete interface. They work perfectly individually. But together, Garageband only recognizes channels 1 & 2 coming from the the Komplete interface.
    1) How do I make it so both show up as recording to Garageband?
    2) How can I hear them in my headphones (monitors)?
    Thank you!

    Maybe an alternative would be to put this logic into the select.
    select u.object_name,
           u.object_type,
           count(case when u.object_type = 'TABLE' then 1 end) over () count_tables,
           count(case when u.object_type = 'VIEW' then 1 end) over () count_views
    from user_objects u;This would count the number of tables and views in the data dictionary. And it is returned as a column value.

  • How to use analytic function with aggregate function

    hello
    can we use analytic function and aggrgate function in same qurey? i tried to find any example on Net but not get any example how both of these function works together. Any link or example plz share with me
    Edited by: Oracle Studnet on Nov 15, 2009 10:29 PM

    select
    t1.region_name,
    t2.division_name,
    t3.month,
    t3.amount mthly_sales,
    max(t3.amount) over (partition by t1.region_name, t2.division_name)
    max_mthly_sales
    from
    region t1,
    division t2,
    sales t3
    where
    t1.region_id=t3.region_id
    and
    t2.division_id=t3.division_id
    and
    t3.year=2004
    Source:http://www.orafusion.com/art_anlytc.htm
    Here max (aggregate) and over partition by (analytic) function is in same query. So it means we can use aggregate and analytic function in same query and more than one analytic function in same query also.
    Hth
    Girish Sharma

  • How  to do  delta  using aggregate ineed clear steps

    how  to do  delta  using aggregate ineed clear steps

    Hi Deba,
    If i understood your question corectly:- How to do delta loads to Aggregated Cube.
    If yes then it is as normal as loading a delta load into a normal cube.
    But only diff will be u need to roll up the cube that has aggregates after the sucessfull delta load.After u do the rollup only the data will be available for reporting.
    Here u need to be carefull abt 1 thing is if the data volume grows up in the aggregated cube and if you want to compress the data then u can do it for the Rolled up data only.
    Aggregates acts on F-Fact Table & Compression Acts on E-Facttable.
    So in process Rollup comes first and Cube Compression will be second. Here we have an option of Compressing the rolled up data in Aggregates this is diff from Cube compression.
    Best Regards,
    VNK.

  • Report using aggregates or not

    Dear All,
    how to identilfy my report is using aggregates or directly getting data from cube .
    regards,
    Anil

    Hi,
    Go to rsrt>execute and debug>check display statistics data>execute query>go back.
    In infoprovider shows a number, it means it hits the aggregate.
    You can also chheck this in table RSDDSTAT_DM.
    -Mayuri

  • How to get aggregate balance?

    Hi,
    i have a requirement need to calculate % of total amont for each level.
    ex:
    product dimension have have 4 level, product level 1,product level 2, product level 3, product level 4.
    if i drill to product level 4, i need have a calculate column to calcuate percentage
    product level 4' balance / sum(product level 3' balance)
    how to get aggregate balance sum(product level 3' balance)?

    Hi,
    Use the Function Module "PYXX_READ_PAYROLL_RESULT".
    Check Tables PA0045 & PA0078 (If loan amount is more than Salary).
    Cheers,
    Sunil B.

Maybe you are looking for