Solved

SSRS Parameters

Posted on 2013-01-25
4
297 Views
Last Modified: 2013-01-25
I have a report that show "All" data

I want to add two comboboxes

Exch one will filter on distint values in a column

For example...
The report may have 1000 records, but only three distinct usernames

I want a combobox that has a blank for all, and then the three distinct users.
On select of a user, the report is filtered.
0
Comment
Question by:lrbrister
  • 2
  • 2
4 Comments
 
LVL 6

Expert Comment

by:liija
Comment Utility
...so you should use the switch 'Allow multiple values' behind the parameter.
That switch will allow you to choose all the usernames when needed on the report.

Is that what you are after?
0
 

Author Comment

by:lrbrister
Comment Utility
liija
How do I do that
0
 
LVL 6

Accepted Solution

by:
liija earned 500 total points
Comment Utility
Here is one step-by-step example:
http://www.wiseowl.co.uk/blog/s187/multivalue-reporting-services.htm

You need two datasets, one for the parameter and one for the main report.
At the end the author adds filter to the tablix. You shouldn't do that - if your data is more than a few hundred rows.
Instead, add WHERE-clause to your main dataset:
WHERE user in (@User)

Open in new window


It would also be better if you found user names and id's somewhere else than transactions (users-table?) for the parameter. Then filter the report query with user_id's.
0
 

Author Closing Comment

by:lrbrister
Comment Utility
Thanks
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

A recent question popped up and the discussion heated up regarding updating a COMMENTS (TXT) field in a table using SSRS. http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/MS-SQL_Reporting/Q_27475269.html?cid=1572#a37227028 (htt…
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.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

763 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

9 Experts available now in Live!

Get 1:1 Help Now