Summary Tables Questions...

Hi to everybody,
I use Oracle Discoverer 10.1.2 and created some summary tables - using both methods : being specified by me and Discover automatically defined them....
I have two questions:
1) Is there any way to define the summary table(materialized view in the 'language' of Oracle Database ) in the application db user and not in the Discoverer Repository db owner.....????
NOTE: I have created the Discoverer Repository in a user , let's say EUL, whereas all referenced tables in the summary tables are owned in another user , say HIS...
Simply , I ask if a summary table can be created in the HIS dataschema and not in EUL.....
2)Is there any way to give the summary table a more meaningful name in the process of creating it..... I mean a name different from this one: EUL5_MV102497
Thanks , a lot
Simon

Hi Simon
As mentioned by Sabine, if you create the materialized views in the database you have full control. To answer your question I always build my summary tables in the schema of the user who owns the EUL.
However, I would have thought that you can do what you ask, but I'm not so sure. In theory, all you need to do in order to make this work is to make sure the EUL owner and the owner of the schema into where you want to insert the summary table has the following privileges:
These are the grants the EUL needs:
ALTER ANY MATERIALIZED VIEW
CREATE ANY MATERIALIZED VIEW
DROP ANY MATERIALIZED VIEW
ANALYZE ANY
These are the privileges needed by the user in whose schema you intend to create the materialized view:
CONNECT
RESOURCE
GLOBAL QUERY REWRITE
With these privileges granted you should be able to create summary tables inside Discoverer and have full control over the schema in which the materialized view is created and the name of the materialized view. I say should be able to because it doesn't seem to work. Please read on.
To control the MV schema and name, I should be able to use this workflow:
1. When you are in the manual summary folder process, you will come to a screen that allows you to maintain Combinations.
2. From the Combinations screen, highlight a combination and click the Properties button.
3. The Database Storage Properties dialog box will open.
4. In the Database Storage Properties dialog box, use the drop-down alongside the Table Owner and switch this to be a user who has the privileges mentioned earlier.
Note: the drop-down is not visible until you click in the Table Owner box
5. Click in Table Name (this is the name of the materialized view) and change it to a name that complies with your naming standards.
6.Change any other properties you wish, then click OK.
7. Click Finish to complete the summary folder.
At this point, even though I had granted the Global Query Rewrite to the other user, Discoverer Admin stopped and reported that the user needed this privilege. I was therefore unable to complete the summary folder process. Interestingly enough, the materialized view was actually created but I, as the owner of the EUL, was unable to use it. This is because in order for the EUL owner to be able to use an existing MV / Table that is owned by someone else, the other user needs to have run a grant like this:
GRANT SELECT ON MY_MV TO EUL_OWNER WITH GRANT OPTION
But how can this be done because the table is being created by me? The problem therefore is that only the owner of the MV can grant this but when you are inside Discoverer Admin you are not logged in as that user. I therefore am suspicious that, despite Discoverer having a screen to do so, it is not possible to create a summary table in someone else's account.
Has anyone been able to make this work?
In summary though, if the intention is to produce a materialized view that everyone can use then the above doesn't appear to work. However, it looks like you are able to create a materialized view within a user's schema that is only available to that user. This opens up the interesting possibility that you could create different materialized views for different users, thus giving users individual copies and potentially different copies of the data.
It would be interesting if someone were to test this out and report back. My only concern would be that once created, because it is the EUL owner who has the ALTER and DROP privileges, how would the schema owner update it? As I say, this is an interesting conumdrum.
Personally, as stated at the beginning, I always create my summary folders (aka materialized views) in the EUL owner's schema.
I hope this helps
Best wishes
Michael Armstrong-Smith
URL: http://learndiscoverer.com
Blog: http://learndiscoverer.blogspot.com

Similar Messages

  • How do I display an invalid zip code in a summary table

    On my airshow website we have a feedback form, one of the questions is the zipcode where the visitor came from. This works fine. The summary results tab includes a lookup for the zipcode where I show the city associated with the zipcode and then how many responses came from that zipcode. This can be seen here http://www.hollisterairshow.com/feedback-results.php?tab=7
    In testing, I found that an invalid zipcode is not displayed in the summary table, although it is counted in the total number of responses. I'd like to display the invalid zipcode and leave the City blank, or maybe put "Invalid zip code". The current code is displayed below, it's beyond my ability to figure out how I should change it to display invalid zipcodes and I'd really appreciate some direction on this.
    I know I could validate the zipcode on entry but it's quite possible the zipcode table I have is out of date and i can't find a free downloadable list, so I'm thinking anything invalid could cause me to update my table.which is fine.
    Thanks for any assistance.
    Tony
    <div class="TabbedPanelsContent">
    <?php
    // Make a MySQL Connection
    $query = "SELECT feedback.zip, COUNT(feedback.zip), zipcodes.citystate FROM feedback, zipcodes WHERE feedback.zip = zipcodes.zipcode GROUP BY feedback.zip";
    $result = mysql_query($query) or die(mysql_error());
    // Print out result
    while($row = mysql_fetch_array($result))
    echo $row['zip']. " ". $row['COUNT(feedback.zip)']. " ". $row['citystate'];
    echo "<br />";
    ?>
    </div>

    Use an outer join on the two tables so that results are returned for all feedback rows, instead of just matching rows. The column zipcodes.citystate will be NULL. In your recordset output, you can test for null in the column and populate it with "Invalid Zipcode" if you want.
    You'll need to move the join to the FROM clause as I believe that MySQL does not support outer joins in the WHERE clause like most other DBMS's.

  • Need of aggregated dimension to use summary tables

    Hi,
    I have two fact tables workdetail and worksummary. Worksummary is aggregated to month in time dim and workdetail is at timedim day level.
    Now i configured my business model with timedim and work detail table.( created a hirerchy for time dim (year-month-day)). Now i want to use worksummary tables, how do i include this in my business model. I know creating new Logical Source and mentioning levels.
    My major doubt is do i need to create another physical table for Time-Month? or can i use same time dim physcial table to use with summary fact tables?

    the answer to your question is YES, To use aggregated summary tables, we need to have aggregated dimensions. Other wise data will be redundant and will return incosistent values.
    In your case if you use the same timedim-day level table with summary tables, data will be multiplied by 30 days beacuse of time-dim monthkey will be repeated in multiple rows.
    simplest solution is create view from Time_Dim table, select distinct year,month,monthkey. this view returns only unique year-months. so each month will have only one row.
    -> import view in your physical layer and create a join with summary fact table.
    -> Include the month table(which is view) in logical time_dim as another source,mention the levels.
    -> and include your fact table in logical fact table and mention the levels to month of time dim
    this will work. Let me know if i am not clear. Also we can wait for other experts comments.
    - Madan

  • Aggregation Table Question

    Guys,
    Firstly let me say hello to the community. I am relatively new to OBIEE and can I apologise up front if some of my questions seem a little too straight forward.
    I am trying to setup some aggregation on my tables. I have 4 tables: Actual Summary, Budget Summary, Forecast Summary and Actual Outlet (Outlet is a catalogue or a brochure). As you might have guessed I need to set an aggreation level for actual (We have a version dimension) so that any measure will get data from the summary table when outlet is not included in the report. That's easy enough, the complication is that we don't budget or forecast at outlet level and there will never be a budget outlet or forecast outlet table. Any idea how I would go about setting this up in the logical table fragmentation window?
    Cheers,
    Jim.

    answered by myself.

  • How to link a summary table

    Post Author: strife
    CA Forum: General
    I am using Crystal 10 and trying to develop a donor percent participation report, comparing donors to total number of class members (donors per class/good addresses per class) * 100.  The number of class members comes from a summary table of good address counts that remains static throughout the year.
    1)      I can create a view for the good address counts but Iu2019m unclear as to the way to link this view to the table of donors.  I canu2019t link ID to ID since itu2019s a summary and doesnu2019t have a row per ID (I need address counts for ALL IDs not just the ones who are donors). 
    2)      If I put the view in a subreport, I get only one result not a count for each group which is class year. 
    3)      If I put the subreport in the class year group to get a result returned for each class but the subreport creates unwanted blank rows in the export to Excel.
    I am looking at the last option but wonder if there is some other way that Iu2019m overlooking.  Any help is appreciated.

    Here is the video!  and it works for 2010.  It shows you how to put the pivot wizard that you need on the ribbon.
    https://www.youtube.com/watch?v=pUXJLzqlEPk
    Excel Pivot Tables: How to flatten a cross tab table
    Note:  the above instructions for 2007 and 2003 work as well BUT you must let go of the "alt" & "d" when you press "P"!

  • Table question/problem

    This is an html table question, but since I am working with
    CF on this, I thought I would post here for help.
    I query and cfoutput the data in a table. The table has ten
    columns. The first five are alpha numeric and the last five are
    numeric. The output displays fine.
    What the want to do now is to put a black border around the
    number columns, the last five.
    I tried to make each column its own table, but that just puts
    a box around each value, the columns are not connected.
    How can I do this ?
    Thanks for helping.

    Put a thin black left border in the sixth column and a
    similar right border in the tenth (last) column.
    It is neater and advisable to use CSS.
    <style type="text/css">
    <!--
    .bdrLft {
    border-left-color:#000000;
    border-left-width:thin;
    -->
    </style>
    <td class="bdrLft">
    The inline formatting will look like:
    <td style="border-left-color:##000000;
    border-left-width:thin;">
    Do the same for the top border (last 5 column headers). The
    bottom border may be trickier. The idea is to apply bottom border
    at the last query count. One can do without the top and bottom
    borders, however.

  • Report Summary table

    Hi
    I am tasked with producing an automated version of a manual summary table that is built in Excel.
    The data is derived from a single reporting table.
    My problem is going about how to design such a table.  Please see the image attached to get an idea of what i'm after.
    It's like I'm after a double grouping of data - one for the rows and one for the columns, but I don't know how to implement one.
    Should I just insert a row for each summation into the table that first begins with the row title?  eg
    VALUES ROWTITLE, SummedInfo2012, SummedInfo2013 etc....
    Or is there another way about this?
    Thanks.

    Well, keep guessing
    select type, value
    from (select
            sum(cast(fault as int)) as
    fault ,
            sum(cast(nonfault as int)) as
    nonfault ,
            sum(cast(dispute as int)) as
    dispute 
          from t1) as agg
      unpivot(value for type in([fault ], [nonfault ],
    [dispute ])) as u;
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • CO-PA: Can we activate Movement Types in the summary table of CO-PA

    Hi SAP Financials experts,
    Are we able to activate Movement Types in the summary table of CO-PA when we extract into BW? At the moment, I understand that we are only pulling in YTD
    Thanks

    Hi
    I dont think Mvt Types can be activated in COPA summary table.. Have never heard of this
    Br, Ajay M

  • Summary Tables for Asset Master?

    I need to create an asset/insurance data report, using SAP Query, which shows the asset master record balances only (acquisition and posted depre'n) as at report selection date. 
    Are there any summary tables for fixed assets that are equivalent to GLT0, KNC1 and LFC1 for GL, Customer and Vendor? 
    Thanks in advance for any assistance.
    Best regards,

    I am not sure about ANEP or know how to use it.  It only has data records for the fiscal year when there is posting to acquisition values field u201CAmount postedu201D for the asset. No data records for other years with posted depreciation.

  • Tcode for setting FI-SL planning: Summary table name

    can any body suggest Tcode for  for setting FI-SL planning: Summary table name.

    Hi,
    Check Tcode : GB01.
    CHECK THESE ALSO,
    GLPLINST.
    GLPLINSTALL.
    THANKS,
    REWARD IF HELPFUL.

  • Summary Tables in Disco 3.1

    Using the Summary Wizard, I only have access to "Registering an external summary table". The other options are greyed out. How can I use the other options??

    Within the Discoverer User Edition:
    Tools -> Options -> Query Governor
    Then uncheck the record limit.
    Good Luck,
    Christopher

  • Summary Tables

    Hello
    We are using Oracle 10g rel2 and have a table called transactions. There are millions of rows in this table and we would like to build a summary table that will sum the PNL by day. At some point we will purge data which is older than 60 days but need to be the summary totals by day. What is the best way to accomplish this. Materized views rely on the master table and that table will have data purged out of it, so I do not think it will work.
    Transaction table has column transaction_date , cost,sale
    We want a summary table of TRANSACTION_DATE,SUM(SALE - COST) AS PNL
    GROUP BY TRUNC(TRANSACTION_DATE)

    Danny G wrote:
    Hello
    We are using Oracle 10g rel2 and have a table called transactions. There are millions of rows in this table and we would like to build a summary table that will sum the PNL by day. At some point we will purge data which is older than 60 days but need to be the summary totals by day. What is the best way to accomplish this. Materized views rely on the master table and that table will have data purged out of it, so I do not think it will work.Not a problem with materialized views.
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14223/refresh.htm#sthref888
    You do need to be strict about here about process control though:
    * suspend modifications to transaction table.
    * refresh the MV.
    * purge the old transaction data.
    * CONSIDER FRESH on the MV.
    * restart modifications to transaction table.

  • Linkig FI-SL Summary Table in Transaction FSI1

    Hi,
      I'm trying to create Balance Sheet Report on FI-SL. I do not see any option on how to link summary table to the report. We are in ECC 6.0. Any help is appreciated.
    Thanks,
    Trinadha

    Hello Trinadha,
    The linkage will be created / established when you create your library, sets and variables as well as when you specify  the FI-SL ledger in the columns of the report.
    For instance when you create a library, you need to enter the FI-SL summary table.  The linkage is then established when you enter the report and the report group in the said library.
    Refer back for any other clarifications.
    Elias

  • Discoverer and Standby Database Summary Tables

    Are there any known problems with Discoverer attempting to write to read-only Standby database summary tables? Has anyone been successful running Discoverer against a Standby database?
    Regards,
    Chad

    I have not used synonyms in our system, but they can be accessed by creating custom folders in admin. In general, Custom folders are created to build complex query using advanced SQL which cannot be handled by discoverer end user editions. Custom folders can use tables, views, or synonyms.

  • How are the summary tables refreshed

    hi all,
    Can you please tell me how are the summary tables refreshed. Does the Oracle databse do it or the discoverer server performs the tasks

    Hi,
    Discoverer summary tables are stored as materialized views in the database. The database refreshes the MV depending on how the MV refresh has been set up.
    Rod West

Maybe you are looking for

  • Currency Translation with a Calculate Key Figure

    Hi, Does anyone have experience with applying currency translation in BEX/Query Designer on a Calculated Key Figure?  I have a need for a calculated key figure to be converted to a target currency of USD (which is already defined via RRC1).  I also n

  • HP Envy 17t-100 quad

    I just spent 60 minutes of my life online with tech support trying to get bluetooth to work on my brand spanking new laptop which by the way I upgraded with a faster processor, better display, larger hard drive and more ram.  The first tech told me a

  • Excluding storage location from MRP run in Long Term Planning

    Hi,friends,      In my scenario , i want to exclude storage location from MRP run in long term planning.When i set storage location MRP indicator "2" in SPRO and SLoc MRP indicator "1" MRP4 in material master, i can exclude the storage location after

  • VPN-1 SECURE CLIENT SUPPORT IN MAC OS 10.6 SNOW LEOPARD

    We use the checkpoint client VPN-1 at work - it works fine with Leopard. However it doesnt work with Snow leopard. Does anyone know what the story is here? has anyone been able to connect to the checkpoint firewall with a vpn-1 substitute? if so how?

  • How to archive the completed BPEL instances?

    Hi, all A customer using the SOA Suite 10g, which has this question: With the business more and more, the completed BPEL instances more and more. In the BPEL Console, more and more instances are showed. How long the lifecycle of these completed insta