Solved

SSRS Matrix column visibility

Posted on 2014-09-30
3
165 Views
Last Modified: 2015-02-25
I have ssrs matrix report with Months 1 and 12. if there is no data in any one of months I would like to hide that column

Example:

Account Id                   Jan    Feb  Mar  Apr May Jun Jul Aug  Sep Oct Nov Dec
100                                1        2       3       4                          7     10   11            12

output will be

Account Id                   Jan    Feb  Mar  Apr  Aug  Sep Oct  Dec
100                                1        2       3       4       7     10   11     12
0
Comment
Question by:SURESH0518
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 15

Expert Comment

by:Vikas Garg
ID: 40353943
Hi,

You can set the collumn visibility property

=IIF(sum(Fields!Column.Value)>0,false,true)
0
 

Author Comment

by:SURESH0518
ID: 40356514
But the above condition works in Tablix not in Matrix
0
 
LVL 15

Accepted Solution

by:
Vikas Garg earned 500 total points
ID: 40356608
If the column would have a single value then the full column will be visible.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Written by Valentino Vranken. Introduction: In a previous article (http://www.experts-exchange.com/articles/Microsoft/Development/MS-SQL-Server/MS-SQL_Reporting/Reporting-On-Data-From-Stored-Procedures-part-1.html) I announced that I would writ…
Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question