Show hide based on parameter values ---

I am doing this to show or hide  columns based on parameters values. I am setting the hidden property in an expression

=IIf(Parameters!tt.Value(0) = "ven",FALSE,TRUE)

If i remove a column I would like it so that there is not a big gap in my report where the hidden column would appear ... see the attached screenshot.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

vbnetcoderAuthor Commented:
What reporting tool are you using or is this just a grid ib VB?

vbnetcoderAuthor Commented:
I'm not sure i understand the question.  This is a ssrs table.  See the screen shot
Become a CompTIA Certified Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

I am not an SSRS user so I didn't recognize it.

In my experience that is the way most reporting tools work.  You can hide a column but that doesn't shrink it or make it disappear.

Can you set the width through a formula so the width is set to 0 or a small value like 0.05

vbnetcoderAuthor Commented:
still looking for advise on this
Nico BontenbalCommented:
When you right click the column header of the tablix you'll get the "Column Visibility" property. Enter the formula there and see if that helps. With me this property hided the entire column and the columns right of the hidden column move to the left.
I think you used the hidden property of the text field in the column. Since you can set this poperty on a row by row basis (show the age for females but hide it for males (or the other way around maybe :-) )), this won't hide the entire column, just the data in the column.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
vbnetcoderAuthor Commented:
That worked. Thanks!
vbnetcoderAuthor Commented:
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.