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

ssrs 2008 r2 export to excel issue on report server

$
0
0

In an SSRS 2008 R2 report, I have the following expression on the 'Hidden' property on the Tablixes where I
do not want the headings exported to EXCEL or PDF.

=IIF(Globals!RenderFormat.Name = "EXCEL" OR Globals!RenderFormat.Name = "PDF", True, False)

The code listed above works fine when I am using my visual studio bids ide.
However when I deploy the code listed above to the test report server, the following occurs:
1. The heading columns for PDF do not show up, however
**2. The headings columns show up when I export the SSRS report to EXCEL on the report server.

I do not understand why the code would work on the visual studio ide and it does not work on the report server.

I also want to mention that when I change the code to the following:

=IIF(Globals!RenderFormat.Name = "EXCEL" OR Globals!RenderFormat.Name = "PDF", False, True),
that:
1. the Excel report headings show up on visual studio and
2. the Excel report headings do not show up on the report server.

Thus can you tell me what could be causing this problem and what I can do to solve the problem?
What code should I use?



Viewing all articles
Browse latest Browse all 10045

Trending Articles



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