Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7862003
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T22:57:46+00:00 2026-06-02T22:57:46+00:00

I have a single tablix on the SSRS report which fetches data from a

  • 0

I have a single tablix on the SSRS report which fetches data from a stored procedure.

I am trying to show a meesage to the User when no data is present say, “** There is no data for this report*“. I can do this easily by specifying this message in the **NoRowsMessage property of the tablix. But I want to show the headers of the tablix along with this message.

If I don’t set the NoRowsMessage property, I get the headers but no message, but if I do, I get the message but no headers.

I need some help with this.

Note: I am using SSRS 2008.

Edit:

I can also put up a textbox with the relevant text message below the tablix and set it visible only if the tablix contains no rows. But I am not able to figure out as to how do I find out from the Visibility expression of the textbox whether the tablix contains any rows or not.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T22:57:47+00:00Added an answer on June 2, 2026 at 10:57 pm

    A tablix object is related to the underlying dataset, so if there’s no data, there’s no table in the output.

    Other than using the NowRowsMessage property, the only other way I can think of to enforce this would be to ensure your query returns an empty value placeholder when there are now rows returned. This way you would have, in essence, a single data row.

    You could then try and add a conditional expression on the table (i.e. on the Visibility property of the details row) to prevent any rows containing your placeholder from showing up.

    So in your query you could have:

    IF (@@ROWCOUNT= 0)
    BEGIN
    
    SELECT 
    '[IAMEMPTY]' as [Col1]
    ,'[IAMEMPTY]' as [Col2]
    ,'[IAMEMPTY]' as [Col3]
    
    END
    

    And then in the Visibility property of your table’s detail row:

    =Iif(Fields!Col1.Value = "[IAMEMPTY]",True,False)
    

    EDIT: Alternatively, to check if the DataSet is empty in SSRS and show a rectangle containing your message/headers (as mentioned in TooSik’s comment), you could set up a rectangle with this in the Visibility expression:

    =Iif(Rownumber("Dataset_Name")=0, False,True)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a single char(8) variable formatted as ddmmyyyy in a stored procedure (quality
I have a single xml document (data.xml), which I display as HTML using an
we have strange problem, we have single signon and we are trying to fetch
I've been working on a project which uses SPNEGO to have Single Sign On
Can I have single digit wordpress permalinks? Trying to force the permalink to 2
I wrote simple iOS app which countdown the time til midnight. I have single
i have single php dynamic page that load image each time app user is
I have the following file which process a single XML file and pushes it
I have a DataGridView which I add data to programatically. I have the AutoSizeRowsMode
I have single field that allows the user to input different options in one

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.