How to Hide Blank Column and Row

Niya Shah 0 Reputation points
2024-02-27T20:44:01.8266667+00:00

User's image

As you can see, the row and column in blue and white are blank; there is no data. I grouped the data by rows and columns to achieve this table format, but somehow, when I select the parameter value to 'select all,' it results in a blank column in every 'SectionNumber' on page breaks. I also tried using IIF(Nothing) values, then IFF(LEN()), and Trim values, but none of these approaches worked. Can you help me solve this problem?

SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
{count} votes

1 answer

Sort by: Most helpful
  1. ZoeHui-MSFT 41,536 Reputation points
    2024-02-28T02:28:46.52+00:00

    Hi @Niya Shah,1.Select the column, right-click, and select Column Visibility2.Choose to set visibility by expression.

    =iif(isnothing(Fields!yourcolumn.Value),"False","True")
    
    
    

    Regards, Zoe Hui


    If the answer is helpful, please click "Accept Answer" and upvote it.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.