Changing the table name while drill down at the dashboard query

I have a DAY fact table that has about 1B rows.
The purpose of this table is to store on hand quantity for each item per day.
On the presentation layer I have a dashboard that will display average on hand qty per year and then user can drill down to quarter/month/week and then by day level to see the actual value at evey level.
Its hard to run aggregation on fly as all my 3 TEMP tablespace 32gb each filled and then I get error can not extent TEMP file.
So I thought I will do the aggregation at the database level and store the aggregated data in another table. So at first dashborad will read this new aggregated table to display qty at yearly. As soon as user drill down to quarter the dashbord should query the actual DAY fact table by filtering for specific year and quarter.
IS it possible? Can I change the table name while I drill down to lower level?
Thanks in advance.

Hi use,
Yes. This is possible in OBIEE. You need to use Action Links to have navigation between reports. The main idea is to have 2 analysis. One with your aggregated data by year (using your aggregated table), and another one with the rest of the hierarchy and data (using normal fact table)
You add an action link on this report, that can navigate to the second report. showing "the details" (in your case would be the rest of the time dimension).
Please refer to http://www.rittmanmead.com/2010/07/obiee-11gr1-action-framework-and-conditions/ for actions links.
Another way is to create 2 analysis, then go to the 2nd analysis, and filter the column year as "Is based on results of other analysis" and you select there the first analysis. In this case when you click on the year in the first analysis, this value will be passed to the second analysis so you can filter the rest of the hierarchy based on the year you clicked on the first analysis.
If helpful, assign points.
J.

Similar Messages

  • The table name or tcode to count the number of Dimensions and Key Figures

    Hi all,
    Do you have an idea about the table name or tcode to count the number of Dimensions and Key Figures of an Infocube WITHOUT installing the cube from Business Content?
    Thanks in adv.
    Ajay

    Hi,
    You can't do that because there's no active table in the system for the Business Content since it hasn't been installed yet...
    One thing you could do is go to the Business Content Tab, select "Infoproviders by InfoArea" on the left side, look for the Cube or DSO you want to check, right click on it and select "Display Description".
    On the window that opens you'll have a list of all InfoObjects and Key Figures. You also have the option to Display it as Start Schema, where you can see the Dimensions, etc.
    Hope this helps.
    Luis

  • What is the table name where i can see the REQ SID and normal REQ

    HI,
    When i load the data into the psa the system will generate a req
    REQ_*********
    and when i load the data into the IC and after activation it will give req SID.
    Now there is an infoobject 0tctrequid for which otctreqsid is an attribute i want to maintain it.
    I am using a remote cube on getting data from PSA generated DS.
    NOw i want to populate the query based on request sid not on req lyk req_****
    when i make otctcreqsid as a navigation attribut eof otctrequid and activate it and then trying to activate the remote cube then its giving eror lyk
    Higher-level InfoObject 0TCTREQUID__0TCTSYSID for InfoObject 0TCTREQUID__0TCTREQSID is not contained and
    Higher-level InfoObject 0TCTREQUID__0TCTSYSID for InfoObject 0TCTREQUID__0TCTSOURSYS is not contained
    its urgent plz help me
    thanks in advance
    K Janardhan KUmar

    Hi,
    All those characters are the attributes of 0tctrequid.some are navigational and some display.
    It is there for me as a option in the remote cube and multiprovider.
    when i select them and and tried to reactivate the above sspecified problem is coming.
    I already checked the M table and saw nly Data Request (GUID) is available not the value ata Request (SID). now h to update this M table i mean the 0tctrequid object with the attribute values? any source?
    Thanks a lot
    K Janardhan KUmar

  • Prefixing the schema owner to the table name

    I have entity objects in my JClient app that were created from tables owned by USER1. When I connect to my JClient app as USER2 the DML fails because the table names are not prefixed by the table owner (USER1). I don't want to use public synonyms and I don't want to customize my view objects just to prefix the table names with the table owner. How could I prefix all of the table names with the table/schema owner by default?

    We have been using another approach. We change the "current schema" at the db session level. This avoids having to define public synonyms and having to fully qualify names. It also allows us to have the same application schema defined multiple times in a db instance, which is useful for testing.
    While our real code is bit more complicated, basically we implement the afterConnect() and prepareSession() methods on an appication module with a call to our utility method:
    protected void afterConnect() {
    super.afterConnect();
    setupSession('hr');
    protected void setupSession(String currentSchema) {
    try {
    log.debug("Setting current schema to: " + currentSchema +
    " via: call alter session set current schema " + currentSchema);
    Statement stmt =
    getDBTransaction().createStatement(DBTransaction.DEFAULT);
    stmt.execute("alter session set current_schema=" + currentSchema);
    stmt.close();
    } catch (SQLException e) {
    if (e.getErrorCode() == 1435) {
    log.info("Couldn't set the current_schema to " + currentSchema +
    " because it doesn't exist in the target db.");
    } else {
    log.error("Error setting current_schema in DB context!", e);
    } catch (Exception e) {
    log.error("Error setting current_schema in DB context!", e);
    }

  • How to get the table name in the trigger definition without hard coding.

    CREATE  TRIGGER db.mytablename
    AFTER UPDATE,INSERT
    AS
        INSERT INTO table1(col1)
        SELECT InsRec.col1   
        FROM
        INSERTED Ins
       --Below i am calling one sp for which i have to pass the table name
       EXEC myspname 'tablename'
      In the above trigger,presently i am hard coding the tablename
      but is it possible to get the table name dynamically on which the trigger is defined in order to avoid hard coding the table name

    I really liked your audit table concept.  You inspired me to modify it so that, the entire recordset gets captured and added a couple of other fields.  Wanted to share my end result.
    USE [YourDB]
    GO
    /****** Object: Trigger [dbo].[iudt_AutoAuditChanges] Script Date: 10/18/2013 12:49:55 ******/
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    ALTER TRIGGER [dbo].[iudt_AutoAuditChanges]
    ON [dbo].[YourTable]
    AFTER INSERT,DELETE,UPDATE
    AS
    BEGIN
    SET NOCOUNT ON;
    Declare @v_AuditID bigint
    IF OBJECT_ID('dbo.AutoAudit','U') IS NULL BEGIN
    CREATE TABLE [dbo].[AutoAudit]
    ( [AuditID] bigint identity,
    [AuditDate] DateTime,
    [AuditUserName] varchar(128),
    [TableName] varchar(128) NULL,
    [OldContent] XML NULL,
    [NewContent] XML NULL
    ALTER TABLE dbo.AutoAudit ADD CONSTRAINT
    PK_AutoAudit PRIMARY KEY CLUSTERED
    [AuditID]
    ) WITH( STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
    CREATE NONCLUSTERED INDEX [idx_AutoAudit_TableName_AuditDate] ON [dbo].[AutoAudit]
    ( [TableName] ASC,
    [AuditDate] ASC
    )WITH (STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
    END
    Select * Into #AuditDeleted from deleted
    Select * Into #AuditInserted from inserted
    While (Select COUNT(*) from #AuditDeleted) > 0 OR (Select COUNT(*) from #AuditInserted) > 0
    Begin
    INSERT INTO [dbo].[AutoAudit]
    ( [AuditDate], [AuditUserName], [TableName], [OldContent], [NewContent])
    SELECT
    GETDATE(),
    SUSER_NAME(),
    [TableName]=object_name([parent_obj]),
    [OldContent]=CAST((SELECT TOP 1 * FROM #AuditDeleted D FOR XML RAW) AS XML),
    [NewContent]=CAST((SELECT TOP 1 * FROM #AuditInserted I FOR XML RAW) AS XML)
    FROM sysobjects
    WHERE
    [xtype] = 'tr'
    and [name] = OBJECT_NAME(@@PROCID)
    Set @v_AuditID = SCOPE_IDENTITY()
    Delete from AutoAudit
    Where AuditID = @v_AuditID
    AND Convert(varchar(max),oldContent) = Convert(varchar(max),NewContent)
    Delete top(1) from #AuditDeleted
    Delete top(1) from #AuditInserted
    End
    END

  • How to find table name which provide data for the DataSource

    Hi friends,
    How to find the Table name which providing data for the Business content DataSources (Master Data). Is there any table or Transation which give datasource and Table name at once.
    Thanks&Regards
    Revathi

    Hi Revathi...........
    1)If the datasource is extracting data from any table.................open the datasource using RSO2..........there u will get the table name......
    2) If the datasource is extracting data from any view.............go to RSA2..........copy the view name..........go to SE11 >> give the view name >> and check..........
    3) If Datasource is Function module based............then u hav to check in RSA2 >> give the datasource name >> execute >> there u will find the Extract structure name......Copy the Extract Structure name >> Go to SE11 >> in the Data Element field give the Extract structure name >> Display >> From the Entry Help/Check tab u can get the Table name............
    If u double click on the Extractor..............u will get the Function Module..............from there also u can check that the FM extracting data from which tables............
    For Other datasources also...........u can get the structure name from here........
    4) If the Datasources r LO datasources............then u can get the table name in LBWE.............LO extractor - goto transaction LBWE.................... Select the maintenance link for your datasource............
    here in the right hand pane.........in the drop down box, you can see the structures associated with this extractor ........ just remove the MC for the structure names to get the base table names. e.g. EKKO for MCEKKO.
    5) There is a pattern for the Extract structure name for LO datasources.............for an example..........
    DataSource 2LIS_11_VAITM ......Extract structure name is  MC11VA0ITM
    2LIS_11_VAHDR  >> MC11VA0HDR
    Hope this helps.........
    Regards,
    Debjani.......

  • How can I get the table name of a field..

    Hi,
    If we know the table name we can find all the fileds from it
    using desc <tablename>.
    But, I would like to find table name of a known field's name.
    Where all these fields are storing in the database.
    THanks in Advance,
    Srinivasulu.

    ALL_TAB_COLUMNS
    rgds, APC

  • Table name where I can see the Secondary bit map Index for Cube Loads in BI

    Hello Friends I want to know the table name where I can see the Secondary bit map Index that gets created with each request that get loaded to Cube so each 1 request will be multiplied by 7 dimension and 7x1 = 7 local secondary bit map index will be created where is that table which show me that .
    Under Oracle every uncompressed request corresponds to one partition in the
    F facttable of the corresponding infocube. This partition also brings along
    a full set of secondary local bitmap index partitions.
    If you have a cube with 10 uncompressd requests and 10 dimensions (every
    dimension brings with it a local bitmap index) you have 100 partitions for
    the table itself and 10 x 10 index partitions which makes a total of
    100 database objects. where is that table in BI WHICH STORE THIS INFORMATION
    Also if I have E Table with no entries for future 2009 dentries will that be an issue with blank partition ion E Fact table if yes please suggest how to resolve this issue

    Hi Soniya
    Information about BI objects is stored in the RSD* tables. For example:
    Infocubes: RSDCUBE / RSDCUBET
    Aggregates: RSDDAGGR_V / RSDDAGGRT
    You can see information on abap dictionary object as well in transactions SE11 / SE14. You will have to know the real table name of the cube, should be something like /BIC/F* for the uncompressed and /BIC/E* for the compressed table.
    Best regards, Michael

  • Find the table names in a package body

    How to find the table names in a package body in single query .(SQL).

    Hi,
    you can find dependent objects of a package from below query
    select distinct referenced_name ,REFERENCED_TYPE from ALL_DEPENDENCIES where name = 'PACKAGE' and  referenced_owner not in ('SYS','PUBLIC') and referenced_type = 'TABLE';
    Thanks
    Handle: user12057782
    Status Level: Newbie
    Registered: Oct 13, 2009
    Total Posts: 5
    Total Questions: 4 (4 unresolved)
    mark answered if helpful/correct
    Edited by: CKPT on Nov 22, 2010 1:21 PM

  • How to get the Change Log Table name of the ODS from the system table

    Hi,
    I have a list of ODSs in the system and I am interested in finding the corresponding Change Log Table and the number of records in that table.
    Can any one please tell me the name of the system table where this information is stored.
    I dont want to get in this information manully (from the Contents tab of the ODS maintenane).
    Regards,
    Harikiran Gunnala

    Hi
    Go to SE16
    Give the table name as "RSTSODS".
    For User application field give CHANGELOG as input
    and execute. You will get all the list of Changelog tables Along with below mentioned data
    PSA
    Version
    To
    Valid from
    Object Status
    Technical ODS name
    Program Name
    Maint  Program
    Object Name
    Last changed by
    UTC Time Stamp in Short Form
    Partition number
    Regards
    Raj

  • To know the table names that contains changed and old PO values.

    Dear All,
            Please let me on the table names that contains changed PO value and old PO value details for which I'll be grateful.
    Regards,
    S.Suresh

    Hello,
    Check the table CDHDR and CDPOS.
    Cheers,
    Vasanth
    Edited by: Vasanth M on Feb 18, 2008 12:08 PM

  • Problem while displaying all the table names from a MS Access Data Source.

    I started preparing a small Database application. I want to display all the Table Names which are in the 'MS Access' Data Source.
    I started to executing by "Select * from Tab" as if in SQL.
    But i got an error saying that "Not able to resolve Symbol 'Tab' in the query".
    Please let me know how can i display all the table Names in the MS Access Dats Source.

    Here i am developing the application in Swing using JDBC for accessing the database.
    I want to display all the Table names from the data source in a ListBox for easy selection of tables to view their details.

  • Get table ID for drill down (javascript functions)

    I want to implement some custom drill downs. When you click on a column to drill down, it uses the following javascript function: RTDr(saw_5_6,0,0) where in this case, "saw_5_6" is my current table. Since this is dynamically set and the table name can change, is there a property that i can get this table name from?
    I see where the object is created....(dynamically I might add)
    window.saw_5_6 = new Object();
    saw_5_6.sJSObjName = 'saw_5_6';
    Just wondering if there is a way / property that gives me this information so I can call RTDr() and supply it the correct table name.
    Thanks.
    Edited by: Derek on Nov 9, 2010 2:28 PM

    If there is only one table on the page then you can use my function as it is. I wrote it to implement custom writeback. Of course you can modify it to get all table objects.
    function getSawTableObject(){
         var ptrSawTableObjectName = /saw_.\d/;
         var obj = null;
         for (var propertyName in window){
              if ((ptrSawTableObjectName).exec(propertyName) && String(propertyName).charAt(0) == 's'){
                   obj = window[propertyName];
                   break;
         return obj
    }

  • The portlet name is not displayed in the portlet drop down list ?

    Hi,
    I use Sun Java System Portal Server 6 2005Q4 for windows 2000 server , use the following command to deployo portlet,
    I am not sure if I successfully deploy the portlet?
    pdeploy deploy -u amAdmin -w amadmin -p amadmin -d "cn=amldapuser,ou=DSAME Users,dc=icheng,dc=com" C:\Sun\PortalServer\tmp\portlet\portletsamples.war
    The message I got after execute the pdeploy command is =>
    Deploys the portlet war file and inserts the provider into display profile..
    OPTIONS
    --help Help message (false)
    -u --runasdn UID Bind DN (none)
    -w --password Password (none)
    -p --wc_password Password for WebContainer's Admin (none)
    -i --instance WebContainer's Instance into which the war file is to be deploye
    d (*)
    -d --dn LDAP DN of the target node (*)
    -g --global Global display profile (false)
    -r --rolesfile File containing the DSAME and portlet role mapping (*)
    -f --userinfofile File containing the user info mapping (*)
    -v --verbose Generate debug messages (false)
    -V --version Generate version information (false)
    -l --locale Locale information (en_US)
    OPERAND
    Specifies a path to the war location.
    Deploying to IWS
    Is this mean that successfully deploy the portlet ?
    After I deploy the portlet, I login to Access Manager, select the "service" from view, click the portal desktop,
    click "Manage Channels and Containers", click the "New Portlet Channel...", then click the portlet drop down list,
    the portlet name is not displayed in the portlet list.
    How can I make the portlet name displayed in the portlet drop down list ?
    Can someone help me ?
    Thanks!

    Hi
    According to your description, since this is SQL Server forum, as Olaf Helper’s post, could you get the correct result if you execute the following query in SQL Server Manager Studio (SSMS)?
    select UserName from aspnet_Users where UserId in(select FreindId from myFreinds where UserId in(select UserId from aspnet_Users where UserName = '<your typed name>'))
    If you cannot get the correct result in SSMS, I recommend to check the Transact-SQL statement. Apart from the error message, we also need to know the table structure, data, join relationships between tables for further analysis.
    However if there is no problem in SQL Server query, it will be an issue that regards ASP.NET and website deployment. I suggest you to post the question in the ASP.NET forums at
    http://forums.asp.net/ . It is appropriate and more experts will assist you.
    In addition, there is detail about listbox control in asp.net. You can review the following links:
    How to Bind/Load/Fill ListBox with Sql Server Database in asp.net:http://www.webcodeexpert.com/2013/07/how-to-bindloadfill-listbox-with-sql.html#.U5f75_6KCM9
    How to get multiple selected value in ListBox control - ASP.NET using C#:
    http://www.dotnetfox.com/articles/how-to-get-multiple-selected-value-in-listbox-control-Asp-Net-using-C-Sharp-1047.aspx
    Thanks
    Lydia Zhang

  • What is the table name ?

    Hi all,
                I have to add a new column 'initial approval date" in a simple report.
       for the PO (purchase order). i want to know where i can get this type of field
      i.e 'initial approval date"  in which table.
                     If anybody knows this type of field. please tell me the table name.
    Thanks
    kunal

    Hello Ajay Kumar,
    Release process for PO will be considered as change of PO and it will be updated in CDHDR and CDPOS table, so you need to check these table entires for your report.
    Hope this helps.
    Regards
    Arif Mansuri

Maybe you are looking for