How to design a snapshot Table / Report in OBIEE

Hello All,
I am currently developing a report in which I need to compare the Cost at diff times.
Year view should compare current cost with year ago cost for the same item, similarly Month view shoud compare current cost with month ago cost.
Any help to design this report is highly appreciated.
Thanks.

Hi,
I have created two measures for Yago cost and Mago cost.
But When I run a request using any of these measures I am getting the below error.
Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 22047]
The Dimension used in AGO function must be referenced in the query. (HY000)
I tried to run the request including the dimensions used in AGO.
As suggested in the Metalink, I have added "<ReportAggregateEnabled>true</ReportAggregateEnabled>" to instance config and refreshed PS.
Still I am getting the same error. Can you please guide to resolve this issue.
Srikanth,
I haven't tried your solution yet.
Thanks.

Similar Messages

  • How to design static information table

    Hi gurus,
    I was trying to find a solution by googling etc but not sucessful.
    I am developing a mail letter report which will require a pretty word style table holding static informaiton. I can't find any to use HTML code. my current implementation is coping and pasting the MS Word table into OLE object. It looks ok in design view. But if I print the report, the result is not as good as with MS Word.
    Is there any way I can design static content table( this is not database table)?
    My CR version is 11.
    My Report: 1st page: customer details. some information such as names will be fetched from DB.
                     2nd page: static information (MS word style pretty table) for customers.
                     Both pages will be printed in one piece of paper (duplex).
    Thanks
    Oli
    Edited by: CRGuru on Jun 17, 2009 3:41 AM
    Edited by: CRGuru on Jun 17, 2009 3:43 AM
    Edited by: CRGuru on Jun 17, 2009 3:43 AM

    Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with you directly

  • [Schema Design]: How to reduce inventory snapshot table size

    We are planning to store inventory level's periodic snapshot at the end of each day. We have close to 50k different products. 
    But on a given day only 5-6k products inventory changes. 
    As I understand if I start inserting just the products which have changed inventory, analysis around semi-additive dimension (Quantity) doesn't work properly. 
    For better understanding, lets take say the fact table looks like:
    product_id     time_id     quantity
    1                         1             100
    2                         1             130
    3                         1             100
    1                         30           200 
    So basically, it says product 1,2,3 from time_id 1 to time_id 29 doesn't have any update in quantity. But product_id 1's inventory changes to 200 on time_id 30.
    This approach reduces fact table size by approx 90 rows.
    My question is, is it a good idea? Would this semi-additive dimension still give the same result (I doubt though)?
    If not, then what other approaches I can take?
    Thanks in advance.

    Another option is to capture just the net changes (sometimes referred to as a journalized fact table). Then you can create a calculated measure that sums all the changes from the beginning of time up to the current time-slice.
    This may seem like an inefficient solution, but there are ways to reduce the problem by limiting the history for which inventory snapshots are available. For example, if the business only needs snapshots for the past 90 days, then you can grab a snapshot
    of inventory for all products on day 0, and then capture the net changes for each product for days 1-90. Then you can calculate the snapshot in time by adding the baseline snapshot to the sum of all net changes.
    BI Developer and lover of data (Blog |
    Twitter)

  • How to design a fact table to keep track of active dimensions?

    I would like to design a classic OLAP facts table using a star scheme. The SQL model of the facts table should be independent of any concrete RDBMS technology and portable between different systems.
    The problem is this: users should be able to select subsets of the facts based on conjunctive queries on the dimension values defined for the facts. However, the program that provides the interface for doing this to the user should only present those dimensions where anything is still selectable at all. For example, if a user selected year 2001 and for dimension contract code there is only a single value for all records in the fact table for that year, this dimension should not be shown to the user any more. This should be solved in a generic way. So for n dimensions in total, if the current set of facts is based on constraints from j dimensions, I want to know for which of the remaining n-j dimensions there is still something to select from and only show those.
    The obvious way is to make a count(*) query on the distinct foreign keys of each of the dimensions on the fact table, using the same where clause. That means that one would need (n-j) such queries on the whole facts table and that sounds like an awful waste of resources given that the original query for selecting the facts could have done it internally "on the fly".
    How can this be achieved in the most performant way? Is there a "classical" way of how to approach this problem? Is there tool support for doing this efficiently?
    Any help or pointers to where one could find out more about this would be greatly apreciated - thank you!

    >
    Did you get the counts for each value of each dimension by doing a separate query with the current "WHERE" clause on each dimension?
    >
    My method doesn't apply to your use case. I wrote a Java class to create my own bit-mapped indexes on CSV files. So each attribute value was a one million bit binary raw.
    I don't know, and don't want to know, what your particular requirements are. But I can show you a basic process that will work for large numbers of rows. Get a simple process working and then explore to see if it will meet your particular needs. Not going to answer questions here about anything but about my example code
    1. Assume a single fact table with one primary key column and multiple single-value attribute columns.
    2. The table is not subject to DML operations AT ALL - truncate and load if you want apply changes. Meaning it will be useful for research purposes on archived data.
    3. The purpose of the table is to select the fact table ROWIDs for records of interest. So the only value selected is a result set of ROWIDs that can then be used to get any of the normal FACt table data and other linked data as needed.
    Create the table - insert some records, create a bitmap index on each dimension column and collect the statistics
    ALTER TABLE SCOTT.STAR_FACT
    DROP PRIMARY KEY CASCADE;
    DROP TABLE SCOTT.STAR_FACT CASCADE CONSTRAINTS;
    create table star_fact (
        fact_key varchar2(30) DEFAULT 'N/A' not null,
        age      varchar2(30) DEFAULT 'N/A' not null,
        beer    varchar2(30) DEFAULT 'N/A' not null,
        marital_status varchar2(30) DEFAULT 'N/A' not null,
        softdrink varchar2(30) DEFAULT 'N/A' not null,
        state    varchar2(30) DEFAULT 'N/A' not null,
        summer_sport varchar2(30) DEFAULT 'N/A' not null,
        constraint star_fact_pk PRIMARY KEY (fact_key)
    INSERT INTO STAR_FACT (FACT_KEY) SELECT ROWNUM FROM ALL_OBJECTS;
    create bitmap index age_bitmap on star_fact (age);
    create bitmap index beer_bitmap on star_fact (beer);
    create bitmap index marital_status_bitmap on star_fact (marital_status);
    create bitmap index softdrink_bitmap on star_fact (softdrink);
    create bitmap index state_bitmap on star_fact (state);
    create bitmap index summer_sport_bitmap on star_fact (summer_sport);
    exec DBMS_STATS.GATHER_TABLE_STATS('SCOTT', 'STAR_FACT', NULL, CASCADE => TRUE);Now if you run the 'complex' query for the example from my first reply you will get
    SQL> set serveroutput on
    SQL> set autotrace on explain
    SQL> select rowid from star_fact where
      2   (state = 'CA') or (state = 'CO')
      3  and (age = 'young') and (marital_status = 'divorced')
      4  and (((summer_sport = 'baseball') and (softdrink = 'pepsi'))
      5  or ((summer_sport = 'golf') and (beer = 'coors')));
    no rows selected
    Execution Plan
    Plan hash value: 1934160231
    | Id  | Operation                      | Name                  | Rows  | Bytes |
    |   0 | SELECT STATEMENT               |                       |     1 |    30 |
    |   1 |  BITMAP CONVERSION TO ROWIDS   |                       |     1 |    30 |
    |   2 |   BITMAP OR                    |                       |       |       |
    |*  3 |    BITMAP INDEX SINGLE VALUE   | STATE_BITMAP          |       |       |
    |   4 |    BITMAP AND                  |                       |       |       |
    |*  5 |     BITMAP INDEX SINGLE VALUE  | AGE_BITMAP            |       |       |
    |*  6 |     BITMAP INDEX SINGLE VALUE  | MARITAL_STATUS_BITMAP |       |       |
    |*  7 |     BITMAP INDEX SINGLE VALUE  | STATE_BITMAP          |       |       |
    |   8 |     BITMAP OR                  |                       |       |       |
    |   9 |      BITMAP AND                |                       |       |       |
    |* 10 |       BITMAP INDEX SINGLE VALUE| SOFTDRINK_BITMAP      |       |       |
    |* 11 |       BITMAP INDEX SINGLE VALUE| SUMMER_SPORT_BITMAP   |       |       |
    |  12 |      BITMAP AND                |                       |       |       |
    |* 13 |       BITMAP INDEX SINGLE VALUE| BEER_BITMAP           |       |       |
    |* 14 |       BITMAP INDEX SINGLE VALUE| SUMMER_SPORT_BITMAP   |       |       |
    Predicate Information (identified by operation id):
       3 - access("STATE"='CA')
       5 - access("AGE"='young')
       6 - access("MARITAL_STATUS"='divorced')
       7 - access("STATE"='CO')
      10 - access("SOFTDRINK"='pepsi')
      11 - access("SUMMER_SPORT"='baseball')
      13 - access("BEER"='coors')
      14 - access("SUMMER_SPORT"='golf')
    SQL>As you can see Oracle is combining bitmap indexes on columns in a single table to implement the same AND/OR complex conditions I showed earlier. It doesn't need any other table to do this.
    In 11g you can create virtual columns and then index them.
    so if you find that the condition 'young' and 'divorced' is used frequently you could create a VIRTUAL 'young_divorced' column and create an index.
    alter table star_fact add (young_divorced AS (case
       when (age = 'young' and marital_status = 'divorced') then 'TRUE' else 'N/A' end) VIRTUAL);
    create bitmap index young_divorced_ndx on star_fact (young_divorced);
    exec DBMS_STATS.GATHER_TABLE_STATS('SCOTT', 'STAR_FACT', NULL, CASCADE => TRUE);Now you can query using the name of the virtual column
    SQL> select rowid from star_fact where young_divorced = 'TRUE'
      2  and  (state = 'CA') or (state = 'CO')
      3  /
    no rows selected
    Execution Plan
    Plan hash value: 2656088680
    | Id  | Operation                    | Name               | Rows  | Bytes | Cost
    |   0 | SELECT STATEMENT             |                    |     1 |    28 |
    |   1 |  BITMAP CONVERSION TO ROWIDS |                    |       |       |
    |   2 |   BITMAP OR                  |                    |       |       |
    |*  3 |    BITMAP INDEX SINGLE VALUE | STATE_BITMAP       |       |       |
    |   4 |    BITMAP AND                |                    |       |       |
    |*  5 |     BITMAP INDEX SINGLE VALUE| STATE_BITMAP       |       |       |
    |*  6 |     BITMAP INDEX SINGLE VALUE| YOUNG_DIVORCED_NDX |       |       |
    Predicate Information (identified by operation id):
       3 - access("STATE"='CO')
       5 - access("STATE"='CA')
       6 - access("YOUNG_DIVORCED"='TRUE')
    SQL>
    ----------------------------------------------------------------Notice that at line #6 the new index was used. The VIRTUAL column itselfl doesn't create data for the fact table; the definition only exists in the data dictionary.
    The YOUNG_DIVORCE_NDX is real and does consume space. The tradeoff is additional space for the index but you make the query easier because you don't have to recreate the complex condition every time.
    Oracle can work with the complex condition and combine the indexes so this really only helps the query writer. Your UI should be able to hide the query construction from the user so I would avoid the use of VIRTUAL columns and an additional index until you demonstrate you really need it.
    If you provide users with their own RESULT table to store custom query results you could just store the query name and the set of primary keys from the result set. I used ROWIDs in the example but don't use rowid for a real application - use a primary key value that won't change.
    So your UI would let users construct complext dimension queries for 'young_sportsters' and get a result set of primary keys for that. They could save the label 'young_sportsters' and the primary keys in their own work table. Then you can let them run queries that use the primary keys to query data from your active data warehouse to get any other data it contains.
    >
    Did you get the counts for each value of each dimension by doing a separate query with the current "WHERE" clause on each dimension?
    >
    For an Oracle implementation you need to do a count select for each dimension. I haven't tried it but you might be able to do multiple dimensions in a singe query. One query would look like this>
    -- get the dimension counts
    SQL> select beer, count(*) from star_fact group by beer;
    BEER                             COUNT(*)
    N/A                                 56977
    Execution Plan
    Plan hash value: 1692670403
    | Id  | Operation                | Name        | Rows  | Bytes | Cost (%CPU)| Ti
    |   0 | SELECT STATEMENT         |             |     1 |    12 |     3   (0)| 00
    |   1 |  SORT GROUP BY NOSORT    |             |     1 |    12 |     3   (0)| 00
    |   2 |   BITMAP CONVERSION COUNT|             | 56977 |   667K|     3   (0)| 00
    |   3 |    BITMAP INDEX FULL SCAN| BEER_BITMAP |       |       |            |
    SQL>Notice that Oracle uses only the index to gather the data.

  • How to design universe with tables from two databases using a db link?

    I am building a universe (v3.1) that has tables from two different oracle db instances.  My dba created synonyms for me and there is a database link in place.  I don't know how to get this working in Designer.  I can see the views under my ID when I browse to insert a table, but there is no structure.  I think I have to create a new strategy.  I attempted to do that, but the directions aren't very clear to me, and it isn't working.  Any help or advice would be greatly appreciated.  Thanks!!

    i've been working with DB links much before, but this was since long time ago before i join the Business Intelligence field
    from my understanding that you Have link from DB1 to DB2
    and from your user in DB1 you can access tables and view from DB2
    if you are using your user to create a universe im not sure if you can use tables from DB2 or not
    and you dont see the tables of the link in the Universe
    but you can try to create a drived table selecting from any tables from DB2
    for example
    select id,name from user.table2@mylink
    check this way and give me your feedback
    good luck

  • How to design a flexible table display

     I may like to make UI to display value as in the attached figure1.
    5 factors can fix and point  to one test point, such as region, station, panel, phase, level, from big to small scale one by one.
    Normally, user only care about station. But the problem is some time the other columns, such as region, panel phase and level, also need to be displayed.
    Is it somehow possible to group the same scale using the tree display as figure 2. Or need to display all of them as figure 3.(Sometimes only 1 of the 5 factor needs to take care and displayed)
    If can use the tree diagram, how to re-fille the values whe tree zoom in & out.
    Another thing is every test point has many data in different timestamp. How to display them as in figure 4. Using another tree to zoom in & out?
    Another need to take in mind is finally, some cell need to change color and some grid need cut paste into office.
    Thanks so much for your help.
    Attachments:
    demo.JPG ‏77 KB

    Hi VENKATESH.J,
    Thanks for your inquiry, now I am just design for it.
    And found there are more than I can to put into a table, since there are 3 kinds of info, not only 2 kinds just for columns and rows. They are stations and related names, values and timestamps.
    And it is also difficult to make the table in a flexible display type, such as expand or not expand the timestamp series as user like.

  • How to re-size the table in a OBIEE Report

    Hi All,
    I am creating a report with table and graph placing side-by-side. My graph size is big and table displaying only top 10 values. How can i increase the size of table to make it almost similar in size to graph. I tried various options like editing table and setting custom width and height, but did not work ??

    Hi,
    you can increase the table size by using the table properties.
    table properties-->Additional formatting options--->give the values of height and width like 800,600 etc.
    mark if helpful/correct...
    thanks,
    prasanna

  • How to schedule and deliver a report in OBIEE 11g as an link or url to the report ?

    I am using OBIEE 11.1.1.6. We have a requirement to schedule and deliver reports as a URL and not as an attachment ( as the file sizes are quite huge ). Have any one implemented such a scenario ? If so kindly share was it an out-of-tne-box solution or used web services ? Thanks in advance

    Hello user9210174,
    I have tried in this way.Let me know if it meets your requirement.
    Created a dummy report with all the reports embedding as a Link and this report i have inserted into a dashboard then created an agent to schedule this dashboard.
    Thanks,
    Sasi Nagireddy..

  • How to design HTML Table in ADF

    I am new to ADF Tech,
    I would like to know, how to design the HTML Table Rows and Columns in ADF
    Ex:
    <TABLE width="100%" border="1">
    <TR>
         <TD>GUID</TD>
         <TD>123</TD>
         <TD>Name</TD>
         <TD>Mark Antony</TD>
         <TD>Version</TD>
         <TD>1.0</TD>
    </TR>
    <TR>
    <TD>Created</TD>
         <TD>Oracle</TD>
         <TD>Modified</TD>
         <TD>Oracle User</TD>
         <TD>Placements</TD>
         <TD>20</TD>
    </TR>
    </TABLE>
    Thanks in Advance

    Balaji,
    With JSF in general (and ADF Faces too), you should not think in terms of HTML output, but in terms of JSF components. ADF has an af:table component that renders things in rows-and-columns, but emits HTML that is much more complex than just a simple HTML table.
    John

  • How to build a Analysis report in OBIEE 11g

    Hi All,
    I have a query regarding 'How to' to build an analysis report in OBIEE 11g.
    The data model is a financial data model, where information such as Actual, Plan, Forecast, What - if etc for current AND prior year need to be displayed in a dashboard.
    I created two analysis reports one for current year Rep1 and second for prior year Rep2 each with filter criteria as current year and prior year respectively based on years column. and then in the dashboard I created prompt based on scenario column (radio button) for Actual, plan, Forecast, and wht if.
    I am able to show the current vs prior year data in the same dashboard for Actual or Plan or forecast or what if (depending on data availability in the database).
    I want to achieve the same information in a single analysis report instead of two separate analysis reports. I do not want to create separate physical report for current and prior year data.
    I need one analysis report which I can use in dashboard and depending on selection for scenario (actual , plan, forecast or wht if) I want to show the current AND prior year data the way I achieved in with two seperate reports embedded in their respective sections as explained above.
    Does any one have idea how to achive this by building single analysis report?
    If you need any more clarificaiton or have any queries, please let me know.
    Thanks and Regards
    Santosh

    As per I understand your requirement,
    In your Dashboard create a Presentation variable which receives the value of year you select.
    Now in your analysis, select the year column along with all the measures you want (Actual, plan, Forecast, and what-if, etc).
    Create a filter on Year column and convert it into SQL. Put the condition as:
    "Year" BETWEEN @{Presentaion_Variable} - 1 AND @{Presentation_Variable}
    You will get the result for selected year and the previous year.
    Hope it helps..
    Regards,
    A.K.

  • How to Design Multi Page Report in SSRS 2008

    Hi All,
    I have managed to create a multi page report. When I am preview mode i can see that the report has 2 pages.
    But when I am in design view I cannot view the second page. How can I view the second page. Reason being I am trying to create a template where the table for certain data needs to be at the top of the page and some data at the middle and so on.
    Thanks in advance.
    Aash.
    Aash

    Hi Aash2,
    According to your description, the behavior of cannot view the second page in design view is expected, in another way, there is only one page in design view.
    Report Designer supports two views: Design to define the report data and report layout, and
    Preview to display a rendered view of the report. If you would like to show a table on the first page, and show the other table on the second page, you can add a page break on the first table like followings:
    1. Click the gray handle in the first table, select “Tablix Properties”
    2. Click “Add a page break after” check box under Page break options in General Tab
    After do above, you can see the first table in the first page, and the other table in the second page.
    For more details about report designer, please see the following article,
    Working with Report Designer in Business Intelligence Development Studio:
    http://msdn.microsoft.com/en-us/library/cc281300(v=sql.110).aspx
    If you have any question, please feel free to ask.
    Thanks,
    Eileen

  • How to create a clickable Table of contents using Crystal Reports 8.5

    How to create a clickable Table of contents using Crystal Reports 8.5. I was able to create the table of contents using subreport and temporary table. but not able to link to the pages.
    how to make it clickable ?
    -Vivek

    Hi Vivek,
    To you may create on demand sub report.
    In main report only the link will be shown when you click on the link the sub report will be opened in a new tab.
    It can be placed in a Group header and to show the data for that particular group only.
    Click on the Help menu in the crystal Reports Designer and open the Crystal Reports Help
    Go to Index tab and type in subreport
    Select Creating On demand you will get lot of information on that.
    Please let us know if that is enough to solve your problem
    Regards,
    Aditya Joshi

  • Reporting Services - How to open a second table inside report, for each number of client (each apears in first table)

    Reporting Services - How to open a second table inside report, for each number of client (each apears in first table)?
    Exemple:
    Table1
    Cliente name:
    John
    Client number:
    12345
    Survay number of negative answers:
    3
    Table2
    Questions and answers that were negative:
    Question: How much time where you waiting
    Avaluation: 3 (from 1 to 10)
    Answer: They only called me 1 mouth later
    Can you please help me?

    Hi,
    Based on the description, I understand that you want to add subreport in the main report. When previewing the main report, the subreport can be shown in detail. Please see the screenshots on my test:
    In Reporting Services, we can create parameters and pass them from main report to subreport in order to control the data dynamically.
    References:
    Subreports (Report Builder and SSRS)
    Add a Subreport and Parameters (Report Builder and SSRS)
    If I have any misunderstanding, please feel free to contact me.
    Regards,
    Heidi Duan
    Heidi Duan
    TechNet Community Support

  • How to create an internal table in a Report from File of FTP Server.

    Hi All,
    I want to create an internal table in a Report program. But the problem is I have to download two latest files from FTP server.
    Now, based in those file I have to design internal tables in current program. The problem is the program from which these files are being generated has options to display some fields in the output. Hence, the columns of these files becomes dynamic due to which I am not able to design the internal table in my current program...Please Help.
    Regards & Thanks.
    Prashant.

    Hi,
    Or you can use the RTTS classes...
    Plenty of examples over here.
    one external link: http://help-abap.zevolving.com/2008/09/dynamic-internal-table-creation/
    Kr,
    Manu.

  • How to create a snapshot report on the specific destination?

    dear all
    How to create a snapshot report on the specific destination?
    thanks
    john

    user8779435 wrote:
    dear all
    How to create a snapshot report on the specific destination?
    thanks
    john
    Hi,
    when prompted just input the full path with filename for example
    Enter value for report_name: /tmp/awrreport.htmlHope this helps
    Cheers

Maybe you are looking for