reporting services - SSRS: Top n AND Bottom n (filter) -


is there way can filter in ssrs return top n , bottom n

e.g. if have numbers -50 through +50

and filtered on top 5 , bottom 5

i expect see

-50,-49,-48,-47,-46,46,47,48,49,50

is possible, allows when i've tried appears ignore second filter

you can defining 2 groups. 1 group has filter top 5 , other count of records less 5 bottom n filter

this technique described in full @ http://www.bidn.com/blogs/mikedavis/ssis/172/top-n-bottom-n-grouping-in-ssrs-2008

if there chance on getting duplicate records @ boundary need retrieve boundary value , return matching value or (more/less depending on top/bottom).

the duplicate handling can done eg http://www.bidn.com/blogs/mikedavis/ssis/1875/ssrs-top-n-and-bottom-n-reporting-with-duplicates


Comments

Popular posts from this blog

jasper reports - Fixed header in Excel using JasperReports -

media player - Android: mediaplayer went away with unhandled events -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -