16. How can we create top 10 and bottom 10 records in
the same list?

Answers were Sorted based on User's Feedback



16. How can we create top 10 and bottom 10 records in the same list?..

Answer / itesh

simple man

top 10 alway will be on some measure based on some dim not
simply top 10 and bottom 10,

make q1>
get the rank of the measure rank(measure for dim )<=10
make q2
the rank in the desecending order of measure
rank(measure for dim desc )<=10

make q3=q1 union q2

Is This Answer Correct ?    12 Yes 1 No

16. How can we create top 10 and bottom 10 records in the same list?..

Answer / arangaraj

Hi,

All are wrong.for ex. if u have list report with
region,staff name and revenue. if u want show top 10 and
bottom 10 performance based on the revenue, drag new data
item from tool box to query item box then expression window
will show in that type like

For Top 10 performance:rank([revenue]desc for [region])
and give name for new query item like Rank or anything.
then drag this new query item to the detail filter window.
then type [Rank]<=10.

For Bottom 10 performance:rank([revenue]asc for [region])
[Rank]<=10.

if u want any query about cognos don't hesitate call me
by mobile:9787642227

Is This Answer Correct ?    8 Yes 1 No

16. How can we create top 10 and bottom 10 records in the same list?..

Answer / suman

ex. if we have a report with 100 records then

1.select a column which has measures(ex: quantity)
2.click on calculate ,select operationtype as analytic &
operation as rank
3.select the measure col, click on sorting
4.select the measure col, click on filters(in edit data)
5.select combine filters
6.add a filterline
7.select the range as from 1 to 10
again click on add a filter & set the operation as OR &
range from 90 to 100
click ok & run

Is This Answer Correct ?    3 Yes 1 No

16. How can we create top 10 and bottom 10 records in the same list?..

Answer / z

Explanation is not clear.plz explain properly

Is This Answer Correct ?    1 Yes 0 No

16. How can we create top 10 and bottom 10 records in the same list?..

Answer / kush

add dataitem rowcount with expression row_count.once it is
done sort the dataitem in the descending order. applying
filter with rowcount<10 gives the solution

Is This Answer Correct ?    1 Yes 0 No

16. How can we create top 10 and bottom 10 records in the same list?..

Answer / venu

for example if u want to create top ten employees who are
generated max revenue then add new dataitem with expression
rank(total(revenue) for employeename) and in filter
deffination dataitem<10 then u will find top ten records
and for bottom ten records add rownum to column and make
desending order nuw filter for 10 records thats it okayyyyy

Is This Answer Correct ?    4 Yes 4 No

16. How can we create top 10 and bottom 10 records in the same list?..

Answer / barathi

hi venu can you expalin clearly with example esp for bottom
ten records
thanks

Is This Answer Correct ?    0 Yes 0 No

16. How can we create top 10 and bottom 10 records in the same list?..

Answer / kumar / nkumar.cog@gmail.com

Hi Guys whenever posting your answers please leave you Email
ID or any contact..........Thanks

Is This Answer Correct ?    1 Yes 1 No

16. How can we create top 10 and bottom 10 records in the same list?..

Answer / kruthi

By applying conditional format to the required column in
atable we can get top 10 and bottom 10 records in the same
list.
EX:if u want the employees whose sale is greater than 1000
then apply the condition employee sales>1000
then u will get the employees list whose sale is >1000 in
the top 10.
intye same way u can create bottom 10 records in the same
list

Is This Answer Correct ?    1 Yes 7 No

Post New Answer

More Cognos Interview Questions

What are the types of studio present in Cognos?

0 Answers  


what is a box type in cognos? what is a stitch query? what are the services that run in background when cognos is running

2 Answers   IBM,


Can we install Cognos 8.4 on Windows Vista...Please let me know....Thanks!!!

2 Answers  


wt is scope relationship?

2 Answers  


what is alias what is shortcut what ia alias shortcut and diff among them if u know explain clearly

2 Answers   TCS,






------------------What is Inline Query?

0 Answers   Cap Gemini,


how to access the database directly from cognos reportnet

2 Answers  


whis meant by Thumbnails on cagnos?

2 Answers  


----------------What is meant by DSS?

1 Answers   Bank Of America,


1. Explain your project.

0 Answers   IBM,


where we use page break  and page set. with example?

1 Answers   CNSI, IBM,


how you create security to reports?

0 Answers   IBM,


Categories