Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / Services / Reporting Services / June 2008

Tip: Looking for answers? Try searching our database.

problem with report parameters

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
SalemOR97301 - 25 Jun 2008 23:14 GMT
Hello All-

I am trying to create a prompt in report parameters but I am getting the
value for every row in the query. How do I only display a single instance of
each choice? Also - when I do pick one, the report still shows everything
even different items than I want. What can I do to fix this problem?

Thanks,

GT
TheRealRobbie - 30 Jun 2008 09:00 GMT
GT,

First of all, I'm guessing you're using a select query to populate the
parameter list.
Simply do a "distinct" in that query.

Example:
Select distinct catagory_name from sales_orders

For the second question; have you included the paramater name in your query?
For example, if you have a parameter with catagories, and you want to filter
on this, you would have to alter your query to

select * from sales_orders where catagory_name in (@name_of_your_parameter)

(Note, this is for a multi-value parameter)

Good luck, Rob

> Hello All-
>
[quoted text clipped - 6 lines]
>
> GT
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.