Blog Post
How Do You Define a Message For An SSRS/ReportBuilder Report With No Rows?
Author
Mandy Doward
Date
February 15, 2018
Length
2 mins
Specifying a No Rows Message for an SSRS/Report Builder Report
I’m sure we have all come across a scenario where a parameter report has allowed a user to specify a combination of conditions that results in no matching records for a dataset behind a region in an SSRS report.
If the report has headers, footers or textboxes then there may be some output produced when the report is run to make it obvious that there is no valid data for the report, as in the following example:
But in the following example it is not clear that there is no data, it just looks like the report has not run:
The Tablix region has a “NoRowsMessage” property that can be set to a suitable message to display if a dataset returns no records:
Now when we run the report if a parameter value is specified that results in an empty dataset it will be obvious:
This is true for reports with and without report headers and footers:
I hope you have found this helpful.
If you would like to learn more about designing report in Report Builder or SQL Server Data Tools (SSDT) take a look at the following courses:
Writing Reports With Microsoft Report Builder SSRS Level 1
Share This Page
Mandy Doward
Managing Director
PTR’s owner and Managing Director is a Microsoft MCSE certified Business Intelligence (BI) Consultant, with over 30 years of experience working with data analytics and BI.
PTR FAQs
See our FAQs or get in contact for more information on any of our services, solutions, or to start your PTR journey.