How to calculate Median In OBIEE 10g

hi
I am trying to calculate median in OBIEE 10 g .
The problem is that if suppose we Since the column measures are already having aggregates by default set in RPD. hence if we apply median to any measure column, then if we try to group by the report by Year or Quarter then the results are varying with undesired results . in my case i didnt wanted to apply the median function on a measure , so i created a column calculating the total number of rows in the column BRANDS , then i Applied the median function to it. like ----MEDIAN(COUNT("D4 Product"."P04 Brand") BY "D0 Time"."T03 Per Name Qtr")------. heres the scenario that i want to implement.
Qtr Sales Median
1 10
2 20
3 15
etc...
to be precise .. how to apply median function most appropriately over any measure or column count . and wht do i need to take care of ???
please help ..
thanks in advance

Hi,
Try with level based measures: http://gerardnico.com/wiki/dat/obiee/measure_level_based
J.

Similar Messages

  • How to calculate median in BEX

    Hi,
    How can I calculate median value of a keyfigure in bex? It should not be calculated as Result but as Single Value.
    Example - I have Ticket Number, Ticket Resolution Date as Chars and Resolution Time in terms of days as KF.
    I want to calculate median of Resolution Time for each month.
    How can this be achieved in bex or otherwise?
    Thanks,
    Anurag.

    Hi,
                  I have no idea how to create median in Bex.......As far as my knowledge goes, there is no formula function to create median in Bex.... But I had read that we can create median using Business Objects.......in one document...
    Just find it out with BO Consultants.....
    Regards,
    Kalyani.

  • How to calculate median

    Hi
    I have to calculate median on Age. here Age is nothing but the difference between the created date and today's date.
    how to do this in reporting.
    Thanks
    Shiva Shankar

    Hi,
    take a look at these threads
    Re: No of Days
    No. of days between a given date and today
    Re: Calculating date difference
    Formula to calculate number of days between today's date & given date BEx
    /message/84901#84901 [original link is broken]
    Hope this helps

  • How to calculate hits on OAS 10g

    hi,
    i have been told to calculate :
    hits/misses on site
    ipaddress of machine who has connecte to OAS
    activity done by this ipaddress etc
    does OAS 10g has any inbuilt feature ?
    how should i go about it?
    regards,
    avinash

    Are you using OAS or IAS?
    OAS has a dedicated Http Server writen from ORACLE while IAS uses Apache.
    You can use WebAlyzer. Its a free-tool that it analyzes Apache's logs, in general it reads CLS(Common Logfile Format) log file. See http://www.mrunix.net/webalizer/
    Apache (IAS) supports CLS.

  • How to enable logging in OBIEE 10G

    I have LDAP authentication in OBIEE 10 G and users are only residing in LDAP.
    I have a requirement to enable logging for few users. Can suggest me what all steps are required. I created user in RPD and enabled logging for that user. Kept same user ID as in LDAP. Still i cant see the logs.

    oh.. its 10g.. okay.
    In this case NQS authentication will override the LDAP authentication. Do not go for rpd users this can be taken care using init blocks as below.
    When using LDAP we can set the loglevel using Init blocks(see below). this can be set runtime using Set varaible from Answers->Advanced tab.
    You Init block suppose to be like
    case when :user in ('a','b') then 2 ELSE 0 END
    set to LOGLEVEL variable
    Pls mark correct/helpful

  • How to Personalize prompts in OBIEE 10g

    Hi,
    I have a requirement that if a user "A" log in, and access dashboard he should be able to see a prompt with default values based on his preference. For example user "A" wants to see a report based on a prompt with two columns "District" and "Year" with a default value of "East" as District and "2007" as Year
    When user "B" log in, he should be able to see a prompt with a default value of "West" as District and "2009" as Year
    Can you please tell me how to implement this.
    Thanks

    Hi,
    One way to acheive this requirement, is to maintain an external table with the username and two other columns one having the value for district and other for the year. Make sure the data type of the prompt column and data type of the year and district column in the external table are the same. When you create the prompt, under default value, select sql results and use the following sql.
    select year from externaltable where upper(username)=upper(':USER');
    repeat the same for district prompt.
    Hope this helps.
    Thanks,
    -Amith.

  • Bubble chart in OBIEE 10g

    Is there any way to increase the bubble size of bubble chart in obiee 10g? Like whether we can use javascript or HTML Code to achieve it?

    Hi,
    Thanks for reply.
    But I cannot understand your point. My requirement is something different. In the X axis I have project_number and y axis I have measures like budget,commitment & incurred_cost. Now the vertical chart gives me the summarize view. Now for a particualr project say AA, I can see three vertical bars showing budget,commitment & incurred_cost. Now the requirement is if I click on budget bar it will popup a new window showing related details of budget which is a different report, if click on commitment bar it will open commitment report in another window and so on.
    I am not able to implement this like multiple navigation from a bar chart.
    Can you please help on how to do this in OBIEE 10g.
    Thanks
    Titas

  • How to calculate Month on Month growth rates in an OBIEE query?

    Dear all,
    I would like to ask your help on how to calculate Month on Month growth rates [(last month - previous month)/previous month*100%] in an OBIEE query. This ratio should be always calculated for the last 2 available months.
    I have the following query:
    Month0 | Month1 | Month2
    Product A 500 | 100 | 200
    Product B 600 | 300 | 150
    would like to add Month on Month column as following:
    Month0 | Month1 | Month2 | Month on Month(%)
    Product A 500 | 100 | 200 | +100.00%
    Product B 600 | 300 | 150 | -50.00%
    I tried to add a calculated item but it was not successful because I could not find out how to show only the calculated column as % with 2 decimals. Moreover, I would ideally prefer to have an automatic update but as far as I understood it can't be done in the calculated item automatically
    I also tried to add a new column in the column area and to filter the results for the last month, then for the previous month and then based on it to calculate the needed ratio but unfortunately it also does not work out.
    Thank you your hints in advance

    Hi,
    The best way to solve this is using the Ago function. With this you can create a logical column for the previous month. Then you will have 2 columns available with which you can do your calculations.
    If you want to do this with a calculated item (don't know if the formatting will work for you), but you can make the calculation more general by using $1 for column 1 and $2 for column 2 in your calculation. So the relative columns ($x) will change with the columns in your report.
    Regards

  • How to calculate the store count in OBIEE?

    Hi Experts,
    In some case, I should write some measures for MDX language , but I do not know how to calculate it in logic layer in OBIEE 11.1.1.6.0.
    Note: The muti-datasource is ESSBASE and version is 11.1.1.2
    My requirement is as below:
    There are many dimensions in ESSBASE. Store is Location member. If one store has sales in one day, I should count it. So I want to count all stores for sales.
    If I write MDX in ESSBASE or logical layer in OBIEE directly, it will generate sum value in OBIEE for several day, not MAX value.
    For example:
    2012/11/29, it has 1500 stores.
    2012/11/30, it has 1510 stores.
    If users select two day, it will sum these value and be 3010 stores. The expect result is 1510.
    This is my MDX language in Logic Layer:
    EVALUATE_AGGR('MAX( Operation.currentmember.Siblings,%1)', "Sales Cube"."Sales".""."Sales"."Is_Close" )
    Thanks.

    Hi,
    Assuming that the report which you are trying to build is for BI/Dashboard purpose and if you take a case that you need the counts on Monthly basis then you can build your logic in following ways:
    Parameter - Month - Year (Apr 2013)
    Start Count = No of active employees present as of the last working day of the last Month (in this case as of 31st March 2013)
    No of New hires = No of employees who have DOJ between 01-APr-2013 and 30-APR-2013
    No of Left employees = No of employees who have Actual termination date between 01-APr-2013 and 30-APR-2013
    Transfer Out and In = Based on the business definition of transfer you can see the movements between 01-APr-2013 and 30-APR-2013 and build your logic
    Similarly you can build your logic for Quarter, Half yearly and yearly counts too.
    Hope it helps. Let me know if you need further details.
    Thanks,
    Sanjay

  • OBIEE 10g How ADD new report and use outer join

    Hi,
    I have to add a new report that use a new view...(just created in db)
    I'm new in OBIEE.. can you explain how can i do it?
    Actually:
    1. I opened administrator tool and import new view (and created an alias) in physical
    2. I built a logical table in BMM
    3. I built a new presentation table in presentation
    problem: the table in BMM have yellow icon like a fact table.. why??
    can you explain me what i have to do?
    thank you
    Edited by: 1006028 on 15-mag-2013 2.54

    By default OBIEE 10g considers a table as fact table that is dragged from physical to BMM layer. That's why you see the yellow color icon.
    If it is a dimension table, you will have to join this table with a fact table in BMM layer. After this the yellow color icon will go away.
    Pls mark correct/helpful.

  • How to migrate files from "ORACLE EPM 11" to OBIEE 10g / 11g

    Hi
    We are moving from ORACLE EPM 11 to OBIEE 10g or 11g .
    Can anyone suggest me how to migrate the files from ORACLE EPM11 to OBIEE 10g ?
    Regards
    Vinod.

    It would be a good idea to specify the version you are using.
    The general plan can be the following:
    A. On source db:
    1. Generate scripts for the tablespaces where the schema you want to export has segments (again use toad or ther tools)
    2.Generate scripts for the schema you want to export (use toad, dbms_metadata or other tools)
    3. Generate scripts for system grants, system roles, privileges you have on objects owned by sys, system, quotas on tablespaces
    4. If the schema has grants on sys objects that are not part of the default oracle install but were created later and are specific to that particular db (not a good practice, but it can hapen) and your application is dependent on them, generate scripts for them also (I have come across types owned by sys, when migrating an application with Websphere AS)
    5. export schema using exp owner=<SCHEMA_NAME>
    6. generate scripts for public synonyms and grants to public on object schema
    B. On target db.
    1. create tablespaces with generated scripts from A.1.
    2. create schema with generated scripts from A.2.
    3. grant all privileges from A.3.
    4. if non default objects on sys needed, create them with scripts from A.4., grant privileges on these objects
    5. imp with option fromuser=<SCHEMA_NAME> touser=<SCHEMA_NAME>
    6. create public synonyms, grants from A.6.
    7. check jobs - if you import with sys or system user, jobs will be imported under this users; drop jobs nad recreate jobs under your schema
    I hope I haven't forget anything and this helps...
    Ioan
    Edited by: ioan on 6.10.2008 13:00

  • How to analyse business requirements of obiee 10g.

    Gurus,
    Recently i had an interview with a company, whom asked several questions related to Requirements collection, Business specification, technical document of OBIEE. They questioned
    How you go about starting from requirements collection to deployment. I could not answer properly. I did few development part on obiee 10g. I am not aware of the above mentioned one. I searched above things relate to OBIEE 10g but could not get information. I would request you all please suggest/guide me on above things.
    regards
    chandra kanth.

    Hi,
    Request you all please advice me the above mentioned question.
    regards
    chandrakanth.

  • Obiee 10g - How to Increase the default size of Bubble chart radius axis

    Hi,
    I have an requirement of creating bubble chart in obiee 10g.
    When i was developing the bubble chart i noticed that there is no option of increasing the size of the bubble.
    When the measure value is low the bubble is not getting displayed.
    Kindly help me with any solution.
    Regards,
    Abdul

    Hi Alok_Aswal,
    In SQL Server Reporting Services 2008, the Bubble chart has several custom attributes which allow us to control the size of the bubbles. "BubbleMaxSize" and "BubbleMinSize" attributes allow us to define the size of the bubble in the chart series. The values
    set are in percent of the whole chart size. We can find those attributes in the property pane by selecting bubble series and expanding 'CustomAttributes' properties.
    And based on my research, the Marker size has a wide range, but for some reason once we get to around 8 the bubble in the legend will not grow any bigger. So in your scenario, we can set the Marker size to 8pt, then set the appropriate “BubbleMaxSize" and
    "BubbleMinSize" based on the chart size to make the size of both the bubble are the same. For example, we can also set “BubbleMaxSize" and "BubbleMinSize" to 8, then manually adjust the chart size until both the bubbles have same size.
    Beside, we can delete the original legend, and drag a tablix to the right of the chart. And then insert the corresponding data and color to tablix to let it looks like a legend. For more details information, you can refer to the link below to see Mike’s
    post:
    http://social.msdn.microsoft.com/Forums/sqlserver/en-US/cbf2f48e-fe40-4c1b-b82a-d40fd269f2ef/setting-custom-colors-on-a-column-stacked-bar-chart?forum=sqlreportingservices
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • How to realize this reqirement in the dashboard prompt in OBIEE 10G?

    Hi,
    I have a new query about dashboard prompt in OBIEE 10g..
    All below is needed to Operator in the dashboard prompt.
    We have 4 columns, 4 columns using multi-select type need to constrain together and need to show value which is related with product..
    e.g.
    Now I display "REGION" column using multi-select in Control, and I need to show data which product name is not null. After I add "where product name is not null" in the SQL results in Show, then I cannot use the Constrain box.. and I cannot set any variable if I using multi-select type..
    So anybody have any idea about this?
    Your reply will be highly appreciate..
    Regards,
    Anne

    Hi Anne
    User Input type as " Multi select prompt" keep it with constrain option then apply below query
    apply like this kind of SQL query in Default selection --->SQL result section
    SELECT "MX_PORTFOLIO_STATIC"."MT_BU_Level1" FROM "Position" where "MX_PORTFOLIO_STATIC"."MT_BU_Level1" is not null
    Thanks
    Deva

  • 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

Maybe you are looking for