TopN and Rank in OBIEE-Answer

Hi All,
I'm an "OBIEE newbie" and not sure how to use the Topn or Rank function to achieve the desired resullt below.
I have a report that will display the top 10 or 20 (or whaterver # entered by users) of hospitals that have highest # of patients and then a sum of patients from the rest of other hospitals. ex:
Hospitals #patients rank
ABC 1500 1
KLM 1200 2
DEF 1200 2
XYZ 200 10
Other hospistals:      5000
The top 10 or 20 # will be used as a prompt.
Your help is much appreciated !!!
Thanks,
Ty

Hi David,
I did follow John's posting (it's very helpful for a beginner) but I just could not figure out what he did in Pivot table to get the SUM of the one that did not make the top 10 list. If you could show me how to do that :)
Thank you for help!
Ty

Similar Messages

  • Dense Rank in OBIEE answers

    Hi All,
    Can any on let me know how to create a column in OBIEE answers  which gives the row number starting with 1 for each row  in the group. similarly for next group the row number should start with 1 and so on.
    Thanks in advance for your quick response!
    Regards

    This feature had appear in the 9i version, so there is no way to have it running with a 6i version. If you have a 9i database, you could write a database stored function/procedure that would use this analytic function, and return the lines to Forms.
    Francois

  • OBIEE Answers and filtered totals

    We try to prepare an reports in OBIEE Answers and we want to take filtered totals of a field.
    Let me clear
    We have a field values as
    FieldSampleTotal VAlues
    Name1                           1000
    Nema1 Detail 1 20
    NAme1 Detail 2 980
    NAme2                           2000
    Because of some hieararchy is data we want to calculated sum of just bold lines.
    it means total is 3000
    Thansks a lot.

    An other option for inter-rows calculation will be to use the filter in one column formula of a table view :
    FILTER(Fact.Values USING (Dim.Colunm = 'Name1' or Dim.Colunm = 'Name2'))I don't see the layout of your final report.
    Do you want to see the details rows ?

  • OBIEE Answers (Ad-Hoc Reporting) Best Practices

    Hi All
    Just finish writing about OBIEE Answers (Ad-Hoc Reporting) Best Practices. Thought it would be great to share with extended family.
    Please visit : http://wp.me/pfMKU-3t
    OR
    http://sranka.wordpress.com/2010/01/07/obiee-answers-ad-hoc-reporting-best-practices/
    Hope this helps
    Sunil S Ranka
    Blog :: http://sranka.wordpress.com
    "Superior BI is the antidote to Business Failure"

    hi ranka,
    Nice work and nice post.It would be helpful to many guys out here.
    Thanks,
    By,
    Kranthi.

  • How to change the default up arrow in OBIEE Answers

    Hi All,
    I want to change the default blue up arrow with a green up arrow in OBIEE answers. How to do it?
    Regards,
    Soumitra

    Do you mean the condition formatting options ? If so I had a similar requirement to create a Green up arrow and an orange 'sideways' arrow. I did the following, all based on a default Windows install using OC4J :
    Navigate to :
    C:\OracleBI\oc4j_bi\j2ee\home\applications\analytics\analytics\res\s_oracle10\meters\arrow\tri\
    I copied up.gif to upgreen.gif and change the colour in a image editor.
    I coped up.gif, rotated 90 degrees, changed colour to orange and saved this as sideways.gif
    I copied the two new files into the Web services stye folders also :
    C:\OracleBI\web\app\res\s_oracle10\meters\arrow\tri
    restarted OC4J and presentation services and they are now available in the conditional formatting options, alongside the defaut Blue (up) and red(down) arrows.
    ** I believe the new pictures need to exist in any other style folders that you are using, e.g "s_hyperion", "s_oracle10", s_custom if you've done your own.

  • 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

  • How To Give a Validation In Prompt(OBIEE Answers)

    Hi,
    I ahve the promt like
    Name----------------<text box> Go
    if i enter the name then the prompt will effect on the data.
    if i didn't enter tha data in name textbox it should dispaly a meassge like:please enter a valid name:
    here name comling from backend database to obiee answers
    can u please tell me how to sort out this-----------------

    Check this MOS note:
    OA Framework Personalization and Extensibility Guide: Version 5.7+ (Doc ID 236618.1)
    thanks

  • Field is in DB table/alias but I get ORA904 error using it in OBIEE Answers

    Hello, I'm very new at developing with RPD and OBIEE tools, so I'm struggling with something that I thought I did correctly. I added a new field to a database table, and can query it in the database. I added it to the table in RPD Physical layer and I verified that it also now exists in an alias of that table. The physical alias table field is used as a source for a logical column in the presentation layer. Everything looks good in the RPD. But when I try to pull it up in a query in OBIEE Answers I get a 904 error telling me that the column does not exist. I've bounced the servers, dropped cookies and cache, but nothing helps - I still get the error.
    What step could I have missed?
    Thanks in advance!
    Rich

    THank you all for the advice, but it still appears to be a problem. Here's what I tried and the results:
    1. Right-clicked on the new column to do a row count update. As predicted by Gaurav, this also failed with a 904 error.
    2. Verified exact spelling is correct.
    3. Checked the connection pool. THis looks correct, but I will double-check today with one of my co-workers who has more experience with RPD.
    4. Tried querying the column in RPD - this also failed with 904 error.
    5. Checked the LTS within BMM layer and my new field does map back to the alias column
    6. Ran a consistency check and the only errors (warnnings actually) are for a different, unrelated table.
    7. Checked security and it also looks okay, but this is another one I'll double-check later with one of our experts here.
    8. Joins in physical layer and BMM look good
    9. Checked physical column and table in the presentation layer. These also point to the right columns/tables
    10. Selecting the column by itself in analysis fails with 904.
    If anyone can think of something else to consider based on this please advise. One thing I did notice is that in performing the steps above I noticed somewhere (the BMM I think) that the new column I added is at the bottom of the table (last field) and not in the middle as it is in the database. In past experience with other tools this hasn't mattered, but I'm going to see if I can change that and if that has an effect. I'm guessing it won't but I'm running out of ideas!
    Thanks again,
    Rich

  • Sales cloud and On premise OBIEE integration

    Hello
    Customer has Sales cloud and on premise OBIEE 11g and would like to embed OBIEE dashboard to sales cloud customer screen. Simple adding of HTML iframe doesn't work, as I guess clickjacking protection is working. So question is how is possible embed on premise OBIEE dashboard to Sales Cloud. For on priemse Fusion application I found property oracle.adf.view.rich.security.FRAME_BUSTING which switch on or off clickjacking protecton. Is it possible to disable this property on Sales Cloud?
    What other way of embeding of OBIEE reports are available?
    Thanks in advance,
    Vladimir

    Hi Vladimir,
    the clickjacking protection you mentioned is indeed in place, but it is meant to prevent the embedding of Fusion Apps (incl. Sales Cloud) UIs into iFrames.
    Your scenario seems to be the other way around: you want to embed content into an iFrame provided by Sales Cloud, right?  In that case, the clickjacking protection of the embedded UI served by OBIEE comes into play.  And since it's on premises, you hopefully have control over it (though I don't know how you control it since I am not an OBIEE expert).  The way I typically test whether a page can be successfully iFramed is by building a very simple static html page hosted on a server somewhere, with its primary content being an iFrame for the desired page.
    For further reference, I wrote about iFrame issues on our blog: http://blogs.oracle.com/fadevrel/entry/troubleshooting_embedded_web_content
    Hope this helps!
    Oliver
    Fusion Apps Developer Relations
    https://blogs.oracle.com/fadevrel

  • OBIEE Answers functionality questions

    Hi,
    I pretty new to OBIEE Answers orginally working with Business Objects XI Webi, I have read through the user guides for Answers but some functionality I would like thats in BO XI but doesnt seem to be avaliable in Answers, Im not sure if its not documented because its more advanced functionality or whether Answers just can't do it ? Is the following functionality avaliable in Answers,
    1. I want to build a report based on 2 queries and then link the data in these queries by a common dimension and display this data in 1 report, for example I have query 1 with fields A,B,C and query 2 with fields A, D, E, I want to link on field A as its common and in the 1 report display the fields A,B,C,D,E
    is this possible ? This is not the same as union / intersect, and is not the same as dashboard showing two query results, I want 1 table showing the results of two queries.
    2. Once you have you data set returned is there anyway to filter on the data displayed in the report without the SQL actually having the filter in ? For example I have 1 query returning 100 rows of data and in that 50 rows are of type = A and 50 are of type = B. I dont want to have two seperate queries one to get all type A and one to get all type B, but I would prefer to return all rows in the query then filter the results in the report itself so I can have 1 report table showing type = A and 1 report table showing type = B, pretty much like how you can add a filter in Excel or again how you would add a report level filter in BO XI ?
    Edited by: RichRich on 01-Feb-2010 02:41
    Edited by: RichRich on 01-Feb-2010 02:41
    Edited by: RichRich on 01-Feb-2010 02:42

    HI,
    May I know obiee version?
    Can you refer below thread, it sees similar error.
    https://forums.oracle.com/message/9866218
    https://forums.oracle.com/message/10091143
    Thanks,
    Satya

  • Request chaning/flow in OBIEE Answers?

    In OBIEE Answers, is it possible to save the value of a request and reuse this value for further
    calculations?
    In other words, I want to use the results of request(s) as the data source for another request.
    The use case is like this:
    1. Use OBIEE Answers to get the value of a metric. There are multiple such metrics. Create one request per metric and save all such requests.
    2. Use the requests saved in step 1 to derive a higher layer of metrics. Save these requests.
    3. Use the requests saved in step 2 to derive a higher layer of metrics. Save these requests.
    And so on.
    Then I want to show these metrics on the dashboard with drill down navigation.
    Appreciate your help.
    Thank you.

    Hi all,
    Thanks for the reply.
    But this doesn't seem to solve the problem.
    Let me put it in other words:
    Result-1:
    Metric_A X <-- single row resulting from a request in OBIEE Answers
    Result-2:
    Metric_B Y <-- again single row resulting from a request in OBIEE Answers
    Result-3 (to be derived from above two results)
    Metric_C a*X + b*Y
    where a, b are constants.
    and so on...
    Edited by: user2363628 on Jun 10, 2010 2:18 AM

  • Sort in OBIEE Answers - Desc Nulls Last

    I want to sort Desc on a Answers column, but want NULLS last. Where do I set it?
    For instance I can write SQL
    select * from T1 order by c2 Nulls first;
    NULLS last is default behavior in Oracle SQL
    However, via OBIEE Answers, I see when I use DESC Nulls are on top, I want them on bottom.
    Where should I set it?

    Hi shyamvaran,
    What is the value of your "NULL_VALUES_SORT_FIRST" parameter in your NQSConfig.INI file? By default, this is set to OFF. Which is probably what your seeing i.e. if NULLs are last, and you are sorting in descending order, then you would expect to see NULLs first.
    If you want NULLs to show up last when sorting in descending order, then set the above parameter to ON and bounce your services. That should take care of you.
    Otherwise, you can do a work around. Create a hidden column in your report. Set it's formula to IFNULL(C2,'aaaaaaaaaaa') . This way it'll be alphabetically first i.e. last in descending order. Set this column to sort descending and then set it to hidden. It should sort your report in the desired order and it should be hidden from view.
    Good luck and if you found this post useful, please award points!
    Best regards,
    -Joe

  • Parse String in OBIEE Answers.

    Please can someone help me to know how to parse a string in obiee answers:
    Eg: 'Administrators;XMLP_ADMIN;319'.
    I can do this very easy in Java but not sure how to do it in OBIEE. Appreciate your help
    Regards.

    Hi,
    what are you expecting to do with that string? can you be more specific?
    you want to have all values before the semi colon?
    you can use regexp in obiee to parse these kind of strings..
    i think this must be helpful to you..
    http://oraclebizint.wordpress.com/2009/06/04/oracle-bi-ee-10-1-3-4-1-handling-complex-string-manipulations-using-regular-expressions-regex-and-evaluate/
    if its helpful award points
    thanks,
    karthick
    Edited by: kart on May 28, 2010 3:56 PM

  • Migrate OBIEE 11.1.1.3 rpd and catalog to OBIEE 11.1.1.5

    Is there is any upgrade process to follow (if so, what they are) to use OBIEE 11.1.1.3 rpd and webcatalog with OBIEE 11.1.1.5 installation.
    Is there anything extra needs to be done apart from just about moving them to 11.1.1.5 installed machine and deploy/specify path through Oracle EM Fusion Middleware Control.
    Thanks in advance for the inputs.

    Hi,
    Refer section 1.6 in below link,
    http://download.oracle.com/docs/cd/E21764_01/bi.1111/e16452/bi_plan.htm#CACEHADC
    Look for step 10 in the above link , "Updating Oracle Business Intelligence Catalogs"
    Rgds,
    Dpka

  • Converting OBIEE Answers / Interactive Dashboards into .pdf or .xls files

    Hi all;
    I’m a freshie here as well as in Business Intelligence industry. Right now, without prior knowledge about this tool, I’m working in OBIEE answer.
    Is it possible for us to convert OBIEE answer report/dashboard into .pdf or .xls files? Other tools like Cognos and Business Object have their own utilities to convert the tool’s reports into those formats. I believe OBIEE also have that essential, but untill now, i couldn’t find it.

    You can download Reports on Dashboard to PDF and HTML from:
    Click Printer Friendly icon placed at bottom left corner and PDF or HTML.
    You can download individual reports on Dashboard:
    Page Options ==> Edit ==> Report Properties ==> Report Links. Check the options you want to see below the report.

Maybe you are looking for

  • Number of lines of a select query

    I want only the number of lines from a result of a select query. How can i get this? Greetings Volker

  • Worked in 1.2 and 1.3 but strange problem in 1.4

    While connecting to https url through web browser with 1.2 and 1.3 java plugin every thing seems to work perfectly. But I get these errors with 1.4 plugin. I get the error while doing these steps are happening 1) type the https url on the browser and

  • MUVO TX FM Firmware upgrade prob

    I've downloaded MuVoTXFM_PCFW__24_02e_a file and began upgrading my player, when suddenly got an error, now I can't do anything with my MuVo - my PC doesn't see it, it doesn't turn on and I can't upgrade it. Is there anything I can do with my player,

  • Gestures for iPad 1. Very poor Apple.

    Apple anticipated this outrage about tossing the original supporters od the IPad under the bus. So what is the response Apple? Why? Without the first buyers of the iPad, the second gen never exists. You know this. We are not telling you anything you.

  • FCE to produce movies, but must build DVD elsewhere?

    iDVD wasn't upgraded in the 2009 iLife series, and I've found it disappointing in that it doesn't give a lot of freedom for DVD Authoring, mainly because it is so template driven and doesn't offer a blank slate for one to start with and build on top