Quantcast
Channel: SQL Server Reporting Services
Viewing all articles
Browse latest Browse all 1418

Creating Matrix Chart using two datasets

$
0
0

I have created a report in Visual Studio using one Data Source of CADARCHIVE and I have two Datasets called Non_Self_Initiated and Response_Vehicle_Personnel.  Each dataset is built from the data source of CADARCHVE and they both have a common columns in their tables.  They are named differently but have the same matching data in the columns (which links them together).  In Non_Self_initiated the column is call "ID" and in Response_Vehicle_Personnel the column is called "Master_Incident_ID".  In the Response_Vehicle_Personnel there is a column for Name and in the Non_Self_Initiated dataset there is a column named MethodOfCallRvcd.  I need to show how often Name was associated with MethodOfCallRcvd during a certain time period. 

So I built a Matrix in the report and in the first column I wrote the following to capture the Name :   =Lookup(Fields!ID.Value,Fields!Master_Incident_ID.Value,Fields!Name.Value,"Response_Vehicle_Personnel"),  In the 2nd column I just use =Count(Fields!MethodOfCallRcvd.Value).

The goal is this,  In Response_Vehcile_Personnel it has the persons name as well as the corrosponding ID that is also in Non_Self_Initated but with a different name.  I need a report that shows the Name of the person that is connected to the same ID number in the other table that shows the MethodOfCallRcvd data.

Confused, I know I am.  Any thoughts would be appericated!


Viewing all articles
Browse latest Browse all 1418

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>