OBIEE 10g Amounts not rolling up

Dear All,
I am facing an issue in rolling up myamount  totals.
I need to create a calculated column in RPD based on another fact column.(Amount2 is the calulated item that I have created)
Amount1 - my existing fact column
Amount2 - my new calculated column created at logical level.
My results :
  Below report is at Quarter level. The totals displayed for Amount2 are wrong. The total displayed is same as that of Amount1 total
Table
Rgn
Quarter
Amount 1
Amount2
R1
1
24,578,396.33
24,578,396.33
2
96,133,672.22
96,133,672.22
3
42,639,566.27
25,954,518.60
4
58,333,616.34
0.00
Grand Total
221,685,251.16
221,685,251.16
        and when i roll up at year level the amount 2 does not roll up to the correct  total and display only 0
Table
Rgn
Amount1
Amount2
R1
221,685,251.16
0.00
Grand Total
221,685,251.16
0.00
Can you please help me, where I have  gone wrong.
Areas where i can cross check, if I have missed any step.
Appreciate your help.
Thanks in advance.
Achala

Thank you for the reply.
This is the formula used for Amount 2:
CASE  WHEN TST."Dim-Time"."Quarter" = 1 AND  MOD( EXTRACT( YEAR  FROM  CURRENT_DATE ), 4) = 0 AND  EXTRACT( YEAR  FROM  CURRENT_DATE ) = TST."Dim-Time"."Year" AND 1 =  EXTRACT( QUARTER_OF_YEAR  FROM  CURRENT_DATE )
THEN TST."Fact-Q1" *  EXTRACT( DAY_OF_QUARTER  FROM  CURRENT_DATE ) / 91
WHEN TST."Dim-Time"."Quarter" = 1 AND  MOD( EXTRACT( YEAR  FROM  CURRENT_DATE ), 4) <> 0 AND  EXTRACT( YEAR  FROM  CURRENT_DATE ) = TST."Dim-Time"."Year" AND 1 =  EXTRACT( QUARTER_OF_YEAR  FROM  CURRENT_DATE )
THEN TST."Fact-Q1" *  EXTRACT( DAY_OF_QUARTER  FROM  CURRENT_DATE ) / 90
WHEN TST."Dim-Time"."Quarter" = 2 AND  EXTRACT( YEAR  FROM  CURRENT_DATE ) = TST."Dim-Time"."Year" AND 2 =  EXTRACT( QUARTER_OF_YEAR  FROM  CURRENT_DATE )
THEN TST."Fact-Q2" *  EXTRACT( DAY_OF_QUARTER  FROM  CURRENT_DATE ) / 91
WHEN TST."Dim-Time"."Quarter" = 3 AND  EXTRACT( YEAR  FROM  CURRENT_DATE ) = TST."Dim-Time"."Year" AND 3 =  EXTRACT( QUARTER_OF_YEAR  FROM  CURRENT_DATE )
THEN TST."Fact-Q3" *  EXTRACT( DAY_OF_QUARTER  FROM  CURRENT_DATE ) / 92
WHEN TST."Dim-Time"."Quarter" = 4 AND  EXTRACT( YEAR  FROM  CURRENT_DATE ) = TST."Dim-Time"."Year" AND 4 =  EXTRACT( QUARTER_OF_YEAR  FROM  CURRENT_DATE ) THEN TST."Fact-Q4" *  EXTRACT( DAY_OF_QUARTER  FROM  CURRENT_DATE ) / 92
WHEN TST."Dim-Time"."Quarter" = 1 AND  MOD( EXTRACT( YEAR  FROM  CURRENT_DATE ), 4) = 0 AND  EXTRACT( YEAR  FROM  CURRENT_DATE ) = TST."Dim-Time"."Year" AND 1 <  EXTRACT( QUARTER_OF_YEAR  FROM  CURRENT_DATE )
THEN TST."Fact-Total_Amount" WHEN TST."Dim-Time"."Quarter" = 1 AND  MOD( EXTRACT( YEAR  FROM  CURRENT_DATE ), 4) <> 0 AND  EXTRACT( YEAR  FROM  CURRENT_DATE ) = TST."Dim-Time"."Year" AND 1 <  EXTRACT( QUARTER_OF_YEAR  FROM  CURRENT_DATE )
THEN TST."Fact-Total_Amount" WHEN TST."Dim-Time"."Quarter" = 2 AND  EXTRACT( YEAR  FROM  CURRENT_DATE ) = TST."Dim-Time"."Year" AND 2 <  EXTRACT( QUARTER_OF_YEAR  FROM  CURRENT_DATE )
THEN TST."Fact-Total_Amount" WHEN TST."Dim-Time"."Quarter" = 3 AND  EXTRACT( YEAR  FROM  CURRENT_DATE ) = TST."Dim-Time"."Year" AND 3 <  EXTRACT( QUARTER_OF_YEAR  FROM  CURRENT_DATE )
THEN TST."Fact-Total_Amount" WHEN TST."Dim-Time"."Quarter" = 4 AND  EXTRACT( YEAR  FROM  CURRENT_DATE ) = TST."Dim-Time"."Year" AND 4 <  EXTRACT( QUARTER_OF_YEAR  FROM  CURRENT_DATE )
THEN TST."Fact-Total_Amount" WHEN TST."Dim-Time"."Quarter" = 1 AND  MOD( EXTRACT( YEAR  FROM  CURRENT_DATE ), 4) = 0 AND  EXTRACT( YEAR  FROM  CURRENT_DATE ) = TST."Dim-Time"."Year" AND 1 >  EXTRACT( QUARTER_OF_YEAR  FROM  CURRENT_DATE )
THEN 0 WHEN TST."Dim-Time"."Quarter" = 1 AND  MOD( EXTRACT( YEAR  FROM  CURRENT_DATE ), 4) <> 0 AND  EXTRACT( YEAR  FROM  CURRENT_DATE ) = TST."Dim-Time"."Year" AND 1 >  EXTRACT( QUARTER_OF_YEAR  FROM  CURRENT_DATE )
THEN 0 WHEN TST."Dim-Time"."Quarter" = 2 AND  EXTRACT( YEAR  FROM  CURRENT_DATE ) = TST."Dim-Time"."Year" AND 2 >  EXTRACT( QUARTER_OF_YEAR  FROM  CURRENT_DATE )
THEN 0 WHEN TST."Dim-Time"."Quarter" = 3 AND  EXTRACT( YEAR  FROM  CURRENT_DATE ) = TST."Dim-Time"."Year" AND 3 >  EXTRACT( QUARTER_OF_YEAR  FROM  CURRENT_DATE )
THEN 0 WHEN TST."Dim-Time"."Quarter" = 4 AND  EXTRACT( YEAR  FROM  CURRENT_DATE ) = TST."Dim-Time"."Year" AND 4 >  EXTRACT( QUARTER_OF_YEAR  FROM  CURRENT_DATE ) THEN 0 ELSE TST."Fact-Total_Amount" END
In the above formula:
TST."Fact-Total_Amount" is an aggregated to sum logical column, similarly TST."Fact-Q1", TST."Fact-Q2", TST."Fact-Q3", TST."Fact-Q4" are also aggregated to sum logical columns.
Please let me know your findings.
Many Thanks,
Kind Regards,
Achala

Similar Messages

  • Compound layout in View selector possible in OBIEE 10g but not in OBIEE 11

    Hi!
    I am Claire. I have created 3 compound layout and I wanted it to be included in my view selector. I noticed that I is not possible in BI 11g but was previously possible in Bi 10G. Kindly help me on this matter. The compound layout is not appearing in the available views in the EDIT VIEW selector Page.
    Your Prompt response on this matter is highly appreciated.
    Thank you.
    Claire

    Claire,
    This is no longer possible. And actually in OBIEE 10g it was only possible in the Original Compound layout. Meaning that if you created compound layout #2 you could not leverage "Compound Layout" (the original / default one) inside of a view selector or as a view inside "Compound Layout #2".
    If you look at the OBI 10g documentation you will see that it states that a Compound Layout is a "view" which can contain other views.
    In the OBI 11g documentation it states that the Compound Layout is a container.
    http://download.oracle.com/docs/cd/E14571_01/bi.1111/e10544/appbuir.htm#BIEUG818
    http://download.oracle.com/docs/cd/E14571_01/bi.1111/e10544/analyses.htm#CJABIHGC
    http://download.oracle.com/docs/cd/E14571_01/bi.1111/e10544/appbuir.htm#BGBIDGDA
    This new nomenclature and definition is the delineating factor and the reason you can no longer achieve that functionality in the same way you did in 10g
    I hope that helps.
    Cheers,
    Christian
    http://www.artofbi.com

  • OBIEE 10g - Cant not see a specific report in a dashboard

    Hi All
    We have a dashboard which as 10 tabs. I can see 9 tabs but only one tab is not visible.
    Access right are same to all 10 tabs.
    I am just a read only user. I can see the 10th tab if i login as Administrator/Presentation Services Administrator.
    Regards
    Suresh

    Go to specific folder using Admin login->Settings->Administration->Manage Presentation Catalog
    navigate to the folder and then _portal
    look for the 10 tab or page for permissions
    Edited by: Srini VEERAVALLI on Mar 21, 2013 7:01 AM
    Any updates?
    Thanks
    http://cool-bi.com
    Edited by: Srini VEERAVALLI on May 16, 2013 6:38 AM

  • OBIEE 10g, OC4J not shutting down

    Hello
    I am running into this problem with 10g trying to shutdown OC4J in Linux
    So I ran the commend:
    oc4j -shutdown -port 8808 -password sys123I entered the right port number.
    I went to EM to reset the oc4j password to sys123.
    Then it goes:
    Shutdown OC4J instance...
    But it will just hang there for ever until I have to manuelly kill OC4J session..
    could anybody let me know how to go about debugging this behavior?
    Thanks

    Hi,
    I remember this as an issue in Unix and it was recommended simply to use the Unix kill command to stop the standalone OC4J.
    Also, metalink document 1312743.1 provides this syntax:
    java -jar OracleBI_HOME/oc4j_bi/j2ee/home/admin.jar ormi://localhost:23791 oc4jadmin <oc4jadmin password> -shutdown force
    where <oc4jadmin password> is the password for the oc4jadmin user.
    The syntax above works well on Windows. On Linux it generates the reported error.
    If affected, try one of the following alternate syntax options. The first excludes the host name and port from the ormi argument. The second includes the IPV4 option.
    java -jar /OracleBI/oc4j_bi/j2ee/home/admin.jar ormi:// oc4jadmin <oc4jadmin password> -shutdown force
    java -Djava.net.preferIPv4Stack=true -jar /OracleBI/oc4j_bi/j2ee/home/admin.jar ormi://localhost:23791 oc4jadmin <oc4jadmin password> -shutdown force
    Hope this helps.
    Thank you,
    Dhar

  • OBIEE 10g: BI Publisher page not showing properly

    Hello all,
    I have installed OBIEE 10g on a VM with operating system: XP, service pack 3.
    Analytics and Admin tool (I was able to create a new repository) are showing properly but when i try to login to the BI Publisher I just see two folder available "Shared folders"
    and "My Folders" and all the other functionalities are missing. Also in the Preferences tab I just see "General Preferences"
    and nothing else. I have logged in as an Administrator user but i think the problem is that this user doesn't actually have admin rights when it comes to BI Publisher module.
    I tried to give some more permissions through Analytics>Settings>Manage Privilleges but there was no progress.
    Can you please give me some guidance on that issue?
    Thanks in advance,
    Dina

    Hi,
    i got exactly the same pb. Word 2007 32 bits + Oracle BI Publisher Desktop 11.1.1.7.0 for 32 bit Office on Windows (244 MB)
    I can see the BIP Menu in Word,
    but the sub menus are : menu2007.logon, menu2007.load_xml_dat ... and of course are not working !
    What is wrong ?
    thanks for help

  • Error  in reports after upgrade from OBIEE 10g to 11g :  [nQSError: 14025]

    Hi All, We upgraded RPD and web catalog from OBIEE 10g to 11.1.1.5. I see the following error while running few reports.
    Error: State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A
    general error has occurred. [nQSError: 43113] Message returned from OBIS.
    [nQSError: 14025] No fact table exists at the requested level of detail:
    When I add an user under BIAdministrator Application role and login, all the reports work correctly.
    I verified Oracle BUG fix (11850704) document and tried to make changes as suggested.
    Please suggest me if this issue is related to 10g to 11g RPD upgrade or are we missing any privileges?
    Also should I add every user to BIAdministrator role to avoid this issue?
    Thanks in Advance

    Hi,
    First of all i am not familiar on linux box.
    I tried in windows environment the rpd is deployed with out any errors.
    But i ran the ua.bat file in the following path
    \MWHOME\Oracle_BI1\bin\ua.bat.
    while i am running in oracle_common\bin\ua.bat is not responding in my local system.
    Please Mark if it helpful.
    Thanks

  • OBIEE 10G SSO Issue

    HI
    We have configured OBIEE 10g on IIS (ver-6) server. We have a business requirement where we need to integrate OBIEE with another ASP.NET application. So, user should log in once and to view OBIEE reports he should not log in again.
    Now we have checked GO URL option given in Chapter 11 of Oracle® Business Intelligence Presentation Services Administration Guide. But problem is our company policy does not allow us to pass Password in HTTP URL. So we cannot use that solution.
    We are trying to use SSO and referred to Chapter 8 of Deployment Guide. We followed all the steps give in that chapter
    Also, we modified isapiconfig.xml and entered &lt;CredentialStore&gt; paramaters in it.
    But when we Go to Analytics URL (for remote machine) Login screen show "Not Logged In" message.
    currently we are using REMOTE_USER method as it is given in documention.
    So we did everything by the book. Now my question is:
    1) We do not have any SSO server/Product, is there is any way we can integrate OBIEE application to other ASP.Net application on another IIS SERVER? There was a suggestion that if we pass remoter_user parameter in HTTP header, is it possible to work this way.
    2) Is it possible that if we host both the ASP.NET and OBIEE 10g on SAME IIS server there is way to integrate them using SSO without any SSO server again by passing remote_user HTTP header
    3) What options do we have to integrate ASP.NET application and OBIEE without using SSO server itself and without using GO url method as we cannot pass password in header. Will Cookie Enabling Method can work in this scenerio.
    4) Is there is way that OBIEE directly take windows ID without SSO server, I know question might sound stupid as in prerequisite i read that we need “SSO system of Choice” but we need to be absolutely sure about our option and possibilities.
    we also reffered to following thread:
    10g - how to configure sso with iis-
    But, this one seems to be unresolved So kindly help
    Regards
    Saurabh

    Hi Praveen,
    Thanks for your response. I was doing a bit of R&D on SOAP API, tell me if i am wrong.
    In case we use SOAP API to Authenticate then we will get Response in terms of XML and we have to write our own code to render it in tables or charts.
    We dont want that we just want to automate the Authentication part and want to use OBIEE use Interactive Dashboards. Kindly suggest if I am wrong and if we just write a piece of Code to get the Authentication done and it will not affect the further use of OBIEE.
    Regards
    Saurabh

  • EPMMaster.rpd Fusion Pack migration from OBIEE 10g to 11g

    We have successfully installed OBIEE 10g and 11g on Windows 2008 32bit servers. On the 10g Installation, we have applied the Fusion Pack EPMMaster RPD file and it connects successfully to our EPM warehouse. We want to migrate the Fusion pack to 11g which is also setup on the same platform. Per the instructions in the documentation, we have copied the files (RPD file and Webcat folder) to the 11g server. We run the UA.bat file and it proceeds to start copying the files over fom the RPD and WebCatalog to the new system. It completes this process, but then hangs on starting the Oracle BI server - it never gets beyond that.
    We will be purchasing the EPMMaster RPD and know it is not available yet for 11g – however we’re trying to get ahead of the curve a bit and manually fix the items in the presentation layer that will not render correctly in 11g
    upgrade exception occurred
    Unable to start process: instance1: coreapplication_obis1
    One thing that I noticed – Since the UA tool does not completely finish --
    RPD size on 10g – 42,675KB; 11g – 6,375KB
    I manually change the webcat in Enterprise Manager to the EPMMaster catalog -this actually caused additional errors on restart.
    Has anyone attempted upgrading a delivered RPD to 11g?
    Thanks in advance -

    This is a known issue that we have worked through with Oracle tech support. The Dimension Deduction.Deduction Sid causes an error that prevents the UA tool from completing the upgrade process. There are a couple of ways around this, but the fastest is to simply delete the Dimension, the two related hierarchies and the fact table that is joined to this dimension. Physical table do not need to be touched however. There are still issues once it’s moved to 11g, but those can be addressed post migration. Thanks much to the Oracle support team for helping us out with this issue!

  • Challenges while Upgrading from OBIEE 10g to 11g

    Hi Gurus,
    This is Kiran again. This time I am back with the upgradation issues. We have a client which is currently on OBIEE 10g. All components are already configured in OBIEE 10g with client on RPD, Catalog and implemented all security levels for those.
    Now the challenge is to upgrade all activities which we have configured in OBIEE 10g. I have seen lot of stuff online and understood how to upgrade from OBIEE 10g to OBIEE 11g by simply clicking on ua.bat file. But I am unable to understand the process how it is upgrading the securities and environments.
    Can anyone help me out by providing necessary stuff I need to take care of before taking the decision to upgrade from OBIEE 10g to 11g.
    And also please clear me whether we will have any challenges in upgrading process. If yes, then what kind of challenges we will face and what kind of necessary steps we need to implement to resolve it.
    What kind of Architecture we need to follow?
    How Schedulers will get upgraded?
    Please help me out with your real experiences (Not the online websites). Your response will be highly appreciated and it will help lot of OBIEE professionals who are in the process of upgradation.
    Thanks in Advance to all OBIEE GURUS.
    Kiran

    Hi Valli,
    There is really great information available in this link. But I would like to know whether any one faced any issues while upgrading from OBIEE 10g to 11g. Please do share us few issues....
    Edited by: 949144 on Nov 27, 2012 9:44 AM

  • OBIEE 10g to 11g Migration on LINUX Machine

    Hi All,
    I want to Migrate OBIEE 10g (Windows Environment with SQL Server DB) to OBIEE 11g on LINUX Environment with Oracle DB.
    If anybody know this can you please help me how to do ?Thnaks in Advance.
    As per my Knowledge i know upto this .... "first we need to deploy RPD and WEBCatalog files in to New(OBIEE11g) system and we have to test RPD and WEBCatalog files,Whether these two are working fine or not? Because in OBIEE 10g we have OC4J Server,But in OBIEE 11g Architecture wise it's entirely Different here we have OBIEE WEBLOGIC Server. We have to Deploy RPD in WEBCatlog files in to WEBLogic server. And If any changes have to do in Securities and Variables we need to make changes in that after Migration".
    Regards,
    Prasad.

    Prasad,
    Refer the tutorial here..http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/bi/bi11115/upgrade/upgrade_to_11g.htm#t4s3
    Your approach is correct.

  • OBIEE 10g - Office Add-in - MS Office 2010

    We have all users on MS Office 2010 and our BI app is on OBIEE 10g. Unfortunately the OBIEE 10g Office Add-in doesn't install with MS Office 2010 (It works with Office 2003 and 2007 only). Does anyone knows how to resolve this?
    Other options I tried is to install Office Add-in from OBIEE 11g - It gets installed with Office 2010, but I am not able get OBIEE 10g reports.

    I got the solution. Thought I should share it. The add-in available with latest version of OBIEE 10g i.e. 10.1.3.4.2 works with Office 2010.

  • Requirement to upgrade OBIEE 10g on Windows to OBIEE 11g on Linux

    Dear All,
    I have a requirement to upgrade OBIEE 10g from current windows 2003 environment to OBIEE 11g Linux environment.
    I went through forums and many threads on upgrade, everywhere they talk about Upgrade Assistant (UA). And oracle documentation says ,
    +"Do not change from one platform or architecture to a different platform or architecture as part of the upgrade process.+
    +For example, if the existing 10g system is running on a Windows 32-bit platform, do not install Oracle BI 11g on a Linux 64-bit platform and then run the Linux 64-bit Upgrade Assistant to upgrade the existing 10g system."+
    But there would certainly be scenarios with other users the way I have. Then what is the way out to do this upgrade?
    Can anyone give some advice on this. It is little urgent.
    Thanking in advance.
    Regards,
    Deepika.

    Thats are huge change in platform. win32 to linux 64.
    Yet what we upgrade is only
    catalog and rpd.
    this might involve some manual change if UA cannot complete successfully.
    Its better to do a prototype before the actual upgrade as recommended by Oracle. This will show what can the possible issues and road blocks.
    Edited by: user10615659 on May 23, 2013 11:22 AM
    Edited by: user10615659 on May 23, 2013 12:26 PM

  • OBIEE 10g repository - Business model - logical table to physical table, column mapping is empty

    Hi, I am really new to OBIEE 10g.
    I already set up a SQL Server 2005 database in Physical and import a view vw_Dim_retail_branch.
    The view has 3 columns: branch_id, branch_code, branch_desc.
    Now I want to set up the Business model to map this physical table (view).
    I created a new Business model
    Added new logical table Dim_retail_branch
    In the sources, added the vw_Dim_retail_branch as source table.
    But in the Logical table source window,  column mapping tab, it's blank. I thought it should be able to identify all the columns from vw_Dim_retail_branch, but not. The show mapped columns is ticked.
    What should I do here? Manually type each column?

    HI,
    Just you can drag and drop the columns from physical layer to BMM layer.
    Select the 3 columns and drag and drop it to the created logical column in BMM layer.
    for more reference : http:\\mkashu.blogspot.com
    Regards,
    VG

  • Percentile_Disc Function in OBIEE 10g - Help needed at the earliest

    Hi All,
    I have a requirement of using PERCENTILE_DISC function in OBIEE 10g repository. I tried NTile function, to fetch the percentile. But that is not what am intending to see.
    I have a requirement something similar to this, to be implemented in repository. Could anyone throw some light in this regard?
    PERCENTILE_DISC(.25) WITHIN GROUP (ORDER BY F.Days asc) OVER (PARTITION BY A.NAME, B.PLACE)
    Here F = Fact
    A = 1st Dimension
    B = 2nd Dimension
    Days = Is calculated as TIMESTAMPDIFF(SQL_TSI_DAY, A.DATE, B.DATE). Established Inner Join, to fetch this calculation in to the FACT
    Appreciate your responses at the earliest. Thanks once again.
    Regards,
    Sarat Nallapati

    Hi,
    I don't have any idea on percentile_disc.
    But,in OBIEE we have a function PERCENTILE()
    It will give the percentage of each value in the total sum of all the values.
    once check it.
    Regards,
    Lakshmipathi.

  • OBIEE 10g Getting wrong results when adding calculated columns to a report

    Hi,
    I'm experiencing a possible misbehaviour with OBIEE 10g (10.1.3.4.1).
    I have a simple report with a table. Columns are simply selected from dimensions and facts. In this case the generated query is:
    WITH
    SAWITH0 AS (select sum(T30604.TOTAL_TIME) as c1,
    sum(T30604.MATERIALS_QTT_COST) as c2,
    sum(T30604.AMNT) as c3,
    sum(T30604.QNTY) as c4,
    T30622.BRANCH_CODE as c5,
    T25064.SRP1_CODE as c6,
    T25064.SRP1_DESC as c7,
    T25064.SRP2_CODE as c8
    from
    THK_BRANCHES T30622,
    THK_ITEMS T25064,
    THK_INVENTORY_TRANSACTIONS T30604
    where ( T25064.ITEM_ID = T30604.ITEM_ID and T30604.BRANCH_ID = T30622.BRANCH_ID )
    group by T25064.SRP1_CODE, T25064.SRP1_DESC, T25064.SRP2_CODE, T30622.BRANCH_CODE)
    select distinct SAWITH0.c5 as c1,
    SAWITH0.c6 as c2,
    SAWITH0.c7 as c3,
    SAWITH0.c8 as c4,
    SAWITH0.c4 as c5,
    SAWITH0.c3 as c6,
    SAWITH0.c2 as c7,
    SAWITH0.c1 as c8,
    SAWITH0.c4 as c9,
    SAWITH0.c3 as c10,
    SAWITH0.c2 as c11,
    SAWITH0.c1 as c12,
    SAWITH0.c4 as c13,
    SAWITH0.c3 as c14,
    SAWITH0.c2 as c15,
    SAWITH0.c1 as c16,
    SAWITH0.c4 as c17,
    SAWITH0.c3 as c18,
    SAWITH0.c2 as c19,
    SAWITH0.c1 as c20
    from
    SAWITH0
    Results of this report / query are correct.
    I then add a simple calculation (subtraction between two fields). The generated query is:
    WITH
    SAWITH0 AS (select sum(T30604.MATERIALS_QTT_COST) as c1,
    sum(T30604.AMNT) as c2,
    T30622.BRANCH_CODE as c3,
    T25064.SRP1_CODE as c6,
    T25064.SRP1_DESC as c7,
    sum(T30604.TOTAL_TIME) as c8,
    sum(T30604.QNTY) as c11,
    T25064.SRP2_CODE as c12
    from
    THK_BRANCHES T30622,
    THK_ITEMS T25064,
    THK_INVENTORY_TRANSACTIONS T30604
    where ( T25064.ITEM_ID = T30604.ITEM_ID and T30604.BRANCH_ID = T30622.BRANCH_ID )
    group by T25064.SRP1_CODE, T25064.SRP1_DESC, T25064.SRP2_CODE, T30622.BRANCH_CODE),
    SAWITH1 AS (select D1.c1 as c1,
    D1.c2 as c2,
    D1.c3 as c3,
    D1.c4 as c4,
    D1.c5 as c5,
    D1.c6 as c6,
    D1.c7 as c7,
    D1.c8 as c8,
    D1.c9 as c9,
    D1.c10 as c10,
    D1.c11 as c11,
    D1.c12 as c12
    from
    (select sum(SAWITH0.c1) over (partition by SAWITH0.c3) as c1,
    sum(SAWITH0.c2) over (partition by SAWITH0.c3) as c2,
    SAWITH0.c3 as c3,
    sum(SAWITH0.c1) over (partition by SAWITH0.c6, SAWITH0.c3) as c4,
    sum(SAWITH0.c2) over (partition by SAWITH0.c6, SAWITH0.c3) as c5,
    SAWITH0.c6 as c6,
    SAWITH0.c7 as c7,
    sum(SAWITH0.c8) over (partition by SAWITH0.c6, SAWITH0.c12, SAWITH0.c3) as c8,
    sum(SAWITH0.c1) over (partition by SAWITH0.c6, SAWITH0.c12, SAWITH0.c3) as c9,
    sum(SAWITH0.c2) over (partition by SAWITH0.c6, SAWITH0.c12, SAWITH0.c3) as c10,
    sum(SAWITH0.c11) over (partition by SAWITH0.c6, SAWITH0.c12, SAWITH0.c3) as c11,
    SAWITH0.c12 as c12,
    ROW_NUMBER() OVER (PARTITION BY SAWITH0.c3, SAWITH0.c12 ORDER BY SAWITH0.c3 ASC, SAWITH0.c12 ASC) as c13
    from
    SAWITH0
    ) D1
    where ( D1.c13 = 1 ) ),
    SAWITH2 AS (select sum(T30604.MATERIALS_QTT_COST) as c1,
    sum(T30604.AMNT) as c2
    from
    THK_INVENTORY_TRANSACTIONS T30604)
    select SAWITH1.c3 as c1,
    SAWITH1.c6 as c2,
    SAWITH1.c7 as c3,
    SAWITH1.c12 as c4,
    SAWITH1.c11 as c5,
    SAWITH1.c10 as c6,
    SAWITH1.c9 as c7,
    SAWITH1.c8 as c8,
    SAWITH1.c10 - SAWITH1.c9 as c9,
    SAWITH1.c11 as c10,
    SAWITH1.c10 as c11,
    SAWITH1.c9 as c12,
    SAWITH1.c8 as c13,
    SAWITH1.c11 as c15,
    SAWITH1.c10 as c16,
    SAWITH1.c9 as c17,
    SAWITH1.c8 as c18,
    SAWITH1.c11 as c20,
    SAWITH1.c10 as c21,
    SAWITH1.c9 as c22,
    SAWITH1.c8 as c23,
    SAWITH1.c5 as c26,
    SAWITH1.c4 as c27,
    SAWITH1.c2 as c28,
    SAWITH1.c1 as c29,
    SAWITH2.c2 as c30,
    SAWITH2.c1 as c31
    from
    SAWITH1,
    SAWITH2
    Results of this report / query are wrong: it seems as if some rows "disappear".
    If I delete the filter in SAWITH1 query above ( D1.c13 = 1 ) results are correct.
    Anyone experiencing the same problem? The strange thing is that I have a number of similar reports (on other subject areas) and everyting is working fine.
    Please also note that I don't want to add this kind of calculated items in the RPD (they can be simple calculations that are made on-the-fly).
    Any help would be greatly appreciated.
    Thanks a lot and regards,
    Cristina

    I have the same issue, everything OBIEE server generate query using ROW_NUMBER() over () function, it will hardcode Dx.cx = 1, this will cause issue if you have rows of the same distinct value, thus causing missing rows and the final results will be wrong.
    I have open a SR with Oracle Support since March 2011, but till today, they have not resolve the issue yet.
    Hope they solve the issue soon.
    Best Regards
    KT

Maybe you are looking for

  • How to clear GL in FBL3N

    Hi, How to clear a GL account which shows open in FBL3N. Which T Code to use ??? Regards, Moderator: Please, avoid asking basic questions and use available SAP sources before posting new thread

  • Client-Side Java Application accessing a database

    Hello Sun Forums, I'm developing a Java based client application which accesses a MySQL database server via JDBC. My question is: How can I store the password for accessing the database in a secure way on the client? I'm looking for something like th

  • How to fetch records from LDB ADA...

    Hello Experts, How do I get the asset balances(acquisition values, etc) using LDB ADA in my custom report? I searched the forums and I did not find any suitable posts regarding my requirement. Hope you can help me guys. Thank you and take care!

  • Calling browser/URL from the link on webpage

    Dear Experts, My requirement is, I have a webdynpro component, I need to add a link on particular view which calls another webpage(either in a new window or in same window) if I click on that. To fulfill my requirement I used CALL_BROWSER FM. The pro

  • Question about PickMouseBehavior class

    Hello, I wrote yesterday in this forum, but now my problem is other. I'm doing a extension of PickMouseBehavior class, but I want that these class is only activated with a specific mouse button or when I passing the mouse over determinated Box elemen