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

Use existing data as selection to matrix or table

$
0
0

Hi,

I need help figuring out how to use an existing data (or unique id) and use this on a new table or matrix. For instance, using Table 1. I want to use the ID field as the way of searching and populating the Table 2 (like where id in ('181552','252533', etc.. but w/o manually entering each ID).  I've tried joining these tables but getting duplicates. I've also tried the lookup function and used a temp table and I'm still getting dupes. 

Table 1.

IDNameManagerFees
181552Joe SmithScot$9,400.00
252533Jack BlackScot$25,000.00
898989Sam JohnsonScot$250.00
777456Ray JonesScot$49,800.00
966557Jeff RosemScot$20,000.00
21486Evan StrasseScot$14,000.00

Table 2.

IDAmount PaidDeposit Date
181552 $                   6,223.005/8/2018
252533 $                   1,200.005/12/2018
898989 $                   3,630.004/25/2018
777456 $                   2,214.006/8/2018
966557 $                      698.006/3/2018
21486 $                      587.505/31/2018

Viewing all articles
Browse latest Browse all 1418

Trending Articles



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