Solved

SSRS Parameters

Posted on 2013-01-25
4
306 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Hi All, I am here to write a simple article to move SSRS (SQL Server Reporting Services) reports from one server to another. When I have faced the same issue to move reports those were developed by developer on development server and now need to …
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
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…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …

724 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