16. How can we create top 10 and bottom 10 records in
the same list?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
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 |
Answer / barathi
hi venu can you expalin clearly with example esp for bottom
ten records
thanks
| Is This Answer Correct ? | 0 Yes | 0 No |
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 |
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 |
What are query items?
what is the different between primarykey and surrogated key.. why we are going for surrogatekey...
can any one explain about blue prints&performance tuning in cognos?
how the values be passed to prompts in report studio? when a data item is dragged n dropped in to report, after the default query generated first which sql will the query query hit for processing means (native or cognos)? plz answers to these questions?
3 Answers TCS, Thomson Reuters,
1. What is stiched Query 2. What is loop in Fm 3. Best practices in modeling in FM 4. Three types of SQL 5. Difference between pass-thro and native sql? 6. will usage of pass thro sql will improve the performance? 7. Complex problems fced in your project 8. performance tuning in reports
I have to apply drill through 1,2,7 out of 10 in order method, how can i do?
what is model and say about process how to create model and how to test model?
what are the names of the reports that you prepared?
What is a business view? and what is the difference b/w business view and folder?in cognos report life cycle when it will be involved ?
How do we drill through from a powerplay cube to reportnet?\
how u publish the packages in framework manager
What do you do to make a report result in showing 4 different regions in an xl sheet in individual sheets(like Region1-sheet1,Region2-Sheet2 soon)?