Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

Hide blank rows in SRSS 3.0

$
0
0

Hi

I have designed a report for our Insolvency department which shows the disbursements on the job in different rows.

This has been working fine however now they have added more codes so I need to add more rows however I still want it to fit on one page.

A lot of these new codes won't be on every job so I was thinking I could have all the rows configured in the SRSS report and then have the report automatically hide them once the report is run and it recognises no data is coming through for that row.

At present each row comes from a different dataset and I show the sum of the amount field so row 1 would be like below

=Sum(Fields!Amount.Value, "DisbAdvert")

Row 2 as follows

=Sum(Fields!Amount.Value, "DisbStorage")

Row 3

=Sum(Fields!Amount.Value, "DisbPost")

Is there a way to have it so if row 2 was null it would hide it and shunt all the row up leaving no gaps?

I have done a Google search and found if I create a table and go into Row Group Properties and then Filters I can enter this fx

=IsNothing(Fields!Amount.Value).

Then false in the = value

This works however I don't know how to then hide/show the other rows that are in different datasets to the tablix itself if that makes sense?

I looked into the Row Visibility option and clicked on show or hide and used the following expression

=IsNothing(Fields!Amount.Value, "DataSet3")

But I didnt know where to insert the True/Falso values which might be all I need?

Any help appreciated.

:)


Cheers Chris


Viewing all articles
Browse latest Browse all 10045

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>