Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

Extract Multiple Rows from a Single Table into a Single Row in a New Table

$
0
0

I have a table in a database that contains contact data like name, address, phone number, etc.

The folks who designed the database and wrote the application wrote it so that all contact records are placed in that table, regardless of contact type. In fact, the contacts table does not even have a column for "type" even though there are many different types of contacts present in that table.

I am trying to write a mail merge style report in SRSS, that gets sent to a specific type of contact, based on criteria provided that must be obtained from another table, and that data is then used to get back to a specific set of contacts from the contacts table.

The attached file directly below describes my problem and all related information in an extremely detailed way.

SRSSMailMergeIssue.pdf

Unless there is a way to make a SRSS Tablix point to two different data sets in SRSS, it looks like I have to combine multiple rows from the same table into a new table.

If anyone can review the details in the attached pdf file and possibly point me in the direction I need to run to solve this probelm, I would greatly appreciate it.

I also included a document (below) that shows the tables I reference in the probelm description.

dbtables.pdf


Viewing all articles
Browse latest Browse all 10045

Trending Articles