![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
| + iif(Parameters!pTime.Value = "All Time", "", |
#3
| |||
| |||
|
|
Maybe there's a better solution; but one way would be to build the SQL query as an expression in Reporting Services, rather than using SQL query parameters (this method is also used for MDX 2000 queries). In that case, the "where" clauses could be selectively added, only when the corresponding report parameter is not "All". For Time dimension example, expression fragment is like: + iif(Parameters!pTime.Value = "All Time", "", " and ReportTable.TimeColumn = " + Parameters!pTime.Value) - Deepak Deepak Puri Microsoft MVP - SQL Server *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
![]() |
| Thread Tools | |
| Display Modes | |
| |