Solved

TOP 10 by GROUP with Tablix in SSRS????

Posted on 2010-08-17
3
2,245 Views
Last Modified: 2012-05-10
I need to display my data in a Tablix in SSRS and Group the data  so that each Group is separated and then shows the TOP 10 (Z-A) based on a Summary Amt.

Please help me understand how to setup the Report Group and how to acheive this in SSRS.

Thanks
M
0
Comment
Question by:MIKE
3 Comments
 
LVL 16

Expert Comment

by:vdr1620
ID: 33460168
You can start with the links below

http://www.mssqltips.com/tip.asp?tip=1329
http://www.simple-talk.com/sql/reporting-services/beginning-sql-server-2005-reporting-services-part-1/
http://msdn.microsoft.com/en-us/library/ms170246(SQL.90).aspx

If you want them to be displayed in Desc Order you do that in your SQL query by using

ORDER BY ColumnName Desc..
0
 
LVL 19

Expert Comment

by:Bhavesh Shah
ID: 33461870
Hi,

As you assigned SQL SERVER 2008 Zone so I'm giving u sample query,if u require.

I had created dummy table "Master"
with two columns.
UserType And ShortName.

U just create table and copied dummy data into table.
SELECT TOP 100 a.usertype,a.shortname,row_no

FROM dbo.Master a

INNER JOIN (SELECT usertype,shortname,ROW_NUMBER() OVER(PARTITION BY userType ORDER BY shortname DESC) AS 'Row_No' FROM dbo.Master) B ON

a.shortname=B.shortname

AND b.row_no<=10

ORDER BY a.userType,a.shortName

Open in new window

testData.xlsx
0
 
LVL 10

Accepted Solution

by:
itcouple earned 500 total points
ID: 33469565
Hi

If you have a group in SSRS. Go to properties of the group where you want to show 10 items (details?) and add filter use operator TOP N (remember to use expreesion for value =10, 10 on it's own won't work)

If you have very big dataset Brichsoft solution might give you better performance.

Regards
Emil
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

Introduction Earlier I wrote an article about the new lookup functions (http://www.experts-exchange.com/A_3433.html) that ship with SQL Server 2008 R2.  In this article I’m going to show you another new feature of SSRS 2008 R2, this time in the vis…
In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now