I've read other posts that recommend using parameters when displaying dynamic data in the header because it renders correctly in pdf. I am trying to implement that solution but have run into an issue. It works when data is returned for a parameter, but it throws an error if data is not returned. Here is my setup:
- Hidden
- Allow null value
- Allow blank value
- Available values: From query
- Default values: From query
The textbox in my header has the following value:
=IIf(IsNothing(Parameters![Report Parameter Name].Value), "", Parameters![Report Parameter Name].Value)
When a row is not returned for the default value, it displays the error:
The '[Report Parameter Name]' parameter is missing a value.
I'm new to reporting services so I may be missing some large concept. To me, no data returned fits the Allow null value criteria.