OBIEE 11G - problem with calculating percentage

Hi,
I have a problem with calculating a percentage....
I have a 2 measures Success and Failure
where Success is a count(Response_key)
Failure is a count(failure_key)
I want Success/(Success+Failure) * 100
I am getting this value as a 0
Infact any column I take from the subject area and say count of that column and divide it by any integer say count(column1)/5 ,Say count of that column1 is 132 Eg: 132/5 , Its showing this value as 26.00 when I put decimal value to 2 , but it is 26.4...It is avoiding decimal values .
So in my case success/(success+failure) in which Dr is greater than Nr . Since we get the value as 0.something . It is showing 0 value
So , 0*100 it is showing me as 0%
Can anyone please help me on this ??
--Siri                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Yes, you need to put cast in numerator alone to get the resultant output in double.
You can mark the post as Correct since your issue is resolved now.
Thanks

Similar Messages

  • Obiee 11g . problem with set default as columnname in interaction tab

    Hi Obiee gurus ,
    I have small problem with set default option in interaction tab in column properties. actually my problem is , i changed one column bold save as set default option bold and how to revert back to my column option. when i create new analysis with same name . it takes set default option for that column.
    can Please give some suggestion for this problem.
    regards
    Srinivas

    Hi Srinivas,
    i guess this will be same for 11G
    Refer
    http://blogs.oracle.com/siebelessentials//2008/08/remove_systemwide_default_sett.html
    thanks,
    Saichand.v

  • Obiee 11g problem with dimension time DATETIME

    Hi experts!
    I have a problem with a column of my time dimension. In my database I have a column called "DATE" and it has this format "01/12/2009 00:00:00" (property column is DATETIME) when I import this table in Oracle Administration I see the same format that my database but I want to see without any Hours,minutes...like this: "01/12/2009"
    How can I fix this??
    Thanks!!!

    Hi alex,
    check the column name your passing and then cast it....the error is not related to that i suppose as it is internal assertion.
    chk this http://tipsonobiee.blogspot.com/2009/06/error-nqserror-46036-internal-assertion.html
    UPDATED POST
    You can alternatively use oracle trunc function in the physical layer to trunc the timestamp.
    1) go to the table where the date column is coming in physical layer
    2) go to the general properties and select SQL and write the SQL of all the columns needed from that table like
    select x,y,z,trunc(date) from table_name.
    3) this truncates the timestamp
    UPDATED POST-2
    By the way which database are you using,if its oracle trunc works out....other databases it wont work
    select trunc(sysdate) from dual in your TOAD and check out.
    hope helps you,
    Cheers,
    KK
    Edited by: Kranthi.K on Jul 27, 2011 3:15 AM
    Edited by: Kranthi.K on Jul 27, 2011 4:01 AM

  • OBIEE 11G: Issue with Agent

    Hello All,
    I am trying to make agent work in OBIEE 11G together with Active Directory settings but the agent are failling for some users. Some users are not able to send the ibots:
    We get the following message with Agent Failed:
    Agent ID: XXXXXXX
    No devices for user: XXXX
    Agent ID: XXXXXXXX
    No Content for user: XXXX
    Kindly note that I have already checked the My Account of these users and the email address is well present there.
    Can anyone help us investigate on this issue.
    Thanks and Regards

    Where do you have your LDAP configured
    Is it in RPD or in Weblogic?

  • OBIEE 11g Issue with "group by"

    Hello,
    I have issues with the physical queries generated by OBIEE engine.
    All the facts are at detailed granular level. when I query the table, group by clause is excluded from the query. following is the sample query generated by OBIEE 11g engine.
    select 0 as c1,
    D1.c2 as c2,
    D1.c1 as c3,
    D2.c3 as c4,
    D2.c2 as c5,
    D2.c1 as c6
    from
    (select distinct T48494.SMBL as c1,
    T48494.EXP_DT as c2
    from
    VW_CONTRACT_DETAILS T48494
    where ( T48494.EXP_DT in (TO_DATE('2012-09-03 00:00:00' , 'YYYY-MM-DD HH24:MI:SS'), TO_DATE('2012-09-19 00:00:00' , 'YYYY-MM-DD HH24:MI:SS')) )
    ) D1,
    (select sum(T48494.TRADED_VOL) as c1,
    sum(T48494.TRADED_VAL) as c2,
    sum(T48494.TOTAL_TRADES) as c3
    from
    VW_CONTRACT_DETAILS T48494
    where ( T48494.EXP_DT in (TO_DATE('2012-09-03 00:00:00' , 'YYYY-MM-DD HH24:MI:SS'), TO_DATE('2012-09-19 00:00:00' , 'YYYY-MM-DD HH24:MI:SS')) )
    ) D2
    order by c3, c2
    I'm getting similar kind of issues(exclusion of group by from query) even when i query other fact tables as well. Is there any global change to be made?
    Regards,
    Kishore

    Does it mean you are expecting a group by on
    D1.c1, D1.c2?
    So query should like
    select 0 as c1,
    D1.c2 as c2,
    D1.c1 as c3,
    D2.c3 as c4,
    D2.c2 as c5,
    D2.c1 as c6
    from
    (select distinct T48494.SMBL as c1,
    T48494.EXP_DT as c2
    from
    VW_CONTRACT_DETAILS T48494
    where ( T48494.EXP_DT in (TO_DATE('2012-09-03 00:00:00' , 'YYYY-MM-DD HH24:MI:SS'), TO_DATE('2012-09-19 00:00:00' , 'YYYY-MM-DD HH24:MI:SS')) )
    ) D1,
    (select sum(T48494.TRADED_VOL) as c1,
    sum(T48494.TRADED_VAL) as c2,
    sum(T48494.TOTAL_TRADES) as c3
    from
    VW_CONTRACT_DETAILS T48494
    where ( T48494.EXP_DT in (TO_DATE('2012-09-03 00:00:00' , 'YYYY-MM-DD HH24:MI:SS'), TO_DATE('2012-09-19 00:00:00' , 'YYYY-MM-DD HH24:MI:SS')) )
    ) D2
    group by c3, c2 ---> added line
    order by c3, c2

  • OBIEE 11g integration with sharepoint or any with any other webserver possibilities

    HI All,
    Can we integrate OBIEE 11g Analysis and dashboards to SharePoint server ? If yes could you help us guiding in right way of implementing this request. Any kind of help on this is highly appreciated.
    Can we use existing Weblogic web server to build some internal web applications. (Work flow tools)
      Maker checker application:
    We have Ops users which they send the daily reports to Traders for approval. Based on the approvals, end of day data will be reload into DB for Month end reporting. Reports are generating from OBIEE  11g.
    Thanks,
    Pavan

    Hi,,
    Thanks for your update,
    Kindly provide any other document for obiee 11g integration part with Windows active directory
    Thanks
    Edited by: user11018780 on Feb 9, 2011 7:22 AM

  • Using OBIEE 11g Analytics with VPD database

    We are new to the OBIEE world. Our background has been in Discoverer for the past eight years. With Discoverer, the database handled all VPD issues. We simply had users create private database connections and Discoverer Plus would pass the user's credentials to the back end where a VPD policy would attach a predicate to a user's queries.
    So I guess our question is, How do we accomplish the same thing in OBIEE 11g for Analytics? We don's see any way to get around the need for a shared connection pool, and we cannot see any way to add a database login screen, nor would we want to.
    We are seeing things called initialization blocks and variables in the help files. We are assuming we will have to create some way of capturing the user's ID and passing it to the back end.
    We can't be the first ones to face this challenge, so any help is appreciated.
    Thanks in advance,
    Ken

    in the connection pool, you can use :USER and :PASSWORD and these will send the OBIEE login to the db, assuming each OBIEE user exists as a db user this should sort you out.
    Alternatively, you implement a psuedo-VPD using OBIEE Security filters, assuming you have access to the tables that VPD is using, you can hold the predicates to be applied in variables via INIT blocks and have OBIEE apply them on an as-needed basis. Check security filters in the documentation.

  • OBIEE 11g Prerequisites with SQL Server 2008 Express Edition

    Hi,
    I want to install OBIEE 11g with SQL Server Express Edition 2008.
    Is it possible to install OBI with SQL server express edition or not.
    Please send me prerequisites of OBIEE11g with SQL server.
    Thanks...................

    Hi,
    The link above gives a excel document with pre-requists, However if not working see below links;
    http://docs.oracle.com/cd/E23943_01/bi.1111/e10539/c3_requrmnts.htm and
    http://www.oracle.com/technetwork/middleware/ias/downloads/fusion-certification-100350.html
    In the second link serach for System Requirements and Supported Platforms for Oracle Business Intelligence Suite Enterprise Edition 11gR1 (11.1.1.3.0-11.1.1.6.0) ( xls)
    Don't forget to mark Correct.
    Thanks and Best of Luck,
    Kashi

  • Union report in obiee 11g problem

    HI,
        I build union report in obiee 11g.In that report i have one column i.e Financial month.I have excluded Financial month column in table view.
        Now my requirement is I have to show results based Financial month at dashboard.For example if i select particular month in dashboard prompt,that month data has to reflect on dashboard.
        For getting results I created one dashboard prompt i.e Financial month and kept 'is prompted' at report level.But am not getting results means if i select any value from Financial month prompt then the report on         dashboard will not reflect.Please help me how to get data based on Financial month.
    Regards,
    Kumar.

    Hi,
    you said about writing query in DB.......whether U meant of trying checking the query in toad..or something else..........
    Since im giving only one join from dim to fact in the physical diagram........
    But more than one join exist between those dim and fact, but im giving only one join mainly the primary key column of the dimension table to the fact table....Whether i need to give all the joins that exist(even if it has 2 or 3 joins between those fact and dim) tables....
    If i give count distinct means it is giving count for every nation as 1....like i mentioned below
    NATIONALITY<----------------------------------------------------->NATION COUNT
    INDIA---------------------------------------------------------------------1
    AUS------------------------------------------------------------------------1
    CAN------------------------------------------------------------------------1
    Since you said to check about depts of the particular column....i couldn't able to understand about "depts" that you meant????
    Whether i made any logical mistake...........
    thanks,
    Harry...
    Edited by: HariPrasad on Oct 10, 2010 9:55 PM

  • 11g problem with Win7 starter

    Taking a class and the book came with Oracle 11g DVD. Tried to load it onto my laptop and get an error when checking the operating system. The error is something like "expecting 5.0, 5.1, or 6.0 received 6.1" which I am assuming refers to Win7 vs vista/xp etc... Is there a way I can tell from the DVD 11g version # (afraid I don't have it in front of me now) which version of 11g came with the book and which version file(s) I should download from Oracle to run with Win7 starter?
    Thanks in advance
    Bill

    Ok, I get that its certified for Pro and Ultimate (which I don't think I can run on my netbook I use for homework), but I think I veered the conversation away from my original point. The version of Oracle 11g which came with my textbook says it will run on win2k, winXP, and Vista but craps out when trying to load onto Win7. The version of Oracle (to best of my recollection, as I don't have the disc in front of me is 11.0.1.something).
    I guess my big question is would this version load on Win7 pro or do I need a newer version of Oracle that will load onto Win7? If I do need a new version in order to load on Win7, how can I tell which flavor of Oracle I have on my DVD - the free version, the next one up with a student license???
    Worst case scenario, I load it onto my desktop that is still running XP, but I would like to be able to take it with me on the netbook to do my homework whenever I find time.
    Thanks,
    Bill

  • Oracle 11g problem with creating shared memory segments

    Hi, i'm having some problems with the oracle listener, when i'm trying to start it or reload it I get the follow error massages:
    TNS-01114: LSNRCTL could not perform local OS authentication with the listener
    TNS-01115: OS error 28 creating shared memory segment of 129 bytes with key 2969090421
    My system is a: SunOS db1-oracle 5.10 Generic_144489-06 i86pc i386 i86pc (Total 64GB RAM)
    Current SGA is set to:
    Total System Global Area 5344731136 bytes
    Fixed Size 2233536 bytes
    Variable Size 2919238464 bytes
    Database Buffers 2399141888 bytes
    Redo Buffers 24117248 bytes
    prctl -n project.max-shm-memory -i process $$
    process: 21735: -bash
    NAME PRIVILEGE VALUE FLAG ACTION RECIPIENT
    project.max-shm-memory
    privileged 64.0GB - deny
    I've seen that a solution might be "Make sure that system resources like shared memory and heap memory are available for LSNRCTL tool to execute properly."
    I'm not exactly sure how to check that there is enough resources?
    I've also seen a solution stating:
    "Try adjusting the system-imposed limits such as the maximum number of allowed shared memory segments, or their maximum and minimum sizes. In other cases, resources need to be freed up first for the operation to succeed."
    I've tried to modify the "max-sem-ids" parameter and set it to recommended 256 without any success and i've kind of run out of options what the error can be?
    /Regards

    I see, I do have the max-shm-ids quite high already so it shouldn't be a problem?
    user.oracle:100::oracle::process.max-file-descriptor=(priv,4096,deny);
    process.max-stack-size=(priv,33554432,deny);
    project.max-shm-memory=(priv,68719476736,deny)

  • OBIEE-Answers Problems with NVARCHAR2 data type elements

    Hello experts,
    After we completed the .rpd development and ported to the real-time environment, when we try to create requests in Answers of Presentation services by selecting certain columns only and try to see results, we are getting an error if the columns are of NVARCHAR type. The error is given below.
    This is stopping end users being not able to create any answers/requests. Please suggest how we can resolve this or if any specific things need to be done to solve the problem.
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 87720170. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 17001] Oracle Error code: 24328, message: ORA-24328: illegal attribute value at OCI call OCIAttrSet. [nQSError: 17007] Error while executing OCIDefine routines. (HY000)

    Hello Damon,
    Thanks for the response.
    We have also tried to query the same data through SQL*Plus and it went well. We had no issues with any data. Also the .RPD is working in our local system with the same data, on windows OS. But when we port the .RPD in the Server (Sun Solaris) we are having problems with the columns which are considered as NVARCHAR2 in the database and VARCHAR in the Physical layer of BI.
    We observed there is no NVARCHAR2 data type supported in BI administrator in building the RPD. Is there any other datatype supports the NVARCHAR2 datatype in BI?
    Thanks,
    Narasimha

  • OBIEE 11G help with report design

    Hi,
    I need to design a report in the following format
    Customer Number:
    Customer Name:
    Customer Address:
    Order Detail:
    Line number | Order No | Order description | Order Status
    The order detail will have multiple lines, I have to do this in both Excel and PDF, is it possible to do without Publisher, and just OBIEE 11G? If so please help on how to do it?
    Thanks for your time and help.

    Hi,
    You can have static text or narrative view to achieve the customer details.
    And use the table format for the order details.
    And give reports links where in, you can download to both excel and pdf.
    Hope this resolves.
    Regards
    MuRam

  • Problem with Calculated Key Figure and Acumulated

    Dear Masters,
    I am trying to use cumulated KF in a query. No problem with results. I just flag 'Cumulated'. However I need to use the value of each line in an operation. Let me illustrate it:
    Cumulated KF    KF1      FINALKF
    2                         2             2/2=1
    3 (2+1)                1              1/1=1
    5 (3+2)                 4             4/2=2
    6 (5+1)                 2             2/5=0.4
    As you can see above instead divide the KF1 by Cumulated value of a Line, the final result is always KF1/the value that would be the add value. The first line always is right because for the line 1 cumulated value has no accumulation value.
    Any idea?
    Regards,
    GilsonTeixeira

    Any idea?

  • Problem with calculated textobject

    Hi all!
    I have a problem with a text object with the attributes:
    Mode: sum
    formular:
    sumfunction: sum
    sum block: block1
    sum object: objet1 (numeric)
    Sometimes, specially if the first record of block1 isn't saved, the sumobject shows
    cryptical signs like '~--'. After commiting and requery the sum is correct.
    Why does this happen???

    Could it be your formatting? For example, if you specify 990 as your format, but the value has four digits, such as 1056, then you can get funny values.
    Regards,
    Robin Zimmermann
    Forms Product Management

Maybe you are looking for