Solved

SSRS Parameters

Posted on 2013-01-25
4
299 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
ID: 38819813
...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
ID: 38820085
liija
How do I do that
0
 
LVL 6

Accepted Solution

by:
liija earned 500 total points
ID: 38820163
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
ID: 38820231
Thanks
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
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…

896 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

15 Experts available now in Live!

Get 1:1 Help Now