Olap & Mining Query

Please Provide Olap & Mining related sql & Pl-sql Statement

Please provide more details on what you are looking for. There are many examples of PL/SQL and SQL statements in the Oracle documentation. In order to help with something more specific you need to provide more information.
Regards,
--Marcos                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • Webi report on OLAP Bex query -  Cost element Hierarchy not working Drill down

    Hello,
    We have a BO report on Bex query, Not on universe, we have a Hierarchy for Cost Element Group, and we are expecting the Drill down functionality for that in BO report, but it does not.
    Webi report on OLAP Bex query -  Cost element Hierarchy not working Drill down
    Any pointers how to do it please
    Thanks
    Krishna

    Hi,
    WebI reports on BEx source don't use same Drill feature as other sources, it's replaced by expland/collapse of hierarchy nodes (documented in WebI user guide in § "24.1 Drill defined"). This means you have to create query which selects all hierarchy sub-tree you plan on exploring later in report, otherwise if no data is available under a node there will be no '+/-' sign to visit this part of tree.
    You could try first to select "All members" from hierarchy in QueryPanel and see if behavior in report suits your needs. Then you should restrict hierarchy member selection to what's really needed to avoid performance issues.
    Regards,
    Loic

  • Error while initializing OLAP BAPI query extract

    Hi,
       I am getting a error while scheduling a job thru RSCRM_BAPI:
    "Internal error in method CHECK_TABLE_NAME (RSCRMBW_EX_NAMESPACE_GET)"
    Has anybody faced this error before and/or know what to do about it?
    Thanks

    Just incase if you have not looked at note '526173'
    Symptom
    Namespace /BIC/ is set to not editable but a file extract should be created anyway. To create extracts the RSCRM internally generates a structure in customer name space. On this structure the whole creation of the extract is build. So this structure is needed and can't be removed.
    The standard way is that the RSCRM checks if the name space /BIC/ is editable. If not the structure won't be generated and the extract is aborted.
    The following modification will ignore this check. The extract could be generated anyway.
    Other terms
    RSCRM_BAPI namespace CSV extract RSCRM164 CHECK_TABLE_NAME RSCRMBW_EX_NAMESPACE_GET
    Solution
    Modification
    regards,
    Hari

  • OLAP universe query filters using multiple key values

    Hi,
    We are running BO over a MSAS 2005 cube and due to reporting requirements we have had to split the year out from the standard time hierarchy so we have it as a separate hierarchy from the rest of the time hierarchy. We also have 2 other dimension objects we use to find the current reporting month (shown below as Current Month and Current Year) which link to the Year and Month dimensions to give us the current year and current month.
    I have created predefined filters in the universe for Last Month and Last 6 Months etc which link the 2 hierarchies together to dynamically find the correct months to pull out based on the current reporting month.
    The issue i am facing is that when these filters are used in reports we are not able to pull through the Year dimension in the report as we receive the error: "The Year Hierarchy hierarchy is used more than once in the Crossjoin function"
    We can however use the Month dimension in reports even though it is also referenced in the filter definition.
    I have narrowed the issue down to the fact the Month dimension is mentioned in the Filter Key which allows it to be used in the reports.
    Is it possible to include 2 key values or are there any other ideas on how to tackle this problem so i can include the both the year and month in reports using these filters?
    Last Month filter:
    <FILTER KEY="@Select(Period To Date\Month).[TECH_NAME]"><CONDITION OPERATORCONDITION="InList"><CONSTANT TECH_NAME="CASE WHEN FILTER(@Select(Period To Date\Month).Members,@Select(Period To Date\Current Month).[Y]).Item(0)= @Select(Period To Date\Month).[January] THEN {CrossJoin(FILTER(@Select(Period To Date\Month).Members,@Select(Period To Date\Current Month).[Y]).Item(0).lead(11),FILTER(@Select(Period To Date\Year).Members,@Select(Period To Date\Current Year).[Y]).Item(0).lag(1))} ELSE CrossJoin(FILTER(@Select(Period To Date\Month).Members,@Select(Period To Date\Current Month).[Y]).Item(0).lag(1),FILTER(@Select(Period To Date\Year).Members,@Select(Period To Date\Current Year).[Y]).Item(0)) END"></CONSTANT></CONDITION></FILTER>
    Thanks in advance

    Dear Daniel, may I ask one more question please?
    what if I have 4 tables?
    table1
    ID * ID_Type_code * Name
    0001 * 11 * abc
    0002 * 12 * abcd
    0003 * 13 * abcde
    table2
    ID * OID_type_code * Name
    0001 * 22 * abc
    0002 * 23 * abcd
    0002 * 25 * abcd
    0003 * 23 * abcde
    0003 * 22 * abcde
    0003 * 28 * abcde
    table3
    ID * OID_type_code * OGAD_line_id * address
    0001 * 22 * 1 * a street
    0001 * 22 * 2 * b street
    0002 * 23 * 1 * c street
    0002 * 25 * 1 * d street
    0003 * 28 * 1 * e street
    0003 * 28 * 2 * f street
    0003 * 28 * 3 * g street
    table 4
    ID OID_type_codeOGAD_line_id*COP_line_id*phone number
    0001*22*1*1*2222222222
    0001*22*1*2*3333333333
    0002*23*1*1*4444444444
    0003*28*2*1*5555555555
    0003*28*2*2*6666666666
    Primary key for each table
    table1, primary key is ID
    table2, primary key is ID , OID_type_code
    table3, primary key is ID , OID_type_code, OGAD_line_id
    table4, primary key is ID , OID_type_code, OGAD_line_id , COP_line_id
    I would like to show each value in each table in the separate input text fields.
    Therefore, this is an advanced question based on the previous one, not only get values from one table but also from several tables based on input for example 0003 and 28 as the ID and OID_type_code?.
    Let me know if you need more details,
    Thank you so much,
    Viola

  • How to  get formated value from query

    i get value from query use the follow method
    Object obj1 = dataAccess.getValue(i,j,DataMap.DATA_UNFORMATTED);
    Object obj1 = dataAccess.getValue(i,j,DataMap.DATA_FORMATTED);
    the first method retrun a value '1666.0',
    the second method return a value null
    but i want to get the value '1,666'.
    who can tell me how can get the formated value?

    Ahu,
    An implementation of DataAccess is not required to support all DataMap constants. For example, the OLAP-based Query object does not support DataMap.DATA_FORMATTED. To find out which DataMaps are supported for a particular implementation, you can call the DataDirector's getSupportedDataMap method.
    If you have an Crosstab instance, there is a way to get the formatted cell value, based upon the formatting rules associated with the Crosstab. Get the GridViewFormatManager reference from the Crosstab, and call its formatDataValue method to return a String representation of the formatted data value.
    Hope this helps,
    djb

  • Report on olap universe (integration kit) fails by WEBI and it runs by Rich

    I've implemented the integration Kit and an OLAP universe query based and it runs.
    I've a problem on a report that runs via Rich Client and fails via web client.
    We are on BI 7.0 sp 19. Is it necessary to upgrade to BI 7.01 SP03 or SP04 ? We've seen your interesting document about the improvement of perfomance of BI 7.01 SP04 but we'd like to upgrade our BI system 7.0 in 2 months and not now.
    Thanks in advance.
    Best Regards.

    Hi Sebastian,
    The BO XI 3.1 Fix pack Level is 1.7. We have activated traces but we don't know if the traces are java.
    We have the problem with reports with a large quantity of data, in report with a low quantity of data webi runs.
    OSS ask us to evaluate the upgrade of our SAP BI to the EHP1 03 but it requires 2 weeks and we'd like to evaluate all alternatives before to do it.
    Thanks in advance.
    Best Regards.
    M.

  • Problem with OLAP SAPBI SHOWING Server in not responding

    Hi All,
    Problem with OLAP SAPBI SHOWING Server in not responding
    SBO0001)",
    Iam Creating a universe , When iam Retriving my olap cube query it showing the error "Server in not responding (SBO0001)",
    Thanks In advance
    Praveen Kumar Yagnamurthy

    I am receiving this same error.  I have these additional details:
    CS: COM Provider CLSID not specified or erroneous
    In my case, this is for a universe that I created in BOE XI R2 sp5.4 and migrated up to BOE XI 3.2 sp2.  This connection uses OLEDB.  I have the same situation with another universe that I migrated over that uses an ODBC connection and it works fine.
    In my case, I am not using OLAP.

  • Drill to Detail - Discoverer Plus Olap

    Does anybody knows how can I do "Drill to Detail" in the OLAP Option?
    I am using Discoverer Plus Olap to query a cube but I need to go to the relational data from a cell of this cube
    Thanks

    Hi There:
    If you had figured it out, please let me know.
    Regards
    Rufus

  • RelativeDate in OLAP Univese

    *Hello Friends. we have a issue in SAP BOXI WEBI report since all the dates fields are showing 1 day lag which BI Cube and bex qUERY ON which universe is build show correct ex 09/23/2009 in BEX QUERY BUT IN BOXI WEBI report show 09/22/2009. I even changed the server time to PST. but still it does not work*
    *So I want to a function =RelativeDate([Required By Date];1)*
    *at universe level since I cannot put this in WEBI Since user want the selection Prompt that will always throw off THE USERS BY 1 day before in user selection but output in report will be 1 day after* Since we have used relative date function in webi for required by date.
    *SOLUTION Requested. : How to Add day+1 TO Required date in BOXI OLAP SAP Query universe.* so user can select this in user prompt
    *Please help this is big issue for the users.*
    *any help will be appreciated*
    *Thanks*
    *Soniya*

    Hello ,
    Your issue is the date fields are showing 1 day lag which BI Cube and bex ; this would happen when you have used the bo dim objects at present and its select is "\[0YOURDT].\[Level01]".
    Expand the date dim object and see its detail objects, if one exist for the bi objects key. 
          e.g  "\[0CREATEDON].\[LEVEL01]" is the dim <BR>
    and "\[0CREATEDON].\[LEVEL01].\[\[20CREATEDON]].\[Value]" is the key for the created on date info object. 
    Modify the KEY (detail) object property as the dimension and use this in your report. Hide the level01 object your have issues with.
    You already know that from the OLAP all char info objects presented as the CHAR type in the Universe; So, in the report, inform developers and user to format the string ToDate and then to FormatDate for date sorting etc.
    Hope this address your current issue.
    Cheers.

  • Replacement path does not work for a specific query after migration 7.0

    Hello all,
    We have a problem with a replacement path variable in a query.
    After the migration, it seems this replacement path doesn't work.  This replacement path is defined inside a structure that is used in some other queries and for the other queries is working properly.
    Another think we have done is to make a copy of the query where the replacement path doesn't work and the copied query works ok.
    Did anybody find this kind of problem in a migration. Any help will be appreciated.
    Regards, Inma

    This is just for those who might have simmilar requirement &  would in case refer to this thread..
    Me too faced same problem of OLE DB for OLAP cant be released. I was using  replacement path query variable which was using result set from the other  query.
    I just had to uncheck 'Allow External Access' in release for OLE  DB for OLAP in query properties. This worked from me, my query using replacement path variable is giving desired results.
    Hope this might be useful for relevant users.
    Regards,
    Pritesh

  • The '' secondary data source is not a relational data source, or does not use an OLE DB provider.

    Hi,
    We are using Teradata as data source in SSAS 2008R2, it’s using ‘.Net Providers\.Net Data Provider for Teradata’.
    In DSV, we have two data sources both using Teradata. While processing dimensions, all dimensions coming from secondary data source has error message”
    The '' secondary data source is not a relational data source, or does not use an OLE DB provider.”
    But we are not using OLE DB provider for now, we’ve searched some threads that named queries can be replaced for secondary ds, but since we have a lot of tables, it’s hard to implement using named queries.
    Any inputs would be appreciated. 

    Hi memostone,
    When defining a data source view that contains tables, views, or columns from multiple data sources, the first data source from which you add objects to the data source view is designated as the primary data source (you cannot change the primary data
    source after it is defined). After defining a data source view based on objects from a single data source, you can then add objects from other data sources.
    If an OLAP processing or a data mining query requires data from multiple data sources in a single query, the primary data source must support remote queries using
    OpenRowset. Typically, this will be a SQL Server data source.
    Here are the restrictions:
    The primary data source should be SQL Server and support OpenRowset to the secondary data source.
    Or you design the cube in such a way that rocessing for each object only needs to access data from a single data source
    I recommand you refer to the following article:
    Defining a Data Source View (Analysis Services):
    http://technet.microsoft.com/en-us/library/ms174600.aspx
    Regards,
    Bin Long
    TechNet Community Support

  • Sales & Order report performance is too slow!

    Hi All,
    Sales report is prety slow.It took 90% in OLAP time. I tried RSRT all the possible ways & also created OLAP fill query level also but No result. Please help me.
    Thanks
    Vasu.

    Hi Vasu,
    CAN You please refer below link
    http://wiki.sdn.sap.com/wiki/display/BI/HowtoImproveQueryPerformance-A+Checklist
    it tells explains how you can improve your query performace.
    Also as i told since you are FETCHING DATA direct from MASTER data report will be bit slow so try to get data directly from cube and may be u can use filters also.
    Hope this may help you.
    Regards
    Nilesh

  • OCDM  - Sample Report Installation issue - Runs too longer with No progress

    Hello,
    As a part of OCDM environment setup for Practice we were successful installing following :
    * Supported Enterprise Linux
    * Oracle DB 11g R2 (OLAP & MINING option)
    * OWB was already installed as a part of Oracle DB 11gR2 - just unlocked the OWB accounts.
    * Installed OBIEE 11g R2 installation - Installation successful and able to open url's. (analytics and BI Publisher etc.) - Issue with login account.
    * Installation of Communication Data Model (First Installation type from OCDM Installer)
    When we try to install Sample Reports at same stage the screen remain open and runs too longer with No progress.
    The Installation process for OCDM Sample Reports is given in the attached doc with screenshot and the log file is also included in the attached document.
    Please let us know the following two issue:
    1) How to login to Analytics after OBIEE 11gR2 installed on Linux - ( in our case we use user as Administrator and tried password same as username, even checked with the user weblogic and other but no success. Please provide us the information which give details(document) about the Administartion of OBIEE 11gR2 on Linux).
    2) The issue with installation of OCDM Sampple Reports though successful installation of OCDM Data Model.(First Installation Type from OCDM Installer)
    Thanks & Best Regards,
    Amol Thite
    I think, I cant Attach the file here and character limit is 30K for the post here so putting below the few lines of Log File content:
    I can email the screen shots docs and complete log file on request if needed.
    It stuck in Configuration Assistance screen -
    After more than 1 hour the same screen – No progress – I tried 3 times but same issue. Log file also not growing and seems its waiting for some dependent thing that need to happen before it proceed.
    =====start few lines of Log File=======================================
    The file oraparam.ini could not be found at /u01/app/oracle/product/11.1.0/db_1/oui/bin/oraparam.ini
    Using paramFile: /u01/app/oracle/product/11.1.0/db_1/oui/oraparam.ini
    Checking swap space: must be greater than 500 MB. Actual 1027 MB Passed
    Checking monitor: must be configured to display at least 256 colors. Actual 65536 Passed
    The number of files bootstrapped for the jre is 689.
    The number of files bootstrapped for the oui is 77.
    Using the umask value '022' available from oraparam.ini
    =====end few lines of Log File==================================
    INFO: Copying Aggr XML for: Oracle Communications Data Model
    INFO: The Top level Aggreage File = /u01/app/oracle/product/11.1.0/db_1/inventory/ContentsXML/ConfigXML/oracle.ocdm.11_2_3_0_0.xml
    INFO: deleted all the required instance files
    INFO: OUI_CAPlugIn is not found in XML
    INFO: cf session will be created for OH: /u01/app/oracle/product/11.1.0/db_1/ TLAggr: oracle.ocdm instancePath: inventory/ContentsXML/ConfigXML/
    INFO: cf session for OH: /u01/app/oracle/product/11.1.0/db_1/ TL Aggr: [oracle.ocdm] instancePath: inventory/ContentsXML/ConfigXML/
    INFO: aggr ref length : 2
    INFO: cf session hashcode: 22855989
    INFO: cf session saved with key: OraDb11g_home1 oracle.ocdm
    INFO: cf session is ok
    INFO: created and saved cf session for oh: OraDb11g_home1
    INFO: passing params to cf
    INFO: Handling the storing of variables for aggr name oracle.ocdm
    INFO: This variable sl_ASMSelectableDiskGroups is not added to the global context map
    INFO: This variable s_scratchPath is not added to the global context map
    INFO: exitonly tools to be excuted passed: 0
    INFO: Starting to execute configuration assistants
    INFO: Command = oracle.ocdm.OCDMCfgPlugIn /u01/app/oracle/product/11.1.0/db_1/ocdm/ocdm_install.sh ${s_dbSysPasswd}
    OCDMCfgPlugIn: Starting OCDM configuration...
    OCDMCfgPlugIn: OCDM configuration initialized, waiting for script response...
    OCDMCfgPlugIn: Receiving SYSTEM password...
    OCDMCfgPlugIn: Passing SYSTEM credentials to configuration script...
    OCDMCfgPlugIn: SYSTEM credentials passed to configuration script.
    OCDMCfgPlugIn: SYSTEM password received.
    OCDMCfgPlugIn: Initializing config parameteres...
    OCDMCfgPlugIn: Creating log folder...
    OCDMCfgPlugIn: ocdm log folder exist
    OCDMCfgPlugIn: Exporting config env...
    OCDMCfgPlugIn: Performing OWB check...
    OCDMCfgPlugIn: Installing OWB...
    OCDMCfgPlugIn: WARNING: OWB OWNER already exists.
    OCDMCfgPlugIn: Archive: /u01/app/oracle/product/11.1.0/db_1/ocdm/pdm/relational/sample_schema/ocdm_sample.dmp.zip
    OCDMCfgPlugIn: inflating: /u01/app/oracle/product/11.1.0/db_1/ocdm/install_tmp/ocdm_sample.dmp
    OCDMCfgPlugIn: 2011_02_28_11_24_30 10 % complete
    OCDMCfgPlugIn: Importing OCDM sample schema
    ==================end of log File ========================================

    Hi Please check my answers
    1) How to login to Analytics after OBIEE 11gR2 installed on Linux - ( in our case we use user as Administrator and tried password same as username, even checked with the user weblogic and other but no success. Please provide us the information which give details(document) about the Administartion of OBIEE 11gR2 on Linux).
    The current OCDM version does not support BIEE 11g, so you need to install BIEE 10g. In next release(will be available soon), OCDM will support BIEE 11g.
    2) The issue with installation of OCDM Sampple Reports though successful installation of OCDM Data Model.(First Installation Type from OCDM Installer)
    The importing will take a long time, you can login database with ocdm_sample_sys/ocdm_sample_sys, and use "select count(*) from tabs;" to monitor the import process.

  • Hierarchy issue with Web Intelligence Report

    Hi All,
    We are facing an issue with OLAP Universe where we are using hierarchy for cost center in reports.
    BEx query shows correct data in RSRT with hierarchy nodes.
    We have built a Universe on top of this BEx Query.
    We are using couple of nodes of cost enter hierarchy in WebI report but if we keep more than one node in WebI query, data comes double (probably because of duplicate rows). Instead if I keep just one of the node in WebI query, WebI report returns correct data.
    Please suggest, why such behavior with OLAP universe and how to resolve this?
    Best Regards,
    Ashish

    Thanks for your suggestions.
    I am little confused on how to check SQL generated for OLAP WebI Query.
    But other reports on same universe behave same way and I'll give a try to another universe but I don't expect it to behave in different way. I saw a setting for relational Universes like restriction on duplicate rows but the same is not present in case of OLAP Universe.
    Do you know how WebI behaves with BEx hierarchies?
    There has to be some setting to make it work...
    Best Regards,
    Ashish

  • Error while doing BAPI extract using tcode  RSCRM_BAPI

    Hi,
      I am trying to extract a OLAP Bex query into a table.  However, I am getting the error message that
    Error: Metadata for extract /BIC/0CZCARRYOVR is inconsistent
    Error: Error 0 when generating from extract /BIC/0CZCARRYOVR
    Where ZCARRYOVR is my extract table.  What could be the reason?
    What had happened is that I created this extract table before and then deleted it from SE11.  But now I cannot create the table while extracting.  If I give a brand new table name then it works fine.  Is there any place where table metadata is stores.  I checked TADIR table and there was no extry.  I should have used SE14 and delete the table from database but cant use it now since the dictionary table doesnt exist.
    thanks

    Hi ,
    I have the same issues. If you have solved the issues can you please let me know the solution for this.
    Regards,
    Varma

Maybe you are looking for

  • Splitting for Cable Box and Router

    Okay so heres the situation. Right now in my room there is only one cable connection in my wall. That was used to connect my small TV box (not the huge HD box, just the secondary ones that get put in several rooms) so I could watch FIOS in my room. T

  • Printed Manual?

    What kind of printed documentation is included in the Logic Express 8 retail package? Is there a printed manual or just the pdfs? charles bandla Edinboro pa

  • Keyed footage from Premiere Pro CC getting cut in half by AME

    Hello all,    I am having an odd sort of problem.  Anytime I have a sequence from Premiere that includes Keyed footage (UltraKey), the render from AME cuts the keyed subject in half, resulting in a waist - down view.  If I take that same sequence and

  • Captivate does not start?

    Hi, I have a computer with windows 7 64 bits, and I install the trial version of cs6 to see how it works because we have a license of captivate cs5, but after the installation, does not start, then I try installing the cs5 version, and happend the sa

  • Printing from Aperture is not that good. Maybe help needed

    Hi, I'm trying to print from Aperture and I can't get a decent print to save my life. I end up sending over to Photoshop where the print comes out looking like it should. (FYI, I am very experienced with printing and calibration and color management,