Use of MV's in OBIEE

Hi all,
I am having 1 table(MV) which is having month,quarter and year columns,a measure column and a level_id column. If the value of level_id=5 then year column of this table should join with time denorm table at year column and if level_id=7 then quarter column should join with time denorm at quarter level.If I create a complex join between this table and time denorm and write the conditions as(level_id=5 and table.year=denorm.year) or(level_id=7 and table.quarter=denorm.quarter).but when I select that measure and year then in OBIEE query is having in where clause all the possible combinations of the baove join.Can anyone please tell me how can I model this in physical layer in OBIEE?
And 1 more doubt since it's(MV) joined to denorm table (time) in answers I am getting the wrong results because that measure is aggregated that many times(ex. quarter is joined to quarter ....for every quarter we are having lot of rows in denorm so when the measure is taken from denorm and joined at quarter level that measure is aggregated that manytimes as many rows are there for that quarter).
Thanks and Regards,
Amrit

use a complex join in the physical layer ;)

Similar Messages

  • Filter on the reports created using DIRECT DATABASE ACCESS in obiee 10g

    How do i filter on the report that is created by using DIRECT DATABASE ACCESS in obiee 10g?
    I have reprot A with link to report B, report B is created using DIRECT DATABASE ACCESS. so it is just a table, but i need to filter out 2 columns.
    here is the query in REPORT B:
    select strm, acad_group, crse_id, class_section, count(emplid) from v_crse_enrl
    group by crse_id, strm, class_section, acad_group;
    the link in REPORT A:
    '<a target="_blank" href="'||VALUEOF("bi_link")||'Go&Path=CF_CROSS_TEACHING_LIST&ACTION=Navigate&col1=STRM&val1='||view1_DIMEN.STRM||'&col2=CLASS_SECTION&val2='||TRIM(view1_DIMEN.CLASS_SECTION)||'">' ||view1_dimen.class_id||'</a>'
    from this link to report B.
    thank you!!

    I didnt tested using url, but the same works with using presentation variables.
    To your direct sql add where clause for those two columns like WHERE col='@{col1}' and col ='@{col2}'
    and try to run from url.
    let me know updates

  • What is use of protect filter in OBIEE

    Hi guys,
    Could you please let me know what is use of Protect filter in OBIEE ?
    Regards,
    sk

    "Protect filter" basically "hard-codes" a filter so that it won't be overwritten.
    Say you want to always filter a column for "X," but also want to include a value from a dashboard prompt. So you write the following:
    table.column = 'X'
    or
    table.column "Is prompted"
    The user chooses the value "Y" from the prompt and the filters now look like this:
    table.column = 'Y'
    or
    table.column = 'Y'
    Gone is the "X" value because it was overwritten by the prompt. If you protect the top filter, you will get:
    table.column = 'X'
    or
    table.column = 'Y'

  • Is it possible access to dashboards by using network users insted of obiee

    Hi,
    can anybody have idea about this
    is it possible access to dashboard by using network users.insted of obiee users.i.ewhen you are login into presentation services it will ask user name and password. in this case it will not like that when we are log in to the sysytem by using user name and password.by using that user name and password it can directly access to the dashboard is it possible or not?means that by using network username and password can i able to login to the dashboard by cliking the presentation url.with out asking username and password again.
    please help me
    thanking you

    Yes, you can and if your presentation services are hosted on a windows server, thats lot more easy. While the presentation server is being promoted, you can have users get authenticated using LDAP/AD and that way, you need not go through typing username/pwd once again.
    Configure SSO
    Set IIS authentication to “Windows authentication”:
    Open IIS Manager => Select Default website => Right-click => Properties => Directory Security tab => Authentication and access contol => Edit … => deselect “Enable anonymous access” => Select “Integrated Windows authentication” => Ok => Ok => Select All => Ok
    Open the instanceconfig.xml file (located in OracleBIData\web\config). Set <SSO enabled = “true”>. Save and close file.
    Restart your server and start your OBIEE services.. You are good to go now.
    Like others said, may be you are better off with closing your questions so others can use it.

  • Unable to Open RPD in online mode by using the Admin tool in OBIEE 11g.

    Hi All,
    I Installed OBIEE 11g (11.1.1.5) in Linux Box.
    When I am trying to Open the RPD in online mode by using the Admin tool, I am facing the below error.
    Logon failed due to:[nqsError:43113] Message returned from obis
    [nQSError:13037] Cannot connect to BI Security Service,please make sure this is running properly (with SSL ot not) in EM.
    [nQSError:37001] Couldnot connect to the Oracle BI Server Instance.
    All my services are up and the status are Alive,My biserver is in Running Mode and I am able to open the Answers page too.
    I am able to open the same RPD in Offline mode but not in Online mode.
    I Created a System DSN in ODBC Data Source Administrator for opening the RPD by using the OracleBIServer1 driver,still the issue doesnt resolve.
    Any help is highly appreciated.
    Thanks,
    Praveen.
    Edited by: 885630 on Dec 21, 2011 3:33 AM

    Hi All,
    This question is answered.
    The Resolution is
    While Installing the RCU i created two instances so the RPD is not able to take the correct instance.After deleting the other instance now i am able to open the RPD in online mode as it is pointing to only one instance.
    Thanks,
    Praveen.

  • Issue in using rpd and webcat of OBIEE 11.1.1.5 on 11.1.1.6

    Hi All,
    I went through many topics on forums on how to upgrade the rpd and webcat from 11.1.1.5 to 11.1.1.6,it was mentioned that :
    The obiee11.1.1.5.0 RPD,Catalog are supporting in obiee11.1.1.6.0 version. but should deployee it via Weblogic EM(FMW)
    http://obiee11gqna.blogspot.com/2011/05/obiee-11g-deploy-rpd-create-new-catalog.html
    I tried using the same rpd and webcat from obiee 11.1.1.5 and followed the above steps but after services are successfully started I cannot open the rpd in online mode it throws the error:
    Successful completion of init block 'FndGetSecContext' is required.
    could not connect to the bi server instance
    and also on opening webcat its not accepting the paassword which earlier it had accepted.
    Can someone please let me know what could be the cause for the above issues.
    Thanks in Advance.
    Regards,
    Amrit

    Hi,
    befor deploying your obiee11.1.1.5.0 RPD file just open as offile mode via obiee11.1.1.6. rpd then try check the
    metadata gloable consistency (ctrl+k) then make sure no error i hope there is some issues on your init block its making problem just fix it then try deploy it and refresh GUID then try to login analytics it should work.
    Note: there are some init block (I hope this init block FNDGetSecContext having problem just double check )
    are failed just make sure and delete unused variables and init block and one more thing are u integrated with EBS?
    thanks
    Deva
    Edited by: Devarasu on Jun 21, 2012 1:53 PM

  • Use of lookup table in obiee 11g

    Hi All,
    I am working on OBIEE 11g RPD.
    Under BMM layer, when select logical table and go to there properties, In general section we have lookup table check box.
    what is use of that lookup table check box in obiee 11g.
    Thanx and Regards
    Prashant

    Please go thru this blog...nice explanation on Look up tables - new functionality in 11g
    http://www.rittmanmead.com/2010/08/oracle-bi-ee-11g-lookup-tables-sparse-and-dense-lookups/

  • What is use of set operators in OBIEE

    Hi Guys,
    Colud you please tell me what is main use of Set Operators (Intersection,Union,Union all)in OBIEE.
    Is it mandatory to use them in reports?
    Pls tell me.
    Regards,
    siva

    Hi,
    What scenario we are using set operators.
    For Eg.
    Col 1 is having values:
    A
    B
    C
    Col 2 is having values:
    1
    2
    3
    I have to create a new column in answers having values
    A
    B
    C
    1
    2
    3
    solution:
    You can use SET operators in OBIEE and it's really easy to set it in answers section. So create one request and then add other similar request to it by using UNION operator.
    or
    we can use case statement also.
    2. Is it mandatory to use them in reports?
    Normal reports not mandatory.
    Hope it helps.
    Thanks,
    satya

  • Using Essbase security filter in OBIEE request ?

    Hello,
    We would like to use OBIEE 11.1.1.6 with Essbase source. We already use Essbase security filter (on dimensions).
    For example, "userA" is allowed to access to Entity A and not Entity B and the opposite for "userB".
    If I loggin as "userA" in OBIEE, is it possible for OBIEE to connect to Essbase with "userA" so that Essbase return data only on Entity A and not Entity B ?
    Thanks!

    Hi,
    The way let OBIEE users, have Essbase security filters running for them, is by integrating OBIEE and EPM using Single Sign On. When, both OBIEE and EPM talk to the same Identity Store like OID/MSAD, you can set this up. For more integration steps, refer to http://www.google.com.sg/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&ved=0CDAQFjAA&url=http%3A%2F%2Fwww.oracle.com%2Ftechnetwork%2Fmiddleware%2Fbi-foundation%2Fhfm-sso-obiee-1112x-1835570.pdf&ei=O7ElUeCTApGzrAeelIHwCw&usg=AFQjCNE1BzMQU6Cwny-0IwcvxkfxeqlONg&bvm=bv.42661473,d.bmk
    Hope this helps.
    Thank you,
    Dhar

  • Using System DSN Credentials in OBIEE 10g

    Hi Gurus/Experts
    This is what i read in one of the blogs... that If the Shared Logon option is not selected, connections through the connection pool use the database user ID and password specified in the DSN
    http://oracle-bi.siebelunleashed.com/articles/more-on-connection-pools/
    Thought of giving it a try..
    so created a System DSN
    In Connection Pool, Disabled the shared logon and chose the ODBC 3.5 and gave the DSN name from the dropdown.
    Now i am getting the below error in the Physical layer itself while viewing data...
    A general error has occurred. [nQSError: 16001] ODBC error state: 28000 code: 1017 message: [Oracle][ODBC][Ora]ORA-01017: invalid username/password; logon denied.
    My Question
    Can we really  use the credentials from the  System DSN , if the Shared Logon is unchecked?
    Note: The DSN is working fine when i test it...
    Thanks
    Ashish

    Let me tell you what i did..
    My Rpd was working fine and i had Shared Logon thing checked...
    Then i read this blog... and i thought of trying it out.. ie trying to use System DSN's credentials to see data... [can we store password in System DSN?]
    After that i went to the connection pool and removed username and password ( ie gave blank or null there) and unchecked the shared logon thing.
    [If i am disabling the shared logon  then whether i give username, password or not should be immaterial .. right?]
    Now i saved the Rpd... and then tried to view the data in physical layer ... its throwing the above error... or in other words its not taking the credentials that i had given while creating System DSN in windows [ ie in Run  type odbcad32 then that DSN stuff]
    Make sure the Physical Schema in Physical Layer RPD (green folder) is same as you have schema name is Database. Its same
    If this option is not selected, connections through the connection pool use the database user ID and password specified in the DSN or in the user profile.Specified in the DSN... see i mean the System DSN ie accessed in windows... and i havent given any user specific logon in OBIEE...
    You can also check the checkbox for required fully qualified names..Its already done...
    Let me know if you need more details
    Thanks
    Ashish

  • Using Essbase as source for OBIEE 10.1.3.3

    Our company is in the process of implementing OBIEE 10.1.3.3 and I was trying to import an Essbase database (7.1.6) as a source for the Physical layer. However it looks like there was a change from 10.1.3.2 to the version we have. The docs show you can select File/Import/XMLA, however in the newer version instead of XMLA you have "From Multi Dimensional...". When I select this option and fill in the Essbase Server name,ID & pswd it crashes the OBIEE Administrator client.
    The error I get before it wants to "Send the Report" mentions this:
    AppName: admintool.exe     AppVer: 10.1.3.3     ModName: essapinu.dll
    ModVer: 7.1.6.6218     Offset: 00008282
    I then tried another way by right clicking on the Physical layer and choose "New Database". In there you have a option for the database of "Essbase". However, even when I fill in the server and ID & pswd I can't find anything in the docs showing you how to have it list the Essbase applications and Databases. According to the Oracle Support the docs for 10.1.3.2 are the latest docs which don't mention anything about connecting to Essbase that I can see.
    Has anyone tried to use Essbase as the database source for OBIEE 10.1.3.3 and been successful? Any info would be helpful!!
    Thanks!

    It is my understanding you need at least 10.1.3.3.2 (upgrade/patch).
    I'm currently on 10.1.3.3.0 and will be using ESSBASE shortly - so we actually have purchased 10.1.3.3.3 (OBIEE Plus).

  • How to pass multiple parameters to Query using START WITH, CONNECT BY OBIEE

    Hi
    I have following oracle query which need to be used as a Data Source in OBIEE Physical Layer. I guess I have to create stored proc. How do I implement this in OBIEE RPD and how do I implement the respective Dashboard prompts for the parameters.
    SELECT
    CIRC.PATH_NAME, CIRC.BANDWIDTH , CIRC.CATEGORY, CIRC.CUSTOMER_ID,
    CIRC.STATUS, CIRC.CUSTOMER_NAME,
    QUER.LEV
    FROM
    CIRCUIT_PATH circ, VAL_CUSTOMER cust,
    ( SELECT
    DISTINCT CIRC_PATH_INST_ID, LEVEL LEV
    FROM
    CIRC_PATH_ELEMENT
    START WITH
    CIRC_PATH_ELEMENT.CIRC_PATH_INST_ID IN ( SELECT
    DISTINCT CIRC_PATH_INST_ID
    FROM
    PORTS a
    WHERE SITE_NAME = @variable('Enter a Site Name')
    AND CARD_SLOT = @variable('Enter a Card Slot')
    CONNECT BY
    PRIOR CIRC_PATH_ELEMENT.CIRC_PATH_INST_ID =
    CIRC_PATH_ELEMENT.PATH_INST_ID
    AND ELEMENT_TYPE != 'K' ) QUER
    WHERE
    circ.circ_path_inst_id = QUER.CIRC_PATH_INST_ID
    and circ.cust_inst_id = cust.cust_inst_id (+)
    ORDER BY
    LEV DESC , CIRC.PATH_NAME ASC, CIRC.BANDWIDTH ASC
    Thanks
    DG

    Hi John
    Thanks. I looked at your URL. I do have package. Just using procedure. So my initialization string (For stored proc in Physical Layer of RPD) is
    exec demo.add_employee(VALUEOF(NQ_SESSION.empid1));
    But when I run request in Answer I get the error
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 17001] Oracle Error code: 900, message: ORA-00900: invalid SQL statement at OCI call OCIStmtExecute: exec demo.add_employee(105); . [nQSError: 17011] SQL statement execution failed. (HY000)
    What should I put in initialization string in RPD?
    Thanks
    DG

  • Creating Union Report using 3 different reports in OBIEE 11.1.1.5.0

    Hi Gurus,
    This is my first time where I am creating a union report, I have a urgent requirement to create a union report using 3 different reports and it has 3 common dimension columns and each report has 3 measures and a measure label, and 1st report measures has to show $ amounts with column names ,2nd report measures has to show % with column names and 3rd units with column names, the result should be in pivot with all columns and measures ,can someone please help me with steps to approach,I am really confusing with the results when i tried, I really appreciate your inputs.
    Thanks
    KP

    Addendum: I've tried it with CSV instead of XLS. Again, the repository appears to work just fine, but in Answers I get this message, similar to the Excel 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: 16001] ODBC error state: IM006 code: 0 message: [Microsoft][ODBC Driver Manager] Driver's SQLSetConnectAttr failed. [nQSError: 16001] ODBC error state: S1009 code: -1023 message: [Microsoft][ODBC Text Driver] '(unknown)' is not a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides.. (HY000)

  • How can i use the Ratio_to_report function in obiee

    Hi,
    I have to use ratio_to_report function to create the report.
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/functions124.htm.
    this is the link which explains the usage of this function.This function computes the ratio of a value to the sum of a set of values.How can i achieve this in BI
    Please help me
    Thanks,
    saichand

    Hi Sai,
    One more approach is:
    Use pivot and duplicate the measure in Measures block.
    For Duplicated Measure, go to More Options > Show Data As > Index of > Column
    Even it serves the same purpose...
    Hope you got my point... :)

  • Wat is the use of Advance tab in obiee

    hi all ,
    What is the use of advance tab , and that xml thing ..
    can any one tel me about it
    Thanks

    791907 wrote:
    hi all ,
    What is the use of advance tab , and that xml thing ..
    can any one tel me about it
    ThanksIf you actually go into the Advanced tab you will find some meaningful descriptions against everything on it.
    'That XML Thing' , its the definition of your report, criteria panel, views on the results tab.

Maybe you are looking for