Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 213819

Joining and filtering data from multiple sources

$
0
0

I currently retrieve a table from a SQL Server instance, call it TableA.  I then break the table up into 3 discrete tables (TableB, TableC, TableD).  I use the FILTER option instead of using a Query to create each of the discrete tables in the model.  The 3 discrete tables populate very nicely during refresh process.   I do this so that there is only one query pull of the data from the SQL instance.

I now need to append data from a second SQL Server instance into my TableA and then use the same FILTER logic to create my 3 discrete tables.  I want to have all of the recrods from my original pull PLUS all of the records from my second pull.  I am able to get the data from the second SQL Server instance to Append to the first data set via Query instruction, but I cannot get the 3 discrete tables to create over the appended data.  The 3 discrete tables are just being populated with the data from the original table. 

Is there a secret to the timing?  I pull the data from the second SQL Server instance first, and then pull the data from the first SQL Server instance so that when the query for the first instance is ran the data should be in the model.  Any suggestions? 

Ready, Set, Go, and thanks!


Viewing all articles
Browse latest Browse all 213819

Trending Articles



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