Smart questions
Smart answers
Smart people
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

LINK TO THIS FORUM!

Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

Partner With Us!

"Best Of Breed" Forums Add Stickiness To Your Site
Partner Button
(Download This Button Today!)

Feedback

"...Your site has saved me hours of work that I cannot begin to express my satisfaction..."

Geography

Where in the world do Tek-Tips members come from?
BB45 (TechnicalUser)
27 Jan 11 13:51
RS 2008
Data SQL 2005

Before I spend a couple of hours figuring out which is best I thought I would ask...

I have a report where I am going to display an amount based on a parameter entered at run time. I have four different amounts but only one will be displayed at a time and I can think of two ways to do this. All of the data will be returned in the query regardless.

1. Add all columns to the report and hide the unwanted columns based on the parameter

2. Build the parameter into the expression on one amount column and therefore limit the number of columns in the design view.

The best efficiency in rendering is what I am after. If anyone has another suggestion that would be great.

Thanks
BB
RiverGuy (Programmer)
27 Jan 11 16:43
I would probably do #2.  But you could test both.  Take a look at the TimeStart/TimeEnd columns in the ExecutionLog2 view in SSRS to see which takes longer.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close