Query not hitting the Aggregate

HI Gurus,
I have created a Aggregate on one info cube. now when i am executing a query which was created before the creation of aggregate then that query is hitting the Aggregate.
But i created one more new query (after the creation of aggregate) on the same infoprovider.
Now when i am checking that query is not hitting aggregate..
I am checking through RSRT --> Execute and Debug --> Display Aggregate.
Its quite strange for me...
Please help..

Hi,
Thanks for your quick reply.
Let me explain my problem clearly. I am aware of that when the Aggregate contain all the characteristics that are in the query only that Aggregate is used by the report while executing it. I have few cubes on which I have created Aggregates which includes all the characteristics which are used in all the reports. Now I have created a multi provider on these cubes and created a query on that multi provider. Now when I execute the query does it hit the Aggregate or not.
For Example.
I have cubes A, B and C. A contain 1,2,3 characteristics and B contains 1,4,5 and  contain 1,4,6,7. I have created Aggregates on these cubes. I have created the Multi Provider on these and executing the query. This query contain all these characteristics 1,2,3,4,5,6,7. when I run the query does it hit the any of the Aggregates.
Regards
Sankar.

Similar Messages

  • OBIEE Query not hitting the other fact table

    Hi All,
    I am trying to create report based on two fact column and one dimension. Dimension is connected with these two facts table. When i create report using one column from dimension and one column from respective facts so i get two scenerio...
    For example let say..
    D1 is dimension and F1 and F2 are two fact tables.
    First i used a column which have aggregation rule from one fact and one column from other fact which also have aggregate column.
    That is report like...
    D1.c1,Agg(F1.c2),Agg(F2.c3)
    When i run the report I get the data from dimension and only from first fact table. When i check the query, Query contain only one fact table and it doesnt hit the other one.
    Now in second scenerio i used one column from dimension, one column from first fact which have aggregation rule and one column from second fact which doesnt have any aggregation rule.
    like...
    D1.c1,Agg(F1.c2),F2.c3
    When i run the report i got the error. It says
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 14026] Unable to navigate requested expression: F1 -C2 . Please fix the metadata consistency warnings. (HY000).
    But there is no warning in RPD.
    I am amazed that it is not taking both the fact columns even the dimension is confirmed dimension and have joined with both the fact tables.
    As i am just started to learn OBIEE, So i am find it bit difficult that how OBIEE select the tables and formed physical query.
    Waiting for your help.
    Regards
    Suhail

    Aadi-Wasi,
    Thumb rule, OBIEE BMM layer must contain a simple star schema.
    Did your BMM layer suffice the above condition? If hope, Not.
    My prediction of your BMM layer structure contains 3 logical tables, i.e. dimension & 2 logical facts...which is not a simple star.
    Thus to make it a simple star collapse 2 logical fact tables into 1 logical fact table. As you mentioned dimension is linked to both facts, collapsing 2 logical fact tables into 1 logical fact table will provide the result for your query1.
    regarding your second error:
    All aggregations must be contained within Fact tables with few exceptions.
    Let us know If I did resolve your issue
    mark posts promptly...
    J
    -bifacts
    http://www.obinotes.com

  • SSRS,MDX- Passed parameters are not hitting the main query in Dataset

    I have created a SSRS report which has to accept two parameters i.e., store name, Date(to show sales on particular date) in report. which are working fine for me. but, those passed parameters are not hitting the main query in main Dataset. what ever i
    pass in parameters, it is displaying all the rows(every city values). i think i am not correct in creating the statement in  Main dataset query, to receive those 2 parameters into the main query. can anybody please help me how to create the statement
    in main date set to display the results for the exact parameter i am passing(which has to be in MDX).
    ram

    Hi ramprasad74,
    According to your description, you want to use parameter in the report, then after parameter values are selected, corresponding data will be displayed in the report. But the parameters do not work and all the rows are displayed.
    To pass parameter to main report dataset, we need to define parameter for MDX query and assign parameter name same as SSRS report parameter. For detail information, please refer to the following steps:
    Create a Dataset to retrieve data for Store name parameter.
    Create Store name parameter, type name and prompt, set Date type to Text, check Allow multiple values check box, then select get values from the dataset.
    Create a Dataset for Date parameter.
    Create Date parameter, type name and prompt, set Date type to Date/Time, then select get values from the dataset.
    Create a new dataset used to retrieve data for the report, add statement like below to the mdx query: {STRTOMEMBER(@Date)} * {STRTOSET (@Store_name)}.
    In Query Designer pane, click Query Parameters and assign parameter name same as SSRS report parameter.
    For more information about SSRS Report with Single and Multi Selection Parameter using MDX Query, please refer to the following blog:
    http://www.codeproject.com/Articles/799265/SSRS-Report-with-Single-and-Multi-Selection-Parame
    If you have any more questions, please feel free to ask.
    Thanks,
    Wendy Fu
    If you have any feedback on our support, please click
    here.

  • Row level security not working if I hit the aggregate

    I have applied row level security on presentation layer , however it does not work if the report hit the aggregate any idea on this...

    Hi Ingo,
    Security is set up using /crystal/rls transaction. A custom auth object is used for checking the company code with a single field "BUKRS".
    This custom auth object is maintained for the PA0001 table.
    This object is added at the role level with the restricted access to the Company Code..

  • Characteristic "XYZ" is compressed but is not in the aggregate/query

    Hi there,
    we have build couple of aggregates and receive the following message in debugging mode:
    e.g." ____Characteristic 0VALUATION is compressed but is not in the aggregate/query"
    Does this mean, we have to include the characteristic into the aggregate or does it mean, it is in but is not compressed ?

    Hi
    Is this warning message or error message?
    It seems warning message.It just saying but in aggregates or on query.You can ignore it.
    Regards,
    Chandu.

  • Rebate settlements should not hit the VAT account

    Hello everyone,
    There is a question on Rebate Settlement.
    There is a customer who is entitled to a 15% BPR rebate.
    We are accruing for this rebate successfully
    The issue we are having is that the materials that this customer buy from us attract 20% VAT but when the customer claims back from us they do not claim the VAT component.
    We need to  be able to do rebate settlements that do not hit the VAT account.
    I ran a test in SAP on a sample rebate agreement but the only way I could get the rebate settlement to not hit a VAT account was to change a material to be not liable for tax and then settle against that material.
    Billing doc 1-Posts to VAT since the material is Tax inclusive
    Billing doc 2-Does not posts to VAT since the material is Tax exclusive
    Any of you aware of any other way to do this (perhaps using a payment type)??
    Kindly suggest,
    Regards
    Manjunath

    Hi Manjunath,
    As Brian already explained the way how usually rebate settlements happen with settlement or dummy material.
    Is our business needs to have settlement against actual materials billed ?
    If yes, we did an approach in our client.
    we have a six document concept which is custom developed.
    You have 2 documents created for rebate settlement run. Rebate credit memo request and rebate credit memo for settlement or dummy material maintained in rebate agreement.
    These two documents gets cancelled with corresponding cancellation documents.
    New set of documents created for Rebate credit memo request and rebate credit memo with actual materials.
    All of these documents are created using a batchjob and these documents form document flow in our case.
    You can try with help of an ABAPer for achieving this.
    Thanks
    Rama

  • Why is this query not using the index?

    check out this query:-
    SELECT CUST_PO_NUMBER, HEADER_ID, ORDER_TYPE, PO_DATE
    FROM TABLE1
    WHERE STATUS = 'N'
    and here's the explain plan:-
    1     
    2     -------------------------------------------------------------------------------------
    3     | Id | Operation | Name | Rows | Bytes | Cost (%CPU)|
    4     -------------------------------------------------------------------------------------
    5     | 0 | SELECT STATEMENT | | 2735K| 140M| 81036 (2)|
    6     |* 1 | TABLE ACCESS FULL| TABLE1 | 2735K| 140M| 81036 (2)|
    7     -------------------------------------------------------------------------------------
    8     
    9     Predicate Information (identified by operation id):
    10     ---------------------------------------------------
    11     
    12     1 - filter("STATUS"='N')
    There is already an index on this column, as is shown below:-
         INDEX_NAME INDEX_TYPE     UNIQUENESS     TABLE_NAME     COLUMN_NAME     COLUMN_POSITION
    1     TABLE1_IDX2 NORMAL     NONUNIQUE     TABLE1      STATUS     1
    2     TABLE1_IDX NORMAL     NONUNIQUE     TABLE1     HEADER_ID     1
    So why is this query not using the index on the 'STATUS' Column?
    I've already tried using optimizer hints and regathering the stats on the table, but the execution plan still remains the same, i.e. it still uses a FTS.
    I have tried this command also:-
    exec dbms_stats.gather_table_stats('GECS','GEPS_CS_SALES_ORDER_HEADER',method_opt=>'for all indexed columns size auto',cascade=>true,degree=>4);
    inspite of this, the query is still using a full table scan.
    The table has around 55 Lakh records, across 60 columns. And because of the FTS, the query is taking a long time to execute. How do i make it use the index?
    Please help.
    Edited by: user10047779 on Mar 16, 2010 6:55 AM

    If the cardinality is really as skewed as that, you may want to look at putting a histogram on the column (sounds like it would be in order, and that you don't have one).
    create table skewed_a_lot
    as
       select
          case when mod(level, 1000) = 0 then 'N' else 'Y' end as Flag,
          level as col1
       from dual connect by level <= 1000000;
    create index skewed_a_lot_i01 on skewed_a_lot (flag);
    exec dbms_stats.gather_table_stats(user, 'SKEWED_A_LOT', cascade => true, method_opt => 'for all indexed columns size auto');Is an example.

  • Tell me select Query that HITs the database Directly  ???

    Hi,
        I have a table, for this table in the Techinical Setttings I selected Buffering allowed, and buffering type is Full Bufferd.Now, I want a Select Query which hits the database directly, without fetching records from the BUFFER.
    Except using SELECT BYPASSING BUFFER query ????
        Regards,
    V.Raghavender.

    hi,
    ·        Any SELECT with a sub query or with joins
    ·        Any set function (COUNT, MIN, MAX, SUM, AVG)
    ·        GROUP BY
    ·        HAVING
    ·        SELECT DISTINCT
    ·        ORDER BY
    Examples:
    SELECT /*@ SAP BYPASSING BUFFER */ * FROM MYTAB
        WHERE KEY1 = ? AND KEY2 = ?
    SELECT * FROM MYTAB WHERE KEY1 = ?
    SELECT * FROM MYTAB
        WHERE KEY1 = ? AND KEY2 = ? OR KEY1 = ?
    SELECT MAX(DATA) FROM MYTAB WHERE KEY1 = ? KEY2 = ?
    SELECT * FROM MYTAB
        WHERE KEY1 = ? AND KEY2 = ? AND DATA =
       (SELECT DATA FROM MYTAB WHERE KEY1 = ? AND KEY2 = ?)
    if helpful pls award points.
    sri

  • I am getting a msg that pllocked and connected to wifi. I can not hit the ok button and my apps are visible. Not able to use at all.

    I am getting a msg that my ipad hasnt been backed up in 2 wks. I have plugged in (at 100%) and locked and connected to wifi. I can not hit the ok button and my apps are showing in the back ground. Not able to use at all. How can I get my ipad working again.
    thanks,

    Even though the iPod shows as been connected, it might not have actually received a valid IP address via DHCP from your Wi-Fi access point or router.  Head to Settings -> Wi-Fi and tap the > next to the network you are connected. If 169.xxx.xxx.xxx is listed for an IP Address, then your iPod did not receive a valid IP address.  To correct this you can reboot your router by unplugging it from power for about 30 seconds.
    It wouldn't hurt to also reset your iPod.  To do this, press and hold both the Sleep/Wake and Home buttons together long enough for the Apple logo to appear.
    See here for more troubleshooting assistance.
    iOS: Troubleshooting Wi-Fi networks and connections
    B-rock

  • Why is Safari opening the app store when I do not hit the link?(On iPad)

    Why is Safari opening the app store when I do not hit the link?(On iPad)

    Well this was my first time using the support communities app on the web so when I tried to get the answer there were literally 1000's of post and I was not sure which one pertained to me and my iPhone issue. Sorry if I offended in some manner, didn't mean to.

  • How to Find the Queries that are not hitting the indexes..

    Guys,
    Hope you all doin well.
    Would you guys please tell me any view , or any resource that can help me to identify those SQL Statements that are not hitting the indexes properly, Causing the system to slow down at peak times.
    Thanks
    Rgrds
    Y.Vo.

    any resource that can help me to identify those SQL Statements that are not hitting the indexes properlyInteresting ! Is there any specific reason of looking only for those queries, which are not making proper use of indexes.
    hare krishna
    Alok

  • Query on BCS virtual cube is not using the aggregates on BCS basic cube

    Hi all,
    I have BCS Virtual cube which is linked to BCS Basic cube. I built aggregates on BCS Basic cube.
    I created simple query on BCS basic cube and ran in debug mode of rsrt, it showed the aggregates on bcs basic cube. But when I created the same query on BCS vitual cube and ran it rsrt debug mode the query did not show any aggregates, that was strange.
    So My questions is whether query built on virtual bcs can utilize the aggregates built BCS basic cube, if possible please let me knows the tweaks.
    Thanks,
    Raj.

    1. Goto se37. Enter RSDRI_INFOPROV_READ and choose Display.
    2. In line 82 (in a BW 3.5) there is a line that says:
      CLEAR: e_t_data, e_end_of_data, e_aggregate, e_split_occurred.
    Put the cursor in there and press the 'stop shield' or use CtrlShiftF12.
    3. In the same mode open transaction RSRT and choose your query. Execute it. If you stop at the breakpoint, enter I_TH_SFC into one of the fields in the lower left area and press Enter. You should see a table with the characteristics you need in the system.
    As I said I'm not quite sure if it works. I have access to a BCS system on monday. I'll try then to find out more.
    Best regards
    Dirk

  • Not hitting an aggregate

    Hi All
    I have a strange scenario, I have a Bex Qry that technically suppose to hit an aggregate but it doesn't, does anybody have any suggestions.
    Thanks
    Bhavesh

    Hi Bhavesh,
    go to TC RSRT and enter your query. Then click 'execute and debug' and select 'choose aggregate'. In aggregate selection you will find information whether an aggregate is suitable for the query and the reason if it is not suitable.
    Best regards,
    Björn

  • Report query not returning the field value from external table

    hi
    I have an issue regarding reports. I have a query having 4 fields from external table and remaining from db tables. the report query returns all the fields from the db tables and only 2 fields from external table. but the same query if I tried in plsql developer it returns all the fields values.
    Can anyone please help me in this issue.
    Thanks and Regards
    kk

    Duplicate post?
    value not displaying in report whereas it returns in plsql developer
    value not displaying in report whereas it returns in plsql developer
    Please log a SR if you do not get any reply to your thread instead of creating new one.
    Thanks,
    Hussein

  • Account are not hitting the sepearte G/ l accounts

    Hi
    we are working with account assigned Purchase order ( P) projects where the system is picking the G/L account thru valution class from the OBYC and we are giving the WBS element.In my PO we have different conditions for base price , frieght and others.
    my goods reciept is nonvaluated and when i doing the invoice my conditons are appearing as seperate line items but the account is same as what is in PO.
    My requirement is that i wanna to post Material cost and fright to sepearte G/L acount .
    To me it seems that it should to that G/L account.
    I wanna to post material cost and freight cost to sepearte ..........
    Please suggest me how i should move so that my requirement can be meet.
    Thanks and regards
    Dhar

    Thanks for your reply
    See i tried to make PO for account assignment category K where i have to keen in the Cost center and if i do invoice for this PO then it is hitting the G/L account i want .But this is not the case when i make PO for account assignment P i.e is project where the system auto matically pickes the G/L account from the( valution class-Material & obyc setting).i have to assign the WBS element .When i am giving the G/L account here at the time of PO then how it is possible to Post the material cost and Frieght seperately to different G/l account.
    regards

Maybe you are looking for

  • On home sharing, how can i share all of my music? It only shares the purchased songs from itunes.

    I just  got a new laptop, and need to share my itunes account from my previous laptop to this one. Both laptops have updated Itunes accounts and are authorised and home shared. However, on the new one it has only transferred across my Itunes store bo

  • Firewire Hard Drive corrupts OS Lion and will not boot

    I have re-installed OS lion on my macbook pro 5-6 times now. There seems to be some conflict with my firewire hard drive enclosure which causing it not to boot shortly after using it when restarting. I am trying to get all my data off this hard drive

  • Issue after solman Upgrade

    Dears, We were using solman 7.0, connected to ECC 5.0 server. We configured all activities EWA,System Monitoring and all were working fine. Now we upgraded solman to 7.01(EHP1) and R/3 to ECC 6.04 . 1 - My first concern is after upgradation it should

  • No internet for 6months......

    Hi everyone, I am looking for help. I moved into a property back in November 2012 but to date still have not managed to get the internet connected with BT - I have placed countless orders but they never activate on the date and BT does not ever seem

  • Probleme bei Excel-Import mit SBO 2007

    Hallo zusammen! Wir haben bei einem gewöhnlichen Stammdatenimport zu den Geschäftspartnern mit Excel folgendes Problem: die Fehlermeldung lautet: interner Fehler --> Zahlwege für Zahlungsassistenten (OPYM) (-2007) aufgetreten. Wenn wir die Zahlwege f