IR with Essbase(Cube Query)-retrieval of all Level 0/1/2/../n members ?

Hi,
Is there any way where we can retrieve or place all members in same Level/Generation to Rows/Columns in Interactive Reporting studio 9.3.1 - Cube Query ?
Thanks in advance,
Ajay

Hi,
Try this query and modify as per your requirement:
SELECT
T0.[Father] as
'Assembly',T0.[code] as 'Component1', t10.[ItemName]
'Description1',T1.[Code] as 'Component2', t11.[ItemName]
'Description2', T2.[Code] as 'Component3', t12.[ItemName]
'Description3', T3.[Code] as 'Component4', t13.[ItemName]
'Description4',T4.[Code] as 'Component5', t14.[ItemName]
'Description5', T5.[Code] as 'Component6', t15.[ItemName]
'Description6'
FROM
ITT1 T0 LEFT OUTER
JOIN ITT1 T1 on T0.Code = T1.Father LEFT OUTER JOIN ITT1 T2 on
T1.Code = T2.Father LEFT OUTER JOIN ITT1 T3 on T2.Code = T3.Father
LEFT OUTER JOIN ITT1 T4 on T3.Code = T4.Father LEFT OUTER JOIN ITT1
T5 on T4.Code = T5.Father LEFT OUTER JOIN ITT1 T6 on T5.Code =
T6.Father left outer join oitm t20 on t0.father = t20.itemcode left
outer join oitm t10 on t0.code = t10.itemcode left outer join oitm
t11 on t1.code = t11.itemcode left outer join oitm t12 on t2.code =
t12.itemcode left outer join oitm t13 on t3.code = t13.itemcode left
outer join oitm t14 on t4.code = t14.itemcode left outer join oitm
t15 on t5.code = t15.itemcode
Thanks & Regards,
Nagarajan

Similar Messages

  • OBIEE 11.1.1.6 with Essbase Cube

    Hi,
    Anyone using Essbase cube as data source for OBIEE 11.1.1.6? which port should be open in Essbase server for OBIEE admin tool to import metadata?
    When we use publisher for reporting, it is very slow with Essbase cube? anyone has issues here also
    Thank you.
    BCHK

    Hi,
    By default port no :1423 (Essbase) and for obiee (9704)
    can you try to use 1423 also try
    To finding the port no just login to your weblogic console(FMW) the
    http://IP:7001/console ---> then go to Home-->servers-->here you can Admin Server/bi_Server are listed out with port no.just find it.
    P.S: we just open firwal for below port no just fyi..
    TCP(9703,9704,9705,9710,9810,80,443,1433,1423,8080,389,7001,7002,7003) ports
    Thanks
    Deva
    Edited by: Devarasu on May 29, 2012 5:19 PM

  • Throws severe error in OBIEE SA with Essbase Cube as Source

    Hi All,
    Currently we built the SA using Essbase ASO cube as source.Wehen we are trying to drag more then 4-5 dimension hierarchies it throws an severe error
    Essbase Error: Query is allocating too large memory(>4GB) and cannot be executed.Query allocation exceeds allocation limits(HY000)
    I am not able to identify the same in Essbase Excel addin.All are single-level based hierarchies and the count of dimensions is not more than 1000.
    Can someone help me out to find out a way to resolve this issue or any work around.
    Thanks,
    SatyaB

    What is the version that you using for OBIEE and Essbase ?? This is a know bug when Essbase as a source is used for OBIEE reporting. Try to get in touch with Oracle Support by raising an SR and getting correct patch (set of library files) for your system.
    This shud solve your problem.

  • View Display Error in OBIEE with Essbase Cubes

    Hi All,
    Currently we are generating the Reports from Essbase Cubes.
    We have an hierarchy in OBIEE and when we are trying to drill down one hierarchy(Tech Executive) we are getting below Error.
    " Error
    View Display Error
    Odbc driver returned an error (SQLExecDirectW).
    Error Details
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 43119] Query Failed: [nQSError: 96002] Essbase Error: Unknown Member [H1_Rel_TecExec_Ini_appl].[Unknown] used in query (HY000)
    SQL Issued: SELECT s_0, s_1, s_2, s_3, s_4, s_5 FROM ( SELECT 0 s_0, "Defect7M"."H1_Rel_TecExec_Ini_appl"."H1 Initiative Name" s_1, "Defect7M"."H1_Rel_TecExec_Ini_appl"."H1 Tech Executive" s_2, SORTKEY("Defect7M"."H1_Rel_TecExec_Ini_appl"."H1 Initiative Name") s_3, SORTKEY("Defect7M"."H1_Rel_TecExec_Ini_appl"."H1 Tech Executive") s_4, "Defect7M"."Defect7M#1"."Defect7M - measure" s_5 FROM "Defect7M" WHERE ("Defect7M"."H1_Rel_TecExec_Ini_appl"."H1 Tech Executive" = 'Unknown') ) djm "
    Can someone assist me how to resolve this error
    Thanks,
    SatyaB

    Satya,
    Have you done anything to modify the essbase drill logic within your BMM?
    Remember when modeling essbase you should just try to use the defaults first to ensure that all works correctly the first time through. Then you can adjust any hiearchies, federate, etc.

  • Query to showed all level of BOM details, sort by create/update date

    Hi expert,
    I need a query to display all the level of BOM and can be sort by create / update date.
    The display of query should be as below:
    A (1st level) Parent BOM
    B (2nd level) Child BOM 1
    B (2nd level) Child BOM 2
    C (3rd level)  Child BOM 2 - 1
    C (3rd level)  Child BOM 2 - 2
    B (2nd level) Child BOM 3
    B (2nd level) Child BOM 4
    Below is the BOM  query that can only display up to 2nd level and cannot sort by date.
    Can someone please help to modify or there is a better query?
    Thanks
    Declare @BOMDetails table(TreeType Nvarchar(MAX),PItem NVARCHAR(Max),PName NVARCHAR(MAX),CItem  NVARCHAR(Max),CName NVARCHAR(MAX),[Quantity] Numeric(18,2),[UoM] NVARCHAR(MAX),[WareHouse] NVARCHAR(MAX),[IssuMethod] NVARCHAR(MAX),[PriceList] NVARCHAR(MAX))
    INSERT Into @BOMDetails
    SELECT T1.TreeType ,T0.Father AS [Parent Code], T2.ItemName AS [Parent Description], T0.Code AS [Child Code],
    T1.ItemName AS [Child Description], T0.Quantity ,T0.Uom ,T0.Warehouse ,T0.IssueMthd,T0.PriceList  
    FROM ITT1 T0 INNER JOIN OITM T1 ON T0.Code = T1.ItemCode
                 INNER JOIN OITM T2 ON T0.Father = T2.ItemCode
    Union All
    SELECT ' ',T0.Father as [Parent Code], T2.ItemName AS [Parent Description], ' ', ' ', 0, ' ',' ',' ' , 0 FROM ITT1 T0 INNER JOIN OITM T1
    ON T0.Code = T1.ItemCode INNER JOIN OITM T2 ON T0.Father = T2.ItemCode
    Group By T0.Father,T2.ItemName
    ORDER BY T0.Father,t0.Code
    update @BOMDetails set PItem='' ,PName='' where TreeType='N' or TreeType='P'
    Select PItem as[Parent Code] ,PName as [Parent Description],CItem as [Child Code],CName as [Child Description],Quantity,UoM,IssuMethod ,PriceList    from @BOMDetails

    Hi,
    Try this query and modify as per your requirement:
    SELECT
    T0.[Father] as
    'Assembly',T0.[code] as 'Component1', t10.[ItemName]
    'Description1',T1.[Code] as 'Component2', t11.[ItemName]
    'Description2', T2.[Code] as 'Component3', t12.[ItemName]
    'Description3', T3.[Code] as 'Component4', t13.[ItemName]
    'Description4',T4.[Code] as 'Component5', t14.[ItemName]
    'Description5', T5.[Code] as 'Component6', t15.[ItemName]
    'Description6'
    FROM
    ITT1 T0 LEFT OUTER
    JOIN ITT1 T1 on T0.Code = T1.Father LEFT OUTER JOIN ITT1 T2 on
    T1.Code = T2.Father LEFT OUTER JOIN ITT1 T3 on T2.Code = T3.Father
    LEFT OUTER JOIN ITT1 T4 on T3.Code = T4.Father LEFT OUTER JOIN ITT1
    T5 on T4.Code = T5.Father LEFT OUTER JOIN ITT1 T6 on T5.Code =
    T6.Father left outer join oitm t20 on t0.father = t20.itemcode left
    outer join oitm t10 on t0.code = t10.itemcode left outer join oitm
    t11 on t1.code = t11.itemcode left outer join oitm t12 on t2.code =
    t12.itemcode left outer join oitm t13 on t3.code = t13.itemcode left
    outer join oitm t14 on t4.code = t14.itemcode left outer join oitm
    t15 on t5.code = t15.itemcode
    Thanks & Regards,
    Nagarajan

  • Getting Error in BI Answers with Essbase as Data source

    Hi
    We are on OBIEE version 11.1.1.6.0.I am trying to develop a report in BI answers with Essbase cube as data source, 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: 43113] Message returned from OBIS. [nQSError: 43119] Query Failed: [nQSError: 96001] Essbase Error (HY000)
    Essbase version is 9.3.3
    Please suggest
    Thanks,

    868247 wrote:
    Any suggestions on this issue.Check the sawserver.out log file to see if you can find more details on the server. This could more likely be because of the incorrect configuration in OBIEE. Refer to the Doc ID on MOS: 1104749.1 for further details and what configuration changes needs to be made.

  • Communicating with Essbase Server

    Hi
    As you know, there are three ways that you can communicate with Essbase cubes.
    1. using ESSCMD Commands
    2. using MaxL Shell Commands
    3. using Integration Services Shell Commands
    They all have Command-line interfaces. You can execute Essbase operations at the command line, in either batch or interactive mode. If you want an external program to run a batch file with these commands remotely, then what's the best way to do that? Or does Essbase provide any other tool (like Web Service API) to communicate with Essbase server remotely? I would be very grateful if anyone could give me some guidence on this.
    Regards
    Chandra

    Hi,
    There are a number of APIs that can be used to directly communicate with essbase, have a look at :- http://download.oracle.com/docs/cd/E10530_01/doc/epm.931/html_esb_api/topapilist.htm
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Essbase cubes with different levels of detail - OBIEE 10.1.3.4.1 on LINUX

    Hi all,
    I have BSO and ASO cubes which contain broadly the same information, but with the ASO cube at much higher detail. For simplicity sake, they only have 1 dimension, and 1 fact. The dimension a date and is structured like:
    Gen2 = year
    Gen3 = year & quarter
    Gen4 = year & month
    Gen5 = year, month & day
    Only the ASO cube has Gen5. the BSO cube only has the information to Gen4 level.
    I've imported them both into the RPD and dragged the ASO cube across into the BMM. and then taken the fact column from the BSO cube and dropped it onto the BMM, selected its new source ( the BSO cube ) and set the
    Content tab and set the logical level as Gen4.
    I then dragged the key items from the BSO date hierachy onto the date dimension in the BMM.
    I purposely had a slightly different date hierachy and data content in the 2 cubes so I could tell where it was getting the data from.
    If I select the year only...it gets the value from the BSO, and if I drill down to quarter and month it also gets the dates from the BSO cube.
    If I select the data fact, it will switch to the ASO cube and retrieve the value from there.
    Same applies if I select just the year - data comes in from the ASO cube.
    So my question is this, how do I get it to select the data facts from the less detailed cube when the details is not required and only switch to the ASO cube when the extra detail is needed?
    Thanks in advance for any assistance

    Anyone have any thoughts on this?
    Data fact with 2 sources, where source 1 & 2 have differing levels of detail, it always seems to take the data from the more detailed source

  • Combining relation facts with dimensions from an Essbase cube

    Hi!
    I am having trouble combining relational measures (from EBS) with dimensions from an Essbase cube. The dimensions that we want to use for reporting (drilling etc) are in an Essbase cube and the facts are in EBS.
    I have managed to import both the EBS tables and the cube into OBIEE (11.1.15) and I have created a business model on the cube. For the cube I converted the accounts dimension to a value based dimension, other than that it was basically just drag and drop.
    In this business model I created a new logical table with an LTS consisting of three tables from the relational database.
    The relational data has an account key that conforms to the member key of the accounts dimension in the Essbase cube. So in the accounts dimension (in the BMM layer) I mapped the relational column to correct column (that is already mapped to the cube) - this column now has two sources; the relational table and the cube. This account key is also available in the LTS of my fact table.
    The content levels for the LTS in the fact table have all been set to detail level for the accounts dimension.
    So far I am able to report on the data from the fact table (only relational data) and I can combine this report with account key from the account dimension (because this column is mapped to the relational source as well as the cube). But if expand the report with a column (from the accounts dimension) that is mapped only to the cube (the alias column that contains the description of the accounts key), I get an error (NQSError 14025 - see below).
    Seeing as how I have modeled that the facts are connected to the dimension through the common accounts key, I cannot understand why OBIEE doesn't seem to understand which other columns - from the same dimension - to fetch.
    If this had been in a relational database I could have done this very easily with SQL; something along the lines of select * from relational_fact, dim_accounts where relational_fact.account_key=dim_accounts.account_key.
    Error message:
    [nQSError: 14025] No fact table exists at the requested level of detail
    Edit:
    Regards
    Mogens
    Edited by: user13050224 on Jun 19, 2012 6:40 AM

    Avneet gave you the beginnings of one way, but left out that a couple of things. First, you would want to do the export of level zero only. Second, the export needs to be in column format and third, you need to make sure the load rule you use is set to be additive otherwise the last row will overwrite the previouse values.
    A couple of other wats I can think of doing this
    Create a replicated partition that maps the 3 non used dimensiosn to null (Pick the member at the top of the dimension in your mapping area)
    Create a report script to extract the data putting the three dimensions in the page so they don't show up.
    Use the custom defined function jexport in a calc script to get what you want

  • Integrating Essbase cubes with Oracle Tables in BI Server

    I'm trying to link together data from an aggregated Essbase Cube with some static table data from our oracle system. Both the essbase and oracle data exist correctly in their own right in the physical, business and presentation levels. Aggragted data is client sales, static data is client details
    Within the OBIEE Administration tool I've tried to drag the physical oracle table for clients onto the clients essbase section in the business area, and it seems to work OK, until you try and report on them together and I get the following error:
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 42043] An external aggregate is found in an outer query block. (HY000)
    Can anyone advise on what I'm doing wrong?
    Thanks

    Thanks Christian I found some very useful articles (one or two by you) - I'll have to look harder on the net before posting.
    One thing I found out, with respect to vertical federation, that others may benefit from, is that I fuond it much easier to start from the most detailed level and then attach the less detailed source rather start with the less detailed and add the additional on.

  • Query to show all A/P invoices associated with a PO

    Hi,
    I need some help to create a query to show all A/P invoices associated with a PO. I would like the input to be a PO# and the output to show all the A/P invoices and be able to drill down to the A/P invoices.
    Any help would be appreciated.
    Thanks!
    Jane

    hi,
    P.O target documents query try this,
    SELECT distinct 'GRN', D0.DocNum,D0.DocDate, D0.DocDueDate, D0.DocTotal,'AP INV', I0.DocNum,I0.DocDate, I0.DocDueDate, I0.DocTotal, I0.PaidToDate
    FROM ((OPDN D0 inner Join PDN1 D1 on D0.DocEntry = D1.DocEntry) full outer join (OPCH I0 inner join PCH1 I1 on I0.DocEntry = I1.DocEntry) on (I1.BaseType=20 AND D1.DocEntry = I1.BaseEntry AND D1.LineNum=I1.BaseLine))
    WHERE (D1.BaseType=22 AND D1.BaseRef='[%0]') OR (I1.BaseType=22 AND I1.BaseRef='[%0]') OR (I1.BaseType=20 AND I1.BaseEntry IN
    (SELECT Distinct DocEntry FROM PDN1 WHERE BaseType=22 AND BaseRef='[%0]'))
    Jeyakanthan

  • HT1386 The laptop I originally synch'd my iphone 4s with is broken and cannot retrieve any files. How can I sync the phone with a new laptop without losing all my downloaded music and apps already installed on my iphone?

    The laptop I originally synch'd my iphone 4s with is broken and cannot retrieve any files. How can I sync the phone with a new laptop without losing all my downloaded music and apps already installed on my iphone?

    If the answer to the above question is "yes", FIRST, set up a backup of your new computer before you do anything else so the next time your computer breaks you will not be in the same situation. Backup solutions are numerous and inexpensive, and there is absolutely no excuse in the Third Millennium not to have one.
    Then see this tip: https://discussions.apple.com/docs/DOC-3141

  • Need help in query to have all items in sap with PO data on order, date

    Hello Everyone,
    I need some help in writing a query to show all items in sap db to have itemcode, itemname, onhand, sellable(onhand-committed), on order, and the delivery date when that time should be received.  I need to know what items are regular items, which ones are master and components.  For the master I need to have the deliver date of the PO for the component.
    I have written this.
    SELECT DISTINCT TOP (100) PERCENT T1.ItemCode, SUM(T1.Sellable) AS Sellable, T1.OnOrder, MAX(T1.Docduedate) AS DeliveryDate, T1.WhsCode
    FROM         (SELECT     ItemCode, Sellable, OnOrder, '1/1/1900' AS Docduedate, WhsCode
                           FROM          dbo.V_RAZ_StoreInv
                           UNION ALL
                           SELECT     TOP (100) PERCENT ItemCode, '0' AS Sellable, Quantity AS Onorder, DocDueDate, WhsCode
                           FROM         dbo.V_RAZ_OPENPOSDATA
                           ORDER BY ItemCode) AS T1 LEFT OUTER JOIN
                          dbo.V_RAZ_ItemInfo ON T1.ItemCode = dbo.V_RAZ_ItemInfo.ItemCode
    GROUP BY T1.ItemCode, T1.OnOrder, T1.WhsCode, dbo.V_RAZ_ItemInfo.OnHold
    HAVING      (dbo.V_RAZ_ItemInfo.OnHold = 'n')
    ORDER BY T1.ItemCode, T1.WhsCode
    and for the v_raz_openposdata I have the following query
    SELECT     dbo.OPOR.DocNum, dbo.OPOR.DocStatus, dbo.POR1.WhsCode, dbo.POR1.ItemCode, dbo.POR1.Dscription, dbo.POR1.Quantity, dbo.POR1.OpenQty,
                          dbo.POR1.LineStatus, dbo.OPOR.DocDueDate
    FROM         dbo.OPOR LEFT OUTER JOIN
                          dbo.POR1 ON dbo.OPOR.DocEntry = dbo.POR1.DocEntry
    WHERE     (dbo.OPOR.DocStatus = 'O')
    Any help is greatly appreciated. 
    Right now I do get the delivery date for regular items and components but the master sku for the component all of them have 1/1/1900. 
    Thank you

    Thank you for replying Gordon.  I did not remember I had asked this before.  I no longer have access to the other account. 
    What I need on the query is that I want  a list of items with the on order quantity and when we are expecting this order to be received.  The receiving date is based on the PO delivery date.  The trick here is that  I need to Master sku to show the delivery date of the component sku.  In my scenario all components have the same delivery date for the Master sku.  If there are mulitple delivery dates because each warehouse is getting them on a different date then I want to get the delivery date for that warehouse.
    Let me know if this is possible and if yes please guide towards a query for it.
    Thank you.

  • Issue in integrating Essbase cubes with OBIEE

    Hi
    I am trying to use Essbase cubes as datasource in OBIEE for generating reports,but the issue is in generating , No columns in fact table of cube in BMM layer.
    Outline of cube is
    Revel(cube)
    (Hierachies)
    Time Time <5> (Label Only)
    Item <54> (Label Only) (Two Pass)
    DepInst <20> (Label Only)
    SFA_Flag <2>
    Deduction_Flag <2>
    Rating_Category <6>
    PD_Band <9>
    Product <17>
    Entity <4>
    CR_Agency <5>
    I am confused how to generate reports without measures in fact table.
    Regards
    Sandeep

    Hi Sandeep,
    in that case it's as I thought:
    Or did you just not specify any measure hierarchy?You tried this...
    In BMM layer i made this dimension as fact and tried to create reports but not use....which isn't the way. First of all your cube seems to be built quite bizarre since it doesn't even provide a default measure hierarchy so I'd have your Essbase guys check that.
    As for the OBIEE side: the key is the physical layer. BMM's already too late. In the physical cube object, you must define one of the hierarchies as the measure hierarchy (since your cube doesn't seem to provide it; see above):
    [http://hekatonkheires.blogspot.com/2010/02/obieeessbase-how-to-handle-missing.html]
    Cheers,
    C.

  • Problem with Integration Essbase cube with obiee

    Hi Everyone,
    I am in a OBIEE where i need to use Essbase cubes as source for generating OBIEE reports.I am able to import the cube successfuly into Physical layer and when i drag it into BMM layer its getting splitted up into Facts,dimensions and hierachies. No measure in fact table of cube in BMM layer. What i got to know was all the meaures what all needed for reporting are into one hierachy and when i get it into BMM layer its getting converted into Dimension. Here i tried to generate reports by making dimension as fact but no use.
    Please suggest me ,any other ways to get it.
    Regards
    Sandeep Artham

    Don't [double-post|http://forums.oracle.com/forums/thread.jspa?threadID=1019323&tstart=50] please!
    The answer's already there...[http://hekatonkheires.blogspot.com/2010/02/obieeessbase-how-to-handle-missing.html]
    Cheers,
    C.

Maybe you are looking for

  • Regarding Purchase Order Release Strategy

    Dear SDNers, I want to create a worfklow for PO release strategy. For this to take events for BO, I swich on the evnet trace at swels. After creation of PO, BUS2012 - RELEASESTEPCREATED even triggered. For release the PO, BUS2012- RELEASESTEPCREATED,

  • Getting Error message"Result set already closed"

    i am getting java.lang.reflect.InvocationTargetException when i write code as rs.clearWarnings(); rs.close(); rs = null; but i am not getting any exception when write as rs.close(); rs = null; java.lang.reflect.InvocationTargetException   at sun.refl

  • Question for VWIC3-1MFT-T1/E1 capabilities

    I am trying to receive some feedback before purchasing the hardware.... I have a remote location connected to my data LAN via an Ethernet Private Line. On both ends I have  2911 routers with 15.2 OS version. I would like to install a voice card (VWIC

  • Using an MS Excel like template for data entry into an Oracle table

    Does anybody know of a way, or development tool, that has the look and feel of MS Excel but can be used for data entry and be saved to an Oracle table and be embedded into a JSP page? I am currently using iSupport and have a need to allow users to en

  • How to Deploy an entity bean in Weblogic 6.1

    Hi friends, Could any one of u pls send me the Deployment steps for an entity bean in Weblogic 6.1 Server? or pls send me the URL from where i can get the step by step entity bean deployment process... Thanx in advance... Sridhar.Y.S.