how do u implement dense rank in bo reports?

Answers were Sorted based on User's Feedback



how do u implement dense rank in bo reports?..

Answer / shikha

The DENSE_RANK function computes the rank of a row in an
ordered group of rows.Rows with equal values for the
ranking criteria receive the same rank.

For eg.

To Show the set of sales people who make the top 3
salaries - that is, find the set of distinct salary
amounts, sort them, take the largest three, and give me
everyone who makes one of those values.

SELECT * FROM (
SELECT deptno, ename, sal,
DENSE_RANK()
OVER (
PARTITION BY deptno ORDER BY sal desc
) TopN FROM emp
)
WHERE TopN <= 3
ORDER BY deptno, sal DESC
/

DEPTNO ENAME SAL TOPN
---------- ---------- ---------- ----------
10 KING 5000 1
CLARK 2450 2
MILLER 1300 3

20 SCOTT 3000 1 <--- ! (in
case of rank
JONES will have
3 and dense
rank will have 2)
FORD 3000 1 <--- !
JONES 2975 2
ADAMS 1100 3

30 BLAKE 2850 1
ALLEN 1600 2
30 TURNER 1500 3

Is This Answer Correct ?    11 Yes 6 No

how do u implement dense rank in bo reports?..

Answer / nareshkumar

Dense Rank is used for assigning a precedence or rank to
each row in the result set relative to other rows in the
result set.

Is This Answer Correct ?    5 Yes 9 No

Post New Answer

More Business Objects Interview Questions

how to make a report avilable to other users?

2 Answers  


What is top business?

0 Answers  


Hi, In BO at universe designer i had four tables which has many to many relationships between the tables. How to fetch the correct results in the report?

2 Answers   TCS,


If there is no common dimension? Is it possible to combine two different dataproviders?

7 Answers  


WHAT TYPE OF JOINS RETURNS INCORRECT RESULTS?

2 Answers  






when to go for alias and when to go for contexts

4 Answers  


What is global filters and local filters

3 Answers   IBM,


Hai, Can anyone tell me 'how to use one dataprovider result as an input to another dataprovider?. In BO6.5 there is an option like "select query result". we can use this option in the filter. but the same thing not available in BO XI webi. if any one face this problem , can you please share with me how to do this? Thanks, Narmatha.

3 Answers  


WHAT IS THE DIFF BETWEEN BO6.5 AND BOXI

5 Answers   TCS,


what is the difference between breaks and sections?

3 Answers   IBM,


When we r going for Short_cut join & It's Resolution??? Plz provide one scenario??

2 Answers   Rolta, TCS,


normally we get many contexts when resolving loops or traps,how do u take them to reports.

2 Answers   Wipro,


Categories