Rank calculation

in table t1 have data like
col1 col2 col3
a     a1     10
a     a2     15
a     a3     30
b     b2     37
b     b1     30
c     c1     42
d     d1     32
i want to put these data along with the rank based on col1 and col3 value .
i want to put the data into another table t2 like this way
col1 col2 col3 col4
a     a1          10          4
a     a2          15          2
a     a3          30          1
a     a4          15          3
b     b2          37          1
b     b1          30          2
c     c1          42          1
d     d1          32          1
how to do this.
Thanks

Hi Solomon,
may be use dense_rank() over(partition by col1 order by col3 desc , col2) nstead
dense_rank() over(partition by col1 order by col3,col2)
SQL> with t as (
  2             select 'a' col1,'a1' col2,10 col3 from dual union all
  3             select 'a','a2',15 from dual union all
  4             select 'a','a3',30 from dual union all
  5             select 'a','a4',15 from dual union all
  6             select 'b','b2',37 from dual union all
  7             select 'b','b1',30 from dual union all
  8             select 'c','c1',42 from dual union all
  9             select 'd','d1',32 from dual
10            )
11  select  col1,
12          col2,
13          col3,
14          dense_rank() over(partition by col1 order by col3 desc , col2) rnk
15    from  t
16    order by col1,
17             rnk;
C CO       COL3        RNK
a a3         30          1
a a2         15          2
a a4         15          3
a a1         10          4
b b2         37          1
b b1         30          2
c c1         42          1
d d1         32          1
8 ligne(s) sélectionnée(s).
SQL>

Similar Messages

  • Performing ranking calculations with the BEx Query Designer - ideas?

    I have a scenario where I have a key figure with raw values.  In the column beside this I want to rank the key figures by their raw values.
    Something like this:
    Amount      Rank
       0.11           2
       0.05           3
       0.22           1
       0.03           4
    I can do this no problem using the "Calculate Single Values as:" Ranked List.
    For subsequent calculations I need to perform mathematical operations on the RANK column.    For example say I want to make a 3rd column where I divide the rank by 2:
    Amount      Rank     Rank by 2
       0.11           2             1
       0.05           3            1.5
       0.22           1            0.5
       0.03           4             2
    I cannot figure out how to do this as SAP does not really STORE the values of the rank column for my next calculation.  The "Rank by 2" column actually shows this:
    Rank by 2
        0.065
        0.0025
         0.11
        0.015
    which is dividing the original amount by 2 and not the actual RANK value.
    Anyone have some suggestions on what I can do?

    I know what you are talking about, it will always return 1 or zero which is true or false, I don't think you can do anything much to this. Since, the value of Ranked is getting calculated at runtime.
    thanks.
    Wond

  • Rank calculation in Oracle iSourcing.

    Hi All,
    I am facing a problem as users are not satisfied with the ranking shown for the bidders by the system. Here the ranking is calculated based on price only. Can some one help me out finding the process/procedure used by Oracle to calculate the overall ranking and awarding process.
    Waiting for your response.
    Regards
    Prakash Kumar

    HI ,
    can you please explain the differnec between the two functionsTopN-- Ranks the highest n values of the expression argument from 1 to n
    Rank -- Calculates the rank for each value satisfying the numeric expression argument,. If certain values are equal, they are assigned the same rank (for example, 1, 1, 1, 4, 5, 5, 7...)
    I guess problem is with
    RANK(col_name) <=@{p_top}{10}Use TOPN(measure,10) direclty it will pickup
    where rownum<=10 like this
    thanks,
    saichand.v

  • APD - writing query result "rank calculation" to file or DSO

    Hello,
    I am trying to take a query result set where I am calculating a key figure as Rank and run it through an APD to write to a DSO.
    This is a top 5 query for a dashboard.  I keep getting an MDX failure on the query.
    Any ideas? 
    My ultimate goal is to set up a process to take TopN query results and get them into a target that can be used in a Universe.
    Thanks,
    Chris

    Hi,
    You want to store the data of query in to dso?Y
    You can write a code in to routine for calulated key figure.
    I also face the same problem but i solved using routine.
    try this.
    Regards,
    Ganesh

  • Ranking Performance

    I need a Discoverer workbook/worksheet showing the top 15 airlines in terms of passenger count. More specifically, the top 15 are each listed in the report with their respective percentage share (highest to lowest) and any count less then 15 are totaled as the last line.
    Am fairly new in Discoverer report development and any help will be highly appreciated. Thanks.

    Hi Ned
    This is possible but we have to use some rather clever calculations. Let me give you an example based on Airline and Count.
    1. Create a table worksheet that has Airline and Count and sort the rows high to low based on Count
    2. Create a ranking calculation that looks like this:
    RANK() OVER(ORDER BY Count DESC)
    3. Create a calculation called Grand Total that looks like this:
    SUM(Count SUM) OVER(ORDER BY Count SUM DESC RANGE BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING )/15
    4. Create a calculation called Remainder that looks like this:
    Grand Total-Count SUM
    5. Create a total on Count using SUM, give this total the label Totals
    6. Create a total on Grand Total using Cell SUM, assign no label to this total
    7. Create a total on Remainder using Cell SUM, also assign no label to this total
    8. Format the data in both Grand Total and Remainder so that the background color is the same as the foreground color. This effectively hides the intermediate values leaving just a single row at the bottom containing the Total Count for the 15 airlines, a Total for all airlines, and a total for the difference between all airlines and the 15 selected in the ranking
    It is too hard a task for me to explain what each step does but try it out and you will be amazed at what Discoverer can do.
    For anybody else reading this with interest, an example like this will be included in the advanced calculations section of my upcoming Discoverer 10g Handbook which is due for publication at the end of the year. Advanced sales are being taken on Amazon right now.
    I also offer end user and adminsitrator training where users are taught how to handle advanced calculations like this.
    Best wishes
    Michael Armstrong-Smith
    Armstrong-Smith Consulting

  • BEx query with keyfigure rank in row, chars and other keyfigures in columns

    Hi All,
        I have a BEx query with Plant and Region in rows and two keyfigures(% and rank calculation) in the column. Now my requirement is to display rank in the first column, plant and % cal. in the next columns in query output.
    Query ouput should look like :
    rank plant  %
    1     XYZ    63.00
      2    ABC   76.94 and soon.
    Is any way possible to achieve this and if yes can anyone explain in detail with steps, I apprecaite your help with points.
    Thanks
    Eric.

    Hi  Jerome,
       Thanks for quick response, is there any alternate way like customer exits or etc. This is my requirement and I need to provide the users the solution. I appreciate your valuable time.
    Regards
    Eric

  • How to get max ranking value?

    Hi Experts,
    I have a situation where I can calculate the ranked top 10 values of a key figure using a condition. One of the columns I have uses the ranking calculation.
    So I now have the top 10 values. I now need the maximum ranking value so I can know what the ranking is out of. So I would like to show the following:
    Rank     Out of
    1            157
    2            157
    3            157
    4            157
    10          157
    So even though I am only showing 10 values in need to know the maximum number of records for the 'Out of' column.
    Any ideas?

    Thanks for the responses. I've tried the maximum on the column, but it doesn't give me the correct value as ranking seems only to be a virtual number and thus is inaccessable.
    I've tried using the restricted and calculated key figure methods, but they don't bring back what I need.
    If I do a calculated key figure where I use the count operator, and then use exception aggregation using total and then using the characteristic I have in my my rows, all I get is a list of 1's.
    Is there something I'm missing in the calculated key figure?
    Thanks for the help!

  • Rank in a pivot table

    My raw data looks like this:
    Doctor Category Cost
    A Supplies $100
    A Labor $50
    B Labor $75
    B Utilities $10
    C Supplies $50
    etc.
    I want to present it like this:
    Labor Supplies Utilities Transportation etc. Grand Total
    A $50 $100 $0 $15 $165
    B $75 $10 $10 $5 $100
    C $125 $50 $25 $0 $200
    D etc. etc.
    But I have over 100 Doctors, so in my final reprot I only want to show the top 5 doctors (based on their respective computed Grand Total).
    Can I do this? Somehow I need to RANK at the doctor level, but not sure how to do this?

    Hi Dgerena,
    What you are asking is very common. Here is how you should set it up.
    Part A) RPD work
    1) In your repository file, create a new logical column call it Grand Total By Doctor
    2) Set the source to be your COST field
    3) Set the aggregation rule to be SUM
    4) In the level tab, set the level to Grand Total on your Category Dimension and Detail on your Doctor Dimension
    5) Put this new logical column in the presentation layer
    Part B) Report Criteria Work
    1) Add Grand Total By Doctor to your report
    2) Edit the formula of the newly added filed
    3) Perform a rank calculation on the column. Use the syntax: RANK("Grand Total By Doctor")
    4) Click OK
    5) Click on the filter icon on this new rank column and add the condition: LESS THAN OR EQUAL TO 5
    Part C) Report View Work
    1) Add a pivot table view
    2) Put Doctor in the row
    3) Put Category in the Measure
    4) Under measure, click the summation icon and add a grand total
    5) Save the report.
    That should get you there. If you have any followup questions, feel free to ask.
    Good luck and if you found post useful, please award points.
    Best regards,
    -Joe

  • Report only MAX value in a query

    I have two tables I'm joining, a one to many relationship exists.
    1 -> Many
    A -> B
    I want a few columns from table A in the report, along with a couple columns from table B.
    Contents of table B are:
    Product
    Start_Date
    Last_Activity_Date
    Sample of data from table B:
    PRIMARY,08/24/2007,08/24/2007
    PRIMARY,08/24/2008,08/20/2009
    PRIMARY,08/30/2008,08/26/2009
    PRIMARY,08/01/2009,08/30/2009
    How do I code the query so that only the last row is returned (the one with the highest Last_Activity_Date)? I originally thought I could use MAX(Last_Activity_Date) but that isn't working.
    Discoverer's original code:
    SELECT /*+ FIRST_ROWS */
         A.ASSOCIATE_NO Assoc_No,
         A.CLIENT_NO Clt_No,
         A.CLIENT_NAME Clt_Name,
         A.ACTIVE_EMP_CNT EE_Cnt,
         B.START_DATE Start_Date,
         ' ' AS Filler_Col
    FROM A, B
    WHERE ( (A.ID = B._ID)
    AND (A.ID = B.ID(+)))
    AND (A.PREMIER = 'Y')
    AND ( (A.STATUS IS NULL)
    GROUP BY A.ASSOCIATE_NO,
         A.CLIENT_NO,
         A.CLIENT_NAME,
         A.ACTIVE_EMP_CNT,
         B.PRODUCT,
         B.START_DATE,
         B.LAST_ACTIVITY_DATE
    HAVING (B.PRODUCT_NAME(+) = 'PREMIER'
    AND B.LAST_ACTIVITY_DATE(+) = MAX (B.LAST_ACTIVITY_DATE(+)))
    ORDER BY 1 ASC, 2 ASC;
    Discoverer's code isn't working the way I want it to. It returns all rows from table B.
    How can I code it so that only the row with the highest Last_Activity_Date is returned?
    Thanks for all your help,
    Gary F.

    Hi,
    There are 2 ways of doing this:
    You can create a rank calculation:
    rank() over (partition by client_name, client_no /* and any other columns from A */ order by last_activity_date desc)
    then create a condition where your rank calculation =1.
    Or you can create max calculations for each column in table B and then don't have any conditions. So for your start_date calculation you would have:
    max(start_date) keep (dense_rank last order by last_activity_date)
    The second method is generally the best.
    Rod West

  • How to get the maximum/largest value in a single row?

    I have a simple Pivot table view with dollars as the measure, months on the columns and accounts on the rows.  I want to highlight the month that had the largest value.  E.g. so if the dollar values for account Revenue are 10 for Jan, 11 for Feb, 50 for Mar and 0 for the rest of the months, then I want to highlight the cell with 50 green. So essentially I need to be able to identify the max value in a row in the pivot table. 
    If I add a max calculation, it returns the top value across all columns and rows. A Rank calculation also returns rankings across all columns and rows. How can I determine the largest value in a single row?
    Thanks
    J

    In general you have to go by level based measures. Just tweak it as max(revenue by Year)
    Just do it in Criteria tab and see how it works and I thing rest you know how to do

  • Oracle deadlock - how to use "synchronised" keyword in a transaction?

    Hi,
    I use WL6.1 SP4, Oracle 8.1.6, with some Java objects which execute a
    lot
    of SQL queries (mixed update, insert and select) using plain JDBC
    calls,
    and Weblogic connection pools. These objects are called by servlets.
    I experienced recently deadlocks when two users call the object at the
    same
    time (See error below).
    I execute the queries using "synchronized" keyword in the following
    way:
    synchronized (this)
    conConnection.setAutoCommit(false);
    executeTransaction(myStatement);
    conConnection.commit();
    executeTransaction is overriden in sub-classes and is the method which
    executes
    all the queries.
    It calls methods in other objects. These methods are not declared as
    synchronized.
    1) Should they?
    2) Should I use the keyword "synchronized" in another way?
    3) This part of code is also called when I do only "select"
    statements. I guess
    it should only be synchronized when we do "update" and "insert" which
    could lead
    to a deadlock?
    4) Do you have any idea why this deadlock occurs as I use the
    "synchronized"
    keyword, and one thread should wait until the other one has finished?
    Thanks for any idea,
    Stéphanie
    ----------------- error:
    <ExecuteThread: '4' for queue: 'default'> <> <> <000000> <SQL request
    sent to database: UPDATE PARTICIPANT par SET par.PARTICIPANTLASTRANK =
    4 WHERE par.IDPARTICIPANT = 8983566>
    <ExecuteThread: '11' for queue: 'default'> <> <> <000000> <SQL request
    sent to database: UPDATE PARTICIPANT par SET par.PARTICIPANTLASTRANK =
    6 WHERE par.IDPARTICIPANT = 8983570>
    ORA-00060: deadlock detected while waiting for resource
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
         at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:573)
         at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1891)
         at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1093)
         at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2047)
         at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1940)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2709)
         at oracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:796)
         at weblogic.jdbc.pool.Statement.executeUpdate(Statement.java:872)
         at weblogic.jdbc.rmi.internal.StatementImpl.executeUpdate(StatementImpl.java:89)
         at weblogic.jdbc.rmi.SerialStatement.executeUpdate(SerialStatement.java:100)
         at bfinance.framework.EDBBLBean.executeSQL(EDBBLBean.java:299)

    Hi Stepanie,
    I'd try to group update statement together. Usually it helps.
    Regards,
    Slava Imeshev
    "Stephanie" <[email protected]> wrote in message
    news:[email protected]...
    Thanks for your answer.
    In the case you describe, is there a way to ensure that tx-2 waits for
    tx-1
    to be finished before beginning?
    My transaction which causes the problem is the following (simplified):
    UPDATE tableA SET islast=0 WHERE externalid=myid;
    for (int i=0; i< aVector.size(); i++) {
    INSERT INTO tableA (id, islast, ranking, externalid) (SELECT
    SEQ_tableA.nextval, 1, 0, myid);
    UPDATE tableA SET ranking = /*calculated ranking */
    WHERE externalid=myid AND islast=1;
    UPDATE tableB ....
    commit;
    tx-1 and tx-2 execute this transaction at the same time. tx-1 begins
    The deadlock appears when tx-2 executes the second UPDATE tableA
    query.
    I don't see how I can avoid to execute these two update queries, so if
    I can find another way to prevent deadlock, it would be great!
    Stéphanie
    Joseph Weinstein <[email protected]_this> wrote in message
    news:<[email protected]_this>...
    Stephanie wrote:
    Hi,
    I use WL6.1 SP4, Oracle 8.1.6, with some Java objects which execute a
    lot
    of SQL queries (mixed update, insert and select) using plain JDBC
    calls,
    and Weblogic connection pools. These objects are called by servlets.
    I experienced recently deadlocks when two users call the object at the
    same
    time (See error below).Hi. The error you are getting isn't necessarily from a lack ofsynchronization
    of your java objects. It has to do with the order in which you accessDBMS
    data. You are getting ordinary DBMS deadlocks, which are caused when
    two DBMS connections each have a lock the other wants, in order toproceed.
    The DBMS will quickly discover this and will kill one transaction inorder to
    let the other one proceed:
    time 0: tx-1 and tx-2 have started.....
    time 1: tx-1: update tableA set val = 1 where key = 'A'
    time 2: tx-2: update tableB set val = 2 where key = 'B'
    time 3: tx-1: update tableB set val = 1 where key = 'B' (waitsbecause tx-2 has the row
    locked)
    time 4: tx-2: update tableA set val = 2 where key = 'A' (waitsbecause tx-1 has the row
    locked)
    This is a deadlock. The solution is to organize your application code sothat every
    transaction accesses the data in the same order, eg: update tableAfirst, then update tableB.
    This will prevent deadlocks.
    Joe Weinstein at BEA
    I execute the queries using "synchronized" keyword in the following
    way:
    synchronized (this)
    conConnection.setAutoCommit(false);
    executeTransaction(myStatement);
    conConnection.commit();
    executeTransaction is overriden in sub-classes and is the method which
    executes
    all the queries.
    It calls methods in other objects. These methods are not declared as
    synchronized.
    1) Should they?
    2) Should I use the keyword "synchronized" in another way?
    3) This part of code is also called when I do only "select"
    statements. I guess
    it should only be synchronized when we do "update" and "insert" which
    could lead
    to a deadlock?
    4) Do you have any idea why this deadlock occurs as I use the
    "synchronized"
    keyword, and one thread should wait until the other one has finished?
    Thanks for any idea,
    Stéphanie
    ----------------- error:
    <ExecuteThread: '4' for queue: 'default'> <> <> <000000> <SQL request
    sent to database: UPDATE PARTICIPANT par SET par.PARTICIPANTLASTRANK =
    4 WHERE par.IDPARTICIPANT = 8983566>
    <ExecuteThread: '11' for queue: 'default'> <> <> <000000> <SQL request
    sent to database: UPDATE PARTICIPANT par SET par.PARTICIPANTLASTRANK =
    6 WHERE par.IDPARTICIPANT = 8983570>
    ORA-00060: deadlock detected while waiting for resource
    at
    oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
    at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
    at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:573)
    atoracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1891)
    atoracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1093)
    atoracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2047
    atoracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:1940)
    atoracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java
    :2709)
    atoracle.jdbc.driver.OracleStatement.executeUpdate(OracleStatement.java:796)
    atweblogic.jdbc.pool.Statement.executeUpdate(Statement.java:872)
    atweblogic.jdbc.rmi.internal.StatementImpl.executeUpdate(StatementImpl.java:89
    atweblogic.jdbc.rmi.SerialStatement.executeUpdate(SerialStatement.java:100)
    at bfinance.framework.EDBBLBean.executeSQL(EDBBLBean.java:299)

  • How to Calculate Top-n analysis

    Hello,
    I am using Cross Tab Report to get Customer and countriwise revenue report. Rows represents customer and columns represent company. I have used "Total" function to calculate Customer wise Total Revenue Amount. Thus total revenue amount gets printed at the end of each row.
    I can use sort o Toal Revenue column in High to Low order to print highest paying customers. But my users want me to pass parameter where in they will mention number of top paying cusotmers to be printed in report. For eg: if parameter value is 20 then, report should print Top 20 Customers with highest revenue amount.
    Please help.
    Thanks,
    Anish

    Additionally, there are some analytic templates in Plus that may help you with your rank calculation.
    Templates:
    http://download.oracle.com/docs/html/B13915_04/calculations.htm#i1035520
    Examples:
    http://download.oracle.com/docs/html/B13915_04/dialog_reference.htm#i1026848
    Regards,
    Steve.

  • How to disable Row label from the aggregation function in Pivot table

    Hello everyone,
    I have table in Power Pivot like shown below:
    Item_Name
    Category
    Vendor
    Sales_Amount
    Item 1
    Category 1
    Vendor 1
    30
    Item 2
    Category 1
    Vendor 2
    25
    Item 3
    Category 2
    Vendor 3
    50
    Item 3
    Category 2
    Vendor 3
    60
    Item 3
    Category 2
    Vendor 3
    20
    Item 2
    Category 1
    Vendor 2
    10
    Item 2
    Category 1
    Vendor 2
    30
    Item 2
    Category 1
    Vendor 2
    100
    Item 2
    Category 1
    Vendor 1
    20
    By using above table i have to create Rank(Based on Sales amount) by Category and Item name in Pivot table, i have done easily like added two dimension attribute(Category, Item_Name) into row label and Sales_Amount into aggregation tab then I calculated
    rank:=RANKX(ALL(Sales[Item_Name]),[Sum of Sales_Amount]) so finally pivot table looks like shown below:
    But end user want to see the vendor name also in the pivot table but the Rank suppose to be based on Sales amount by Category and Item name. if i added the vendor name also into the row label, rank calculated based on on Sales amount by Category, Item
    name and vendor.
    I would be really grateful if anyone advise how to fix this problem as it will be helpful my most of the reports.
    Regards,
    Robert 

    Darren Gosbell,
    Thanks for your reply.
    Item_Name
    Category
    Vendor
    Sales_Amount
    Item 1
    Category 1
    Vendor 1
    30
    Item 2
    Category 1
    Vendor 2
    25
    Item 3
    Category 2
    Vendor 3
    50
    Item 3
    Category 2
    Vendor 3
    60
    Item 3
    Category 2
    Vendor 3
    20
    Item 2
    Category 1
    Vendor 2
    10
    Item 2
    Category 1
    Vendor 2
    30
    Item 2
    Category 1
    Vendor 2
    100
    Item 2
    Category 1
    Vendor 2
    20
    Item 4
    Category 1
    Vendor 2
    3
    Item 4
    Category 1
    Vendor 2
    50
    Item 4
    Category 1
    Vendor 2
    3
    The above is my new source data.
    I used this function to calculate  Rank:=RANKX(ALL(Sales[Item_Name]),[Sum of Sales_Amount])
    and also used yours below:  
    Rank2:=RANKX(SUMMARIZE(ALL(Sales),[Item_Name],[Category]),CALCULATE([Sum of Sales_Amount],ALLEXCEPT(Sales,Sales[Item_Name],Sales[Category])))
    The Preceding screenshot is the result of our two function but i wanna pivot table like shown below:
    Could please help me to fix it out.

  • OBI 11G Queries

    Hi All,
    We are using OBI11G EE. In our logical layer there is only one star schema, we have many aggregate tables, and some time series measures. When I look at OBI queries executed against the database there are some interesting calculations. Is there any way to determine why it is creating those kind of queries?
    In many of obi queries I can see a lot of levels of analytic calculations(rank(), row_number() etc..), is there any way to make it stop writing these queries?

    Hi,
    thanks for the answers
    Saichand Varanasi,
    Actually I know about analytic functions, but they are simply not enough to create month ago, year ago or toDate calcuations because for analytic functions to work every record shold exist in every month, or I need to manually create 0 value records(think about a specific sale to a customer for only one month, when we come to the next month we cannot possibly generate MAgo value to bring up that value in that granularity, we need to create a record with 0 sale in the next month and this is extra work and also I would be expanding my data size).
    Another way to create time series calcuations in OBI is using fragmantation this is an alternative, but I don't think it is all related to time series calculations and in any case I don't have a problem about OBI sending 5 queries just to calculate one report(I think for time series case more than one query is actually the better way)
    What I need is to understand why it is creating queries the way it does. I couldn't find any documentation about this, in some of queries it generates 30 levels of row_number and rank calculation this is simply not needed. Another thing it sends distinct in almost all queries(there is an option to specify distinct expilicitly but there is none to remove it), I don't want it if the values are repating it should let it repeat, it is my problem.
    Amith,
    I am aware it is creating queries based on the logic I build, but I am saying there is only one star schema this is as simple as it gets, to take any action first I should be able to determine the cause

  • Query execution was not successful in discoverer viewer

    hi all,
    disco viewer is showing an error like "Query execution was not successful. -Failed to connect to database" when i ran a report(in which rank function is included), where the same report is running fine is disco desktop. am just wondering are there any settings to be changed in desktop to run like these reports in disco viewer?
    ur help in this regard wil gr8ly appreciated.
    thanks very much in advance.
    _Rakesh Reddy.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    hi,
    thanks very much for your reply.
    the problem is with rank function it seems, its opening in disco viewer & running in disco plus also when i remove that rank calculation. but its not even running is disco plus with that rank function.
    am using 10.1.2.48.18 version of disco desktop with 10g DB.
    thanks.

Maybe you are looking for

  • Z10 with AMOLED screen

    I read many reviews with just one cons of z10 i.e. battery life. The persons who own z10 cannot change the phone, but how about if blackberry can provides AMOLED screen for z10? Just replace that screen and u get better battary life. Just a thought .

  • How to view my video recording in iPad air

    Can any body suggest a way out pl ?

  • Looking for FLEX product developers in Bangalore (Whitefield Area)

    Experience in either Desktop Application development OR Web Application development for a California based Enterprise Storage company in Bangalore (Whitefield Area). Contact 9845505390 Should have worked on latest version (FLEX 4+) Should have worked

  • Adding Messaging/Inbox

    Hello, I am trying to add messaging to my website and I'm stuck- What I am using: I am building my website with the help of DreamWeaver cs4. I am building my site using PHP and MySQL and I am building my database in PhpMyAdmin. What I am trying to do

  • 3M cloud app.

    Frequently books on hold become hidden, not visible to me.  Have to frequently delete and reinstall 3m cloud app.  Now getting message - device activation failed.  Too many activations for Adobe ID.  Please help, in the middle for readings books.  Th