Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 456
  • Last Modified:

Microsoft SSRS question

I have 2  matrix table . in a report layout. They have the same fields from the dataset in them.

there is a field in the dataset that is not in either of the tables that I would like to use to determine what record is display in each table


dataset
------------
A
b
c
d
version


if version is 1  then table A

table A

a  b  c  d

if version is 2  then table B

Table B

A B  C  d
0
TClevel
Asked:
TClevel
1 Solution
 
Jason Yousef, MSSr. BI DeveloperCommented:
Hi,

you have 2 options:

1-you can create 2 datasets, one datset for each matrix,  and add a where clause to the query to limit each version to each dataset.
2-add a IIF condition on the visibility property of each of the matrixs, to display only it's version of rows.

use this link as an example reference for the same concept , http://lukehayler.com/2010/02/custom-visibility-toggling-ssrs-2008/
0
 
TClevelAuthor Commented:
Thank you soory for getting back late
0

Featured Post

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now