reporting services - How do I display headers in reports even if the dataset is empty -


i have simple report has structure

enter image description here

the report spans horizontal different movie titles dataset.

the issue i'm having when dataset returns empty set of results report single empty cell.

enter image description here

is there way have row headers display if dataset returns null? or there better way this?

maybe https://dba.stackexchange.com/questions/48101/how-to-keep-the-structure-of-the-tablix-when-there-is-no-data-to-show/48846#48846?

unlike answer, have on title column group.

right-click title column group, , click add group > adjacent before... or adjacent after...


text answer:

you can add row outside of outermost group right under tablix header row.

{image}

set row visibility show or hide based on expression. expression like:

=iif(countrows("dataset1") > 0, true, false) 

when there no data, table show headers , empty row.

{another image}

when there data, empty row hidden.


Comments

Popular posts from this blog

c# - Better 64-bit byte array hash -

webrtc - Which ICE candidate am I using and why? -

php - Zend Framework / Skeleton-Application / Composer install issue -