Rank as filter in obiee11g

hi all.
following is the issue.
we have a fact colum(lets say, # of issues)
now, we make in the report as following
  # of issues  |  # of issues using Internet |  Rank(# of issues )
                        |                                                  |
-  # of issues using Internet(has a formula like this,
CASE WHEN "Case"."xxxxx" = 'Internet' THEN "Case Facts - General"."# of issues" ELSE 0 END
so the moment I apply the Rank(# of issues ) as filter to have less then 6. Then I have the problem that all the numbers under
# of issues and  # of issues using Internet become *same*.
any body has seen such problem in past or any body know if its a known issue ?
Please ask me if my description is not clear.
thanks

hi,
you cannot filter by giving requestID in the filter selection in DTP.You cannot see teh requestID option there
What you see in the load monitor as selections on reuest ID is the request of teh source which it has picked up for loading to the target.
It is of more significance during delta loads.
Regards,
Dhanya

Similar Messages

  • Time is not sorted properly in filter (Dropdown-Obiee11g)

    Hi Experts,
    In our Time prompt show the values like
    01:00AM
    01:00PM
    01:05AM
    01:05PM
    01:06AM
    01:06PM
    01:07AM
    01:07PM
    But we need to display like AM times first and then PM times.
    i.e.
    01:00AM
    01:05AM
    01:06AM
    01:07AM
    01:00PM
    01:05PM
    01:06PM
    01:07PM
    or is it possible to create two Filters(prompts) ie AM Time and PM Time from the Time
    Please let me know how can we achieve this.
    Thanks,
    Balaa...
    Edited by: Balaa on May 5, 2011 10:45 AM

    Balaa,
    Try this ... create a logical column in rpd (time_order)-> case stmt (case when time like '%AM' then '01' else '02' end.)
    Convert the Show Results from “All Values” to “SQL Results”. Then enter the following SQL.
    SELECT time FROM subject area ORDER BY time_order asc
    Cheers,
    Aravind

  • Reg Filter View in Combined Request OBIEE11g

    Hi,
         We have a requirement where we need to show the filter view in a combined request. Currently we have achieved the same but putting another request but the issue when the download of the request happens the filter view is not downloaded and it has to be downloaded separately. We are using OBIEE11g(11.1.1.6.9).
         Please advise if there is any workaround to achieve this functionality so that download of results and filter view can be achieved in one shot. Thanks.

    Dev,
    Not possible to use the filter view in union request.Try creating the filters with filter view as a separate request and add them to the dashboard.
    Rgds,
    Dpka

  • Filter not working in Rank

    Hi
    I have a requirement to show top ten expenditure and their sum for a particular month and for a particular country based on capex id like
    I have used RANK(CAPEX_ACTUAL_EXPENSE_AMOUNT) in column formula .
    Also I am using SQL Server ..
    CAPEX_ACTUAL_EXPENSE_AMOUNT     test     CAL_YEAR     CAL_MONTH     COUNTRY_NAME     EXPENSE_TYPE_DESCRIPTION
    54,659,330     1     2,009     1     BOLIVIA     Capex Addition
    42,145,690     2     2,009     1     BOLIVIA     Capex Addition
    33,494,948     3     2,009     1     BOLIVIA     Capex Addition
    33,197,944     4     2,009     1     BOLIVIA     Capex Addition
    30,956,787     5     2,009     1     BOLIVIA     Capex Addition
    29,088,221     6     2,009     1     BOLIVIA     Capex Addition
    21,807,939     7     2,009     1     BOLIVIA     Capex Addition
    13,675,383     8     2,009     1     BOLIVIA     Capex Addition
    13,089,089     9     2,009     1     BOLIVIA     Capex Addition
    12,574,442     10     2,009     1     BOLIVIA     Capex Addition
    10,701,602     11     2,009     1     BOLIVIA     Capex Addition
    8,701,280     12     2,009     1     BOLIVIA     Capex Addition
    8,144,789     13     2,009     1     BOLIVIA     Capex Addition
    7,769,767     14     2,009     1     BOLIVIA     Capex Addition
    7,755,552     15     2,009     1     BOLIVIA     Capex Addition
    6,951,753     16     2,009     1     BOLIVIA     Capex Addition
    6,518,067     17     2,009     1     BOLIVIA     Capex Addition
    6,050,596     18     2,009     1     BOLIVIA     Capex Addition
    5,603,409     19     2,009     1     BOLIVIA     Capex Addition
    4,879,883     20     2,009     1     BOLIVIA     Capex Addition
    3,644,269     21     2,009     1     BOLIVIA     Capex Addition
    3,643,025     22     2,009     1     BOLIVIA     Capex Addition
    2,971,519     23     2,009     1     BOLIVIA     Capex Addition
    2,937,015     24     2,009     1     BOLIVIA     Capex Addition
    2,900,000     25     2,009     1     BOLIVIA     Capex Addition
    But when I am using the filter to put RANK <is less than 10> it shows only one row
    54,659,330     1     2,009     1     BOLIVIA     Capex Addition
    ANd when using RANK <is less than 100>
    shows :
    54,659,330     1     2,009     1     BOLIVIA     Capex Addition
    10,701,602     11     2,009     1     BOLIVIA     Capex Addition
    3,644,269     21     2,009     1     BOLIVIA     Capex Addition and likewise..
    Could anyone help me how I coud show Rank 1 to 10 using filter. Also I have to show the sum which restricts me to use rows per page functionality.
    Thanks

    Hi,
      Ex: your output is something like this
      A                     B                         C
      1                    2                             3
      4                    2                              5
      5                    3                              6
    When you filter B for value 2, then internally it creates one more internal table like this
    A                    B                         C
    1                002                         3
    4                002                         5
    5                003                         6
    it tries to matches value 2 to 002 and it fails to retrive the record.
    The solution is try to do the conversion exit on the column/field you are trying to filter it. It will work.
    Regards,
    Ramesh.

  • Rank function without filter in the report

    Hi,
    I have a problem with Rank() function. The problem is the next one.
    I have a table with this rows:
    User | DATE | Cost
    user1 | 12/02/2011 | 10,4
    user1 | 13/02/2011 | 11,1
    user1 | 13/02/2011 | 10,1
    user1 | 13/02/2011 | 8,1
    user2 | 12/02/2011 | 1,4
    user2 | 13/02/2011 | 12,1
    user2 | 13/02/2011 | 22,1
    user2 | 13/02/2011 | 8,1
    In the rpd I have a agregate row as SUM(COST), and I need extract te ranking of this SUM(COST) per user, The sum of user1 is 39,7 and the sum of the user 2 is 43,7. If I show in the report all users, the ranking is correct Rank=1 per user2 and Rank=2 per user1, but the problem is that I only want show the user1, when I add a filter to the report user='user1' the ranking value changes from 2 to 1. I need that the ranking value doesn´t change when I introduce a filter.
    Any idea about how to solve this problem?
    Thanks

    Hi Antonio,
    On the Rank column in the answers edit the formula as given below.
    Case when username = 'user2' then Rank(sum(cost)) else 0 end
    Then apply a filter on the Rank column as Rank > 0.
    I hope this one helps you.
    Regards
    AP

  • Top-N Filter and Rank

    Hi,
    I want to display the Top-3 records based on the dashboard prompts and also display the overall rank of the record independent of the prompt.
    My data is in the format:
    Region Market Revenue
    East New York1 $100
    East New York2 $80
    East San Jose1 $50
    East San Jose2 $60
    North Det1 $125
    North Det2 $20
    North Dal1 $22
    North Dal2 $25
    Users will be selecting the Region, Market from Dashboard prompts and want to see the top-3 based on their selection and also see their rank nationally. So, If I selected East Region, my output should be
    Region Market Rev Rank
    East New York1 $100 2
    East New York2 $80 3
    East San Jose1 $50 5
    I defined a Top-3 filter and used Rank function but that gives the ranking as 1,2,3. This is expected as it is ranking the filtered set. I tried the Rank By function but that didn't help either.
    Any help would be appreciated.
    thanks,
    Prakash

    Build the "overall" ranking in the BMM layer and expose it as a separate column. Then add it to your Request. Now the rank will be independent of the filter.

  • Filter on Rank function 10g

    Hi Friends,
    Need your help. Please!!!
    I have used the RANK function to know the different Start, end date period for a Enrollment.NO.
    What I want next is to show only the Enroll No, start, end date for a Enrollment No. with the earliest start date, end date. i.e Max(Rank) for that enrollment No.
    for RANK column I have used the function RANK("Start Date" by "EnRoll No")
    EnRoll No.      Start Date,      End Date,                  Rank
    BAD-002     01-Oct-12     31-Dec-12     1
              01-Jul-12     30-Sep-12     2
              01-Apr-12     30-Jun-12     3
    RIS-401     01-Dec-06     28-Feb-07     1
              01-Sep-06     30-Nov-06     2
              01-Jun-06     31-Aug-06     3
              01-Mar-06     31-May-06     4
              01-Dec-05     28-Feb-06     5
              01-Sep-05     30-Nov-05     6
              01-Jun-05     31-Aug-05     7
              01-Mar-05     31-May-05     8
              01-Dec-04     28-Feb-05     9
    RCB-235     01-Dec-08     28-Feb-09     1
              01-Sep-08     30-Nov-08     2
              01-Jun-08     31-Aug-08     3
              01-Mar-08     31-May-08     4
              01-Dec-07     29-Feb-08     5
              01-Sep-07     30-Nov-07     6
              01-Jun-07     31-Aug-07     7
              01-Mar-07     31-May-07     8
              01-Dec-06     28-Feb-07     9
              01-Sep-06     30-Nov-06     10
              01-Jun-06     31-Aug-06     11
              01-Mar-06     31-May-06     12
              01-Dec-05     28-Feb-06     13
              01-Sep-05     30-Nov-05     14
    My desired output is:
    EnRoll No.     Start Date     End Date     Rank
    BAD-002     01-Apr-12     30-Jun-12     3
    RIS-401     01-Dec-04     28-Feb-05     9
    RCB-235     01-Sep-05     30-Nov-05     14
    Please help me. Its urgent. I am struck at this point.
    Many Thanks in advance.
    Aachala

    Hi Aachala,
    Add the following to your filter and you should be all set...
    MAX(RANK("Start Date" by "EnRoll No") by "EnRoll No") = RANK("Start Date" by "EnRoll No") by "EnRoll No")
    JB

  • Obiee11g integration MSAD filter groups error

    BI:biee11g
    OS:LINUX x86-64
    MSAD
    i was success integration weblogic with MSAD ,In weblogic i could find the user from MSAD ,but when i click groups the error was: and
    when I login in Dashboard the same Error appear.
    In the MSAD provider
    Group Base DN OU=Groups,DC=ldap,DC=dba-ad,DC=com
    All Groups Filter (&(sAMAccountName=*)(objectclass=group))
    Group From Name Filter (&(sAMAccountName=%g)(objectclass=group))
    Static Group Name Attribute sAMAccountName
    Dynamic Group Name Attribute sAMAccountName
    GUID Attribute objectguid
    [Security:090278]Error listing member groups baohuima
    weblogic.security.providers.authentication.LDAPAtnDelegateException: [Security:090278]Error listing member groups baohuima at weblogic.security.providers.authentication.LDAPAtnDelegate.listMemberGroups(LDAPAtnDelegate.java:2174) at weblogic.security.providers.authentication.LDAPAuthenticatorImpl.listMemberGroups(LDAPAuthenticatorImpl.java:168) at weblogic.security.providers.authentication.ActiveDirectoryAuthenticatorMBeanImpl.listMemberGroups(ActiveDirectoryAuthenticatorMBeanImpl.java:206) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at weblogic.management.jmx.modelmbean.WLSModelMBean.invoke(WLSModelMBean.java:437) at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836) at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761) at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449) at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447) at weblogic.management.mbeanservers.internal.JMXContextInterceptor.invoke(JMXContextInterceptor.java:268) at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449) at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447) at weblogic.management.mbeanservers.internal.SecurityInterceptor.invoke(SecurityInterceptor.java:444) at weblogic.management.jmx.mbeanserver.WLSMBeanServer.invoke(WLSMBeanServer.java:323) at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder$11$1.run(JMXConnectorSubjectForwarder.java:663) at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder$11.run(JMXConnectorSubjectForwarder.java:661) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363) at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder.invoke(JMXConnectorSubjectForwarder.java:654) at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1426) at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:72) at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1264) at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1366) at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:788) at javax.management.remote.rmi.RMIConnectionImpl_WLSkel.invoke(Unknown Source) at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174) at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:222) at javax.management.remote.rmi.RMIConnectionImpl_1033_WLStub.invoke(Unknown Source) at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.invoke(RMIConnector.java:993) at weblogic.management.jmx.MBeanServerInvocationHandler.doInvoke(MBeanServerInvocationHandler.java:544) at weblogic.management.jmx.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:380) at $Proxy149.listMemberGroups(Unknown Source) at com.bea.console.utils.security.UserUtils.getParentGroupNames(UserUtils.java:271) at com.bea.console.actions.security.users.UserGroupsAction.execute(UserGroupsAction.java:74) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.access$201(PageFlowRequestProcessor.java:97) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor$ActionRunner.execute(PageFlowRequestProcessor.java:2044) at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors.wrapAction(ActionInterceptors.java:91) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processActionPerform(PageFlowRequestProcessor.java:2121) at com.bea.console.internal.ConsolePageFlowRequestProcessor.processActionPerform(ConsolePageFlowRequestProcessor.java:261) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:556) at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:853) at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:631) at org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:159) at com.bea.console.internal.ConsoleActionServlet.process(ConsoleActionServlet.java:257) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:416) at com.bea.console.internal.ConsoleActionServlet.doGet(ConsoleActionServlet.java:134) at org.apache.beehive.netui.pageflow.PageFlowUtils.strutsLookup(PageFlowUtils.java:1199) at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.executeAction(ScopedContentCommonSupport.java:686) at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.renderInternal(ScopedContentCommonSupport.java:266) at com.bea.portlet.adapter.scopedcontent.StrutsStubImpl.render(StrutsStubImpl.java:107) at com.bea.netuix.servlets.controls.content.NetuiContent.preRender(NetuiContent.java:292) at com.bea.netuix.nf.ControlLifecycle$6.visit(ControlLifecycle.java:429) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:727) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739) at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739) at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:146) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:395) at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361) at com.bea.netuix.nf.Lifecycle.runOutbound(Lifecycle.java:208) at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:162) at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:389) at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:258) at com.bea.netuix.servlets.manager.UIServlet.doGet(UIServlet.java:212) at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:196) at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:253) at javax.servlet.http.HttpServlet.service(HttpServlet.java:821) at com.bea.console.utils.MBeanUtilsInitSingleFileServlet.service(MBeanUtilsInitSingleFileServlet.java:47) at weblogic.servlet.AsyncInitServlet.service(AsyncInitServlet.java:131) at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227) at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300) at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27) at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:57) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684) at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268) at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174) at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173) Caused by: netscape.ldap.LDAPException: Bad search filter (89) at netscape.ldap.LDAPConnection.search(LDAPConnection.java:2556) at weblogic.security.providers.authentication.LDAPAtnDelegate.listMemberGroups(LDAPAtnDelegate.java:2160) ... 112 more

    hi,
    this will help you
    http://www.rittmanmead.com/2010/11/oracle-bi-ee-11g-security-integration-with-microsoft-active-directory/

  • Case statement in Advanced SQL filter

    Hi,
    I have two columns Vendors and their Sales
    Vendor| Sales
    -------     | ---------
         |
    Sales is a measure. I have 4 more measures like this (sales, products, units etc). I need to create a report with two columns (one column is vendor and the other column is a measure) so that the second column changes dynamically on the dashboard. I can acheive this using Column selector. But my requirements demands to have TOPN prompt so that only top N vendors should display. Hence I created a presentation variable and mimcked the column selector functionality with a "Dashboard prompt as Column selector" (google dashboard prompt as column selector to verify how a dashboard prompt can be used as a column selector).
    So finally I created a dummy column with Rank Function and arranged it in ascending order and applied the filter as (less than or equal as to the presentation variable)
    so when we plug in, lets say, 5 the filter will apply to the Rank column and display the TOP 5 vendors.
    Now, the real problem is...one of the measures requires the bottom 5 to display since the TOPN for that measure is calculated in descending order.
    Hence in the filter I gave
    Case when presentation variable = "measure" then bottomN else TOPN.... but it is returning an error...
    Can you guys help me on this issue. If you dont understand the query exactly please ping me....

    hi,
    try a simple one...
    use your function with a variable....pass manually a number let's say 5...what's your results??with a sort getting better??
    then try to see the report with presentaion variable..
    hope i helped...
    http://greekoraclebi.blogspot.com/

  • Problem with rank in OBIEE 11G

    Hi,
    I have a problem with the function rank in obiie, i have two columns the first is the id of employees, and the second is the rank of revenues of employees, when I filter one employee and the rank is always 1, someone can help me?
    Cumps

    I do not think this is going to be possible using a traditional filter on the query.
    In order for the rank function to correctly work, it has to be aware of the other column values in the query to assign a rank to each row. When you filter the query ( either on the ID or the Rank) all of the other column values will be FILTERED OUT of the query. Rank will only see 1 value in the column, so it gets the #1.
    You have 2 options here:
    Selection steps: use selection steps to "keep" only the rows you are interested in. Selection steps basically allow you to"hide" some of the rows your query has returned, but still calculate against them for aggregate functions. If you are focusing on a top or bottom % this solution will work well.
    If you are hell-bent on using a filter, the only way you will be able to get the rank function to work is to calculate the rank in a 2nd query, then use an outer join to attach the rank column onto your filtered employee query. 

  • Using ranking and sum to get top 5 products' share of total market

    Hi everybody,
    I have been playing around with ranking for a while now and I am stuck..
    I have a crosstab where I want to show the top 5 products in a specific month. So I have month in my column and products in my rows. I applied a ranking based on revenue only showing the top 5 products. This works like a charm.
    Now I would like to sum up the top 5 products' revenue and compare it with the revenue of all products in the market. I have managed to sum the top 5 products' revenue by using the "sum" function in the block, but I have not been able to compare this measure with a total market revenue measure. It seems like because I made the ranking on the top 5 products I cannot create a measure which includes more than these top 5 products and put it in that block.
    Is this not something Webi can easily handle??
    Thanks in advance!
    Best regards,
    Morten

    Hi Jaime,
    Thank for the suggestion. I forgot to mention that the month column is only showing one month. There is a filter on the month dimension, so that only one month is shown.
    I tried using the In Report context, but it gave me wrong results... It seems like it included all months.. I also tried using the noFilter function, but it also gave me wrong results.
    Best regards,
    Morten

  • Top 'n' using rank () function

    Hi...
    I'm using BO XI 3.0. In my report I need  a user to enter TOP 'n' (n=5,10,20,50,100).
    For example:
    Caller No           No of Calls
    23467891              10
    67698089              35
    22377868              17
    76378467              10
    76374678              20
    89978978               6
    87786777              11
    I already create dimension object for Caller No and measure object for No of Calls in universe.
    So I use a rank filter in edit query but it doesn't work.
    I also create another measure object in universe name =ranking
    rank(No_of_Calls) over(partition by (Caller No) order by (No_of_Calls)).. but it's not work...
    So can anybody help me....thanks

    Hi,
    Following information might be helpful in resolving the issue.
    General Syntax of Ranking :
    Rank( measure; (dimensions); [Top|Bottom])
    Here is the work flow with an example :- (use efashion universe )
    1) Create a webi report selecting objects quarter, year, sales revenue and create a cross tab
    2) While creating a cross tab, use the Object Year in columns and object Quarter for rows.
    3)Define a variable Var1 = Rank ([Sales Revenue] ; [Quarter]; [Year]) ForEach ([Year])
    4) Insert a blank column next to year in the cross tab.
    5) Drag and drop the variable Var1 in the new blank column inserted next to Object Year..
    You will now find that you have ranking for the years 2001, 2002, 2003 being reflected
    independently.
    Regards,
    Sarbhjeet Kaur

  • Filter issues

    Hey Aperture community:
    I searched for a solution but came up empty. I recently imported about 300 images from a swim meet this past weekend. I ranked about 200 of the images as 5 stars. I tried filtering the project only to view the ranked images (5 stars) and tried creating a new album that contained these images. The problem I am having is the new album included most of the ranked images; but also random unranked images. Any one know what I did wrong? Even when I filter without creating a new album, the result includes unranked images. Please advise. thanks.

    Hey Aperture community:
    I searched for a solution but came up empty. I
    recently imported about 300 images from a swim meet
    this past weekend. I ranked about 200 of the images
    as 5 stars. I tried filtering the project only to
    view the ranked images (5 stars) and tried creating a
    new album that contained these images. The problem I
    am having is the new album included most of the
    ranked images; but also random unranked images. Any
    one know what I did wrong? Even when I filter
    without creating a new album, the result includes
    unranked images. Please advise. thanks.
    What I think may be happening here is that you are seeing unrated images from the same stack as a rated image (which would happen if you edited an image (creating a new version) and made it the stack pick). When you drag an image into an album, all of the other versions in that stack come along for the ride - if the stack is expanded you can see them.
    To collapse all stacks use the key "Option-;" (semicolon). Then you see what the album truly holds. You can also make a different pick from the stack just for that album with the "Set Stack Pick" command in the Stack menu.

  • Issue in Implementing OR Logic in Security Filter for Essbase in OBIEE

    I am implementing OBIEE using Essbase as the data source. The requirement is to implement OR logic in the security filter. And I got error message from the MDX query generated by OBIEE. Below is the details. Anyone knows how to solve this issue? Thank you very much.
    1.     The &ldquo;Booking Location&rdquo; dimension has three hierarchies (ragged hierarchies).
    http://img.photobucket.com/albums/v216/stewart_life/1.png
    2.     I only want to take the first hierarchy, which is &ldquo;Total booking&rdquo;. Thus, I filter the Logical Table Source of &ldquo;Booking Location&rdquo; in the business model layer.
    http://img.photobucket.com/albums/v216/stewart_life/2.png
    3.     The &ldquo;Incorporation Country&rdquo; dimension doesn&rsquo;t have any multiple hierarchies.
    http://img.photobucket.com/albums/v216/stewart_life/3.png
    4.     Thus, I don&rsquo;t filter the Logical Table Source of &ldquo;Incorporation Country&rdquo; in the business model layer.
    http://img.photobucket.com/albums/v216/stewart_life/4.png
    5.     I filter the permission of a user. This filter applied to the fact table (RISK) in the business model layer.
    http://img.photobucket.com/albums/v216/stewart_life/5.png
    6.     Then the filter applied so that the particular user can only see the data where the Incorporation Country level is Singapore OR the Booking Country level is Singapore:
    "Risk"."Incorporation Country"."Country" = 'SINGAPORE (INC)' OR "Risk"."Booking Location"."Booking Country" = 'SINGAPORE (CBE)'
    http://img.photobucket.com/albums/v216/stewart_life/6.png
    7.     Here is the first report that is working fine if run by a user without any security filter.
    http://img.photobucket.com/albums/v216/stewart_life/7.png
    8.     The result of that report when run by the user whose security filter above has been applied to.
    http://img.photobucket.com/albums/v216/stewart_life/8.png
    9.     The MDX query generated from that report is shown below. Note that the error refers to the line 4, which is in bold below. Somehow, the query generated always include Incorporation Country and Booking Location in the &ldquo;With&rdquo; clause, since both of them are placed in the security filter.-----
    Sending query to database named Risk-MI Essbase (id: &lt;&lt;399750&gt;&gt;):
    With
    set [Booking Location2|http://forums.oracle.com/forums/] as '{[Booking Location|http://forums.oracle.com/forums/].[Total booking|http://forums.oracle.com/forums/]}'
    set [Booking Location4|http://forums.oracle.com/forums/] as 'Generate({[Booking Location2|http://forums.oracle.com/forums/]}, Descendants([Booking Location|http://forums.oracle.com/forums/].currentmember, [Booking Location|http://forums.oracle.com/forums/].Generations(4),SELF), ALL)'
    *set [Incorporation Country4|http://forums.oracle.com/forums/] as ''*
    set [Time3|http://forums.oracle.com/forums/] as 'Time.Generations(3).members'
    set [Year2|http://forums.oracle.com/forums/] as 'Year.Generations(2).members'
    member Measures.[MS1|http://forums.oracle.com/forums/] as 'Rank(Time.Generations(3).Dimension.CurrentMember, Time.Generations(3).Members)'
    set [Axis1Set|http://forums.oracle.com/forums/] as 'crossjoin ({[Booking Location4|http://forums.oracle.com/forums/]},crossjoin ({[Incorporation Country4|http://forums.oracle.com/forums/]},crossjoin ({[Time3|http://forums.oracle.com/forums/]},{[Year2|http://forums.oracle.com/forums/]})))'
    select
    {Measures.[Netted EAD|http://forums.oracle.com/forums/],Measures.[Netted Nominal|http://forums.oracle.com/forums/],Measures.[Wt_LGD|http://forums.oracle.com/forums/],
    MS1} on columns,
    NON EMPTY filter({[Axis1Set|http://forums.oracle.com/forums/]}, [Incorporation Country|http://forums.oracle.com/forums/].currentmember IS [Incorporation Country|http://forums.oracle.com/forums/].[SINGAPORE (INC)|http://forums.oracle.com/forums/] OR [Booking Location|http://forums.oracle.com/forums/].currentmember IS [Booking Location|http://forums.oracle.com/forums/].[SINGAPORE (CBE)|http://forums.oracle.com/forums/]) properties ANCESTOR_NAMES, GEN_NUMBER on rows
    from [http://RISK-P.RISK]
    where ([CRG (ORG)|http://forums.oracle.com/forums/].[Good Book (ORG)|http://forums.oracle.com/forums/], Method.ADV)
    +++stewart:370000:370021:----2009/02/17 13:56:06
    Query Status: Query Failed: Essbase Error: Syntax error in input MDX query on line 4 at token '''

    From what I have read on this forum, people have managed to get the DC In Board replaced for a little over US $100. This would be at an Apple authorized repair shop rather than by Apple itself. This is much less than the cost of a new MacBook. I don't know what might be available in your area, but it would be worth asking at a repair shop.
    Good luck!

  • Any plugin to make Filebrowser's "Rank" feature function in Bridge??

    CS1 Photoshop had that great feature to custom title the "Rank" for each thumb. Is there anyway to get that feature back in the new Bridge?
    DAM Rank & File doesn't do this btw, I contacted them to find that out....
    thanks!

    Together with 5 different star ratings and no star and no label you have a lot of options, but why bother about renaming labels?
    Labels and stars are just for rating in my opinion and if you want your own sorting method you only have to add a keyword to one or multiple files. Not only shows this keyword itself in the filter panel and in here you can use one click to select the desired files but also you have the ability to change the thumbnail line in the Bridge preferences to show keywords, now you have tons of different options... :-)

Maybe you are looking for