Abnormal behavior of Opaque view

Hello Experts,
I have a requirement in OBIEE 10g to create an opaque view.
I have created an opaque view combining 2 facts and 1 dimension table(Included only 1 column in the view) in the physical layer of the RPD with appropriate foreign key joins.
Copied the table to BMM layer, created all necessary complex joins and set the logical levels for the dimensions.
We also have a Inner join with a dimension. Copied the logical table to presentation layer.
Now, I have created a adhoc report by taking columns from the newly created view to test whether the measure values are coming up or not.
When validated the results against the original fact table the amounts were not matching.(Limited the data using fiscal year)
The report which is created from the view is showing less amounts comparitively.
I have tried checking the session log queries of both the view based report and the original fact table yielded report but I didnt see any difference in the session logs.
All the joins in both the queries are one and the same.
While adding another 4 columns from the same view the results are coming good in the pivot table.(Added using trial and error method, these 4 columns were kept in excluded section as these are unused in the report)
Even if I remove one unused column from the report, the measure values are changing.+Another important thing is I havent used any aggregations in the BMM layer for the measures.+
When aggregation is set to Sum in the BMM layer the measure values are getting doubled.(So hasnt set any aggregation in the rpd)
Used the logic IFNULL(Column,0) for all the measures in the rpd. And has set the aggregation to Sum in the pivot table.
Can anyone suggest possible workaround for this issue. This newly created view should show same results when compared to the original report.
Any suggestions are highly appreciated.
Thanks,
Obul

Hi Dpka,
When I set the aggregation rule to sum in BMM layer the measure values are getting doubled.
So I preferred to bypass the aggregation rule in BMM layer and has set it in the pivot table as of now. Does my approach affects anything or wats the exact difference in these two approaches?
Also do you have any clue on how to achieve correct results in the report(opaque view report) I was talking about in my first post?
Thanks,
Obul
Edited by: obul on Jan 10, 2012 4:26 AM

Similar Messages

  • Error while Deploying Opaque view

    Hi,
    I have created an opaque view by selecting the New Physical table...option by right clicking on the database schema. I have written a statement by selecting the Table type as SELECT in the Physical Table dialog box as follows,
    CREATE VIEW <view name> AS <select statement> where my select statement is like this "select * from emp".
    When i'm trying to deploy the view i'm getting the following error:-
    Details: [nQSError: 17001] Oracle Error code: 928, message: ORA-00928: missing SELECT keyword
    at OCI call OCIStmtExecute.
    [nQSError: 17011] SQL statement execution failed.
    Can i know where i'm doing the mistake. Your help is greatly appreciated.
    Thanks,
    Kumar.

    Hi,
    The problem caused because i used the syntax,
    CREATE VIEW <view name> AS <select statement>
    but we need to use only the select statement in the initialization block.

  • Passing Session variable of DATE data type to opaque view filter

    Hi Everyone,
    Can you guys please help me in passing session variable of DATE data type in RPD's physical layer 'opaque view' filter for Oracle database
    I tried following syntax, syntax wise I didn't got getting any error, but at the same time this opaque view is not fetching any records as well. my session variable is "END_DATE" and its value is 1998/12/31:00:00:00(as shown in RPD session windows, datatype is DATETIME)
    SELECT AMOUNT_SOLD, CHANNEL_ID, CUST_ID, PROD_ID, PROMO_ID, QUANTITY_SOLD, TIME_ID FROM SH.SALES
    WHERE TIME_ID =TO_DATE( 'VALUEOF(NQ_SESSION.END_DATE)','MM/DD/YYYY')
    SELECT AMOUNT_SOLD, CHANNEL_ID, CUST_ID, PROD_ID, PROMO_ID, QUANTITY_SOLD, TIME_ID FROM SH.SALES
    WHERE TIME_ID = TO_DATE( 'VALUEOF(NQ_SESSION."END_DATE")','MM/DD/YYYY')
    SELECT AMOUNT_SOLD, CHANNEL_ID, CUST_ID, PROD_ID, PROMO_ID, QUANTITY_SOLD, TIME_ID FROM SH.SALES
    WHERE TRUNC(TIME_ID) = TO_DATE( 'VALUEOF(NQ_SESSION."END_DATE")','MM/DD/YYYY')
    In past, I was able to pass a session variable into a opaque view filter using DATEOF function, but that was in DB2.
    I appreciate your time and help

    Finally, I got right format. here it is
    to_date(substr('valueof(NQ_SESSION.END_DATE)',1,10), 'yyyy-mm-dd')
    and here is the source from where I got this information
    Using OBIEE Session Variables in Select Tables in the Physical Layer

  • Claim and Approval action giving abnormal behavior in worklist app in oim11gr2.

    hi guys
    we have following environment...
    weblogic 10.3.6 and oim 11g r2 bp03 in two node clustered environment which are load balanced with apache http server,everything was working fine with initially configured oim front end url wls.mycompany.com:80,Then we were forced to change the oimfront end url to identity.mycompany.com:80 by following
    1.oim config change
    2.call back url and worklist app changes in approval task of each composites in soa-infra
    Observed following abnormality behavior in approval workflow of application instance provisioning after oimfrontend url change.
    when approver click on approval task ,the claim action popup window displayed successfully
    when approver claim the action and it completes and popup window persist there with blank display(Observed a chopping  of  front end url from  identity.mycompany.com/identity/faces/...... to www.identity.com/faces/.........Then approver needs to close the popup).
    when approver click on approval task the approve action popup window displayed successfully
    when approver approve the action and it completes and popup window persist there with blank display(Observed a chopping  of  front end url from  identity.mycompany.com/identity/faces/...... to www.identity.com/faces/.......Then approver needs to close the popup).
    Application instance provisioning is working fine even though the above abnormal behavior was there...
    Why this url change is happening and How can we fix the abnormal url change from identity.mycompany.com/identity/faces/......  to   www.identiy.com/faces/...... ?
    Regards,
    Jdev

    Hi Ravi,
    Thnaks for your help.I will add this code and i will let you know.
    But the thing is recently 3 months back i implemented this ESS part in one server it is working fine.I'am able to apply Leave,Claims,Loan,travel from EP and the approver is able to approve the requests from UWL.When clicking on the Request in UWL it is launching a webdynpro iview and i'am able to perform the actions.
    Now i'am facing the problem and i hope i did the same config which i did previuosly.
    What would be the reason any Patch levels?
    Thanks and Regards,
    Praveen

  • Bizarre behavior of a View Criteria for a View Object

    Hey,
    I remarked quite a bizarre behavior of the View criteria that I created for my view object, using bind variables.
    lets say I have the generated query in the View object:
    SELECT Paquet.ID,
    Paquet.WEIGHT,
    Paquet.VALUE,
    Paquet.ORIGIN,
    Paquet.DESTINATION
    FROM PAQUET Paquet
    I want to use the executeWithParams with bind variables for this View object.
    I create a bind variable:p_o
    I create the View Criteria vith the visual editor that generates an additional view clause:
    ( ( ( Paquet.ORIGIN LIKE ('%' || :p_o || '%') ) OR ( :p_o IS NULL ) ) )
    test query works and explain plan as well.
    Now, when I execute the view object on a page with the bind variable properly set, I get the error: java.sql.SQLException: Attempt to set a parameter name that does not occur in the SQL: p_o
    Then I copy the where clause generated by view criteria visual edito directly to the query and delete the View Criteria, and it ALL WORKS FINE
    If has to work like that, then what is the View Criteria useful for? I still think that there is a problem.
    Thanks!
    Taavi

    Hi,
    ViewCriterias are not accessed with ExecuteWith Params. For this the bind variable needs to be in the where clause. Named ViewCriterias are listed separately in the DC list
    Frank

  • Creating an Opaque view for generating the Action Link URL in OBIEE EBS int

    Do we have to Creating an Opaque view for generating the Action Link URL in OBIEE Oracle E-Business Suite integration if we are not using BI Applications(DAC). We built our Repository on Materialized views we were using with Discoverer so I'm not sure if we have to do the part that creates an Opaque view in our integration of EBS 11i with OBIEE.
    Thanks in advance.
    Leo

    Hi Leo,
    This is an example from an standard Oracle repository:
    select header_id , line_id, fnd_run_function.get_run_function_url(
    CAST(fnd_function.get_function_id('ISC_ORDINF_DETAILS_PMV') AS NUMBER),
    CAST( 'VALUEOF(NQ_SESSION.RESP_APPL_ID)' AS NUMBER),
    CAST( 'VALUEOF(NQ_SESSION.RESP_ID)' AS NUMBER),
    CAST( 'VALUEOF(NQ_SESSION.SEC_GROUP_ID)' AS NUMBER),
    'HeaderId=' || header_id ||'&pFunctionName=ISC_ORDINF_DETAILS_PMV&pMode=NO&pageFunctionName=ISC_ORDINF_DETAILS_PMV',
    null ) LINK
    FROM isc_book_sum2_f
    They use it in an opaque view, so you can reference session variables for login based on your responsibility.
    Good Luck,
    Daan Bakboord
    http://www.obi-forumlive.nl/

  • Create opaque view in OBIEE with multiple tables

    Hi,
    I need some help with the opaque view since i have never created it in past. I want to create an opaque view which fetches data from multiple tables. Is it possible to do that ? Or is there any other alternate option available in OBIEE ? I read the following blog and other similar blogs on opaque views but could not find option to use it for query with multiple tables:
    Oracle Business Intelligence: Creating Opaque View in Physical Layer in OBIEE 10g
    Also can you please advice how to join two tables from different databases in OBIEE ?
    Kindly advice.
    Regards,
    Andy

    Hi Andy,
    As per my knowledge you can create Opaque View on one table at a time.Joining two tables from different databases yes we can create a report from multiple data sources.Check this
    Rittman Mead Consulting &amp;raquo; Blog Archive &amp;raquo; Reporting Against Multiple Datasources in OBIEE
    Mark if helps.
    Thanks,

  • Need Help on Opaque Views

    Hi ,
    I am using 10g Version.
    In my RPD there are 5 Opaque Views. The report is very slow. How can i overcome this.
    If i create Views in database for this Opaque Views is the perfomance will increase? My clinet is not Accepting the Materialized View.
    Please help me on this.
    Thanks

    Hi,
    Opaque Views can improve the performance but it depends on which scenario you make use of them.
    An opaque view is in the physical layer a physical table that consists of a Select statement .
    In the repository, opaque views appear as tables in the physical layer but the view does not actually exist.
    Opaque views can be used without deploying them but the Oracle BI Server has to generate a more complex query when an opaque view is encountered.
    Databases such as XLS and nonrelational database do not support opaque views and, therefore, cannot run the view deployment utility.
    To verify opaque views are supported by a database, make sure that the CREATE_VIEW_SUPPORTED SQL feature is selected in the Database dialog box, in the Features tab
    Also refer the below links for better understanding:
    http://docs.oracle.com/cd/E10415_01/doc/bi.1013/b31770.pdf
    http://gerardnico.com/wiki/dat/obiee/opaque_view
    Regards
    MuRam

  • Creating Opaque views in 10g

    Hi team
    I wanted to know that , Is it possible to create opaque view for a table( In Physical layer ) without necessarily importing the table into the physical layer for which view has to be created .
    Thanks

    Hi Rohit
    Yes, sure it's possible. An opaque view is just a physical source based on a select statement. You can create this in the physical layer and add the columns manually.
    Paul

  • RE: opaque view in RPD

    Hi Experts,
    why we have to create opaque view in RPD  instead of creating in Physical layer we can create in DB and import it to the physical layer right.
    If we consider the performance which one is efficient in both view DB or RPD
    Regards,

    If you create a Opaque view OBIEE will execute it as a Subquery, otherwise if you create a view on the DB you won't have a Subselect, that's the main difference.
    I would only go for Opaque views if there's no other solution as you can have serious performance issues.
    Based on exp I would go for DB view, it performs better and the maintenance easier.

  • About Opaque view

    When do we go for opaque view. IN what type of case we got for it.What it's adv and dia-adv?

    An opaque view is in the physical layer a physical table that consists of a Select statement .
    In the repository, opaque views appear as tables in the physical layer but the view does not actually exist.
    How to Create Deploy Views?
    You deploy an opaque view in the physical database using the Deploy View(s) utility.
    After deploying an opaque view, it is called a deployed view. Opaque views can be used without deploying them but the Oracle BI Server has to generate a more complex query when an opaque view is encountered.
    Databases such as XLS and nonrelational database do not support opaque views and, therefore, cannot run the view deployment utility.
    To verify opaque views are supported by a database, make sure that the CREATE_VIEW_SUPPORTED SQL feature is selected in the Database dialog box, in the Features tab.
    Source: http://gerardnico.com/wiki/dat/obiee/opaque_view
    Please awards points if this helps.
    Thanks,
    -Amith

  • BIWS abnormal behavior

    Hi Friends
    Currently we are working on  SAP BW 7.4,BO 4.1,Dashboards 4.1 environment
    1)Bex query based BO Webi Report is designed and running fine with 4 blocks
    2)4-Blocks based 4-BIWS are used to design Dashboard
    3)When dashboard is previewed for 1st time any 1BIWS will return data but not other 3 and in 2nd refesh any 3-BIWS returns data but not 1-BIWS
    Could any one suggest the probable reason behind this abnormal behavior
    Regards
    Bose

    Hi Bose,
    This was a bug and is fixed in BI 4.1 SP 5 Patch 3.After appying this patch follow the step in  KBA as below
    You can follow the KBA 2114577 - Dashboard is randomly not complete when consuming multiple
    different "Document As A Web Service" web services
    Regards,
    Amit

  • How to change sorting behavior in column view in Lion Finder?

    I love the ability to sort in column view in OS X 10.7. However, when I switch to column view and let sort by label, the Finder displays a strange behavior: The files are grouped by label, but in the order of lee to more. It does not seem possible to display according to the label order set in the Finder prefs.
    This is somewhat irritating. Is there a way to change this can make it consistent to the label order?
    The label order in the Finder was set to "Prio A", then "Prio B" and so forth.

    If I set it to "Arrange by", I get them sorted by file name, irrespective of the color.
    If I change that in the View Options, I get them sorted according to label, but not in the label order of the Finder prefs.

  • "Save As..." with abnormal behavior (bug in setting correct path)

    When opening a pages (or numbers) document by double clicking the document e.g. in list view in the Finder window, and then select "Save As...", the path (target directory) shown and used is the path where you last saved a document. The correct behavior would be, that the path (target directory) of the currently opened document is used.
    Cause of this bug you often have to search your "saved as" documents and
    really have a disruption in the workflow. As well if you remember to select
    the correct path it is a disruption in the workflow.
    So where is the correct place for this information for having a chance that developers get alerted and fix this major bug, cause "Save As..." is a very often used and important operation.
    Thanks.

    The recognition of a - as you tell me - consistent falsity is even more important.
    The subject itself, not the apologetic defense like a dogma should be discussed. Playing on words does not bring any improvement.
    I spent my time writing this content, for helping us to improve the product, or in this case, help to recognize a mistake. Not i want to come to the fore, it is for us. I already explained the reasons, which can be understood by the nature of the matter itself.
    E.g: Adobe Products as Photoshop, AI, ... are examples you are looking for. But the question for examples is not needed, cause the cognizance of the benefit is enough. If the majority is wrong, you will always be able to bring more wrong examples, so the cognizance is more important.
    As Adobe has always been one of the great partners and e.g. Photoshop, Xpress, now InDesign lead to Apples customers from the beginning, the behavior of "Save As..." is well defined by these chief products that have been used since the beginning, but not as a dogma, instead the behavior has - as explained earlier - a very good reason.
    So i am very thankful, that you explained that it is a consistent rule. I know about these consistencies, but did not know that this behavior is also defined as a consistent rule. As e.g. Adobe does not use this rule it seems that it is not one of the very strict rules, like where the "file" or "edit" menu has to be.
    I hope i could repacify you, cause of my figure of speech using "All other applications". You did not tell me your thoughts about the real content and my explanation. Don´t you agree with my cognitions for us?

  • Different behavior for Power View between Excel and Power Bi Site

    Hello,
    this problem is driving me crazy...
    I have a PowerPivot Data Model and created a PowerView that includes three charts for the 
    Year, Quarter, Brand and a matrix that allow me to drill down the different projects. Each Project in the matrix can be clicked to view the project details.
    The strange thing is that in Excel on my Desktop and in the Power Bi App for Surace RT when i press the Project in the drill down the previous filters remains set, while if i do the same in Power Bi Sites the filters are lost. I tried with Chrome and IE
    but behavior the same. Am i missing something?
    Thank you so much

    Dear Will,
    thank you so much for your reply.
    I'm attaching come screenshots from Power bi site i remove the clases and the data, but you should have an idea of the scenario. Actually I'm not setting the Year and Quarter filter as view filters in the Power View.
    I'm just using Cross filtering and i realize that the behavior is different between Excel Desktop and Power Bi Surface RT app and the bi sites (with all browsers).
    First image with 2014 set (just clicked on 2014) the data on the Matrix have been deleted.
    After i select the drill down:
    Thank you so much for your help, I really appreciate it!
    --silvano

Maybe you are looking for

  • Moving photos from an ipod to a windows computer

    Friend of mine had his PC hard drive crash and lost all the photos on his hard drive. Fortunately, all the photos were synced to the iPod photo. Unfortunately, I have not been able to find a way to transfer photos from the iPod to another PC (since t

  • Java and oracle in linux

    hello frnds...i have installed oracle 10g in ubuntu 11.04....now i want to make database connection between java and oracle...so how can i do it??i know the java code..but the main problem is database driver..how can i give the classpath for specific

  • Any EVAL() equalant functions in SQL or PL/SQL

    good day i have 2 loops , outer loop has the real data from a table and inner loop has the column name to be selected from outer loop. so in runtime, i need to select the columns dynamically .thats why i use inner loop. please see below. for i in dat

  • How to -services?

    Hi,When I build source code in flex builder 3,I use a parameter like this -services "c:\folder\folder\folder\file.xml" , It is Weborb "services-config.xml" file but when I used this parameter,flex put the data into compiled .swf file.So I cannot chan

  • ICloud Drive doesn't sync on my MacBook Pro.

    Hello there. I've noticed many issues with iCloud Drive since they activated it on Yosemite. I only can manipulate it via Safari (add or delete my files, move it into folders etc), but it doesn't sync in Finder on Yosemite. When I've tried to refresh