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

Help with SSRS 2008 R2 Page name for previous tablix carries over to next tablix when no data returned and page break disabled when exporting to excel

$
0
0

Any help on this will be much appreciated. 

I have a number of tablix/data regions in my report, They all have unique page names and are separated by break location set to 'end'

For Each Tablix:

  • I have set visabliity to false if the total value  returns zero.
  • I have set the page break , disabled property to return a true if the value  returns zero.

=iif(sum(Fields!Amount.Value) <= 0,True,False)

  • I have also set the page name property x to the be blank if the value returns a zero 

=iif(sum(Fields!Amount.Value) <= 0,"","Table1")  

When Exporting the data to excel , The page names are fine if the previous tablix contained data, if no data was in the previous tablix I get  the blank "" page name carried over to the table that does have data...

So, to illustrate on export

Tablix1 : 10 rows of data returned to tab1: sheet name in excel =Table1 

Tablix2 : 10 rows of data returned to tab2: sheet name in excel =Table2

Tablix3 : 0 rows of data returned: no sheet in excel created

Tablix4 : 10 rows of data returned to tab3: sheet name in excel = "Sheet3"

Tablix5  : 10 rows of data returned to tab4: sheet name in excel =Table5


new to SQL server reporting


Viewing all articles
Browse latest Browse all 10045

Trending Articles



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