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.
vbnetcoderAsked:
Who is Participating?
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:
0
mlmccCommented:
What reporting tool are you using or is this just a grid ib VB?

mlmcc
0
vbnetcoderAuthor Commented:
I'm not sure i understand the question.  This is a ssrs table.  See the screen shot
0
Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

mlmccCommented:
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

mlmcc
0
vbnetcoderAuthor Commented:
still looking for advise on this
0
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.
0

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!
0
vbnetcoderAuthor Commented:
ty
0
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
SSRS

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.