SSRS Table insert blank row in row 11

Hello Experts Exchange
I have a SSRS table that I want to have a Blank row in row 11, what is the IIF statement I need to make the blank row visible on row 11?


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.

Nico BontenbalCommented:
See the attached example. You'll need to change the Data Source in my sample and point it to your own SQL Server.
I wasn't sure if you wanted to hide the data on row 11 or actually insert a blank row in row 11. Just to make sure I did both.

To hide the data on row 11 I used this expression for the text box:
=iif(RowNumber("dset")=11,"", Fields!nr.Value)

Open in new window

'Dset' is the name of the dataset and 'nr' is the name of the field.

To insert a blank row on row 11 I inserted a row in the design of the table. Then I right clicked the indicator before the row and choose 'Row Visibility...'. There I entered this expression:

Open in new window

Again 'dset' is the name of my database. So this hides the blank row when the row number is not 11.

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
SQLSearcherAuthor Commented:
Thank you for your help.
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.