Skip to main content
Solved

Two datasources into one table


Hello,

So I am loading historical data into tables in TX created of Excel files. One file for property data, one file for casualty data. After some time the file format changes and they combine these two separate files into one file and add new fields.

Can I create a new data source to load the new file but still use the original worksheet tab names such that the data will still load into the existing tables?

Thanks in advance.

P.S. I am using Discovery Hub 17.12.13.64

Best answer by JTreadwell

Hi Cathie, 

Yes, you simply map each identical ODX table into the same table in the DSA. This will create a UNION of all the records from each source table.

 

View original
Did this topic help you find an answer to your question?

7 replies

JTreadwell
Employee
Forum|alt.badge.img+5
  • Employee
  • 179 replies
  • May 6, 2020

Hi Keith, 

Thanks for posting. 

Yes, you can do this by adding the new file as an additional data source, then mapping this new data source table into the same table in the Data Warehouse. This lecture in the online training explains this topic in detail. 

Since this is actually asking about the "merging" of two tables, rather than the data sources themselves, I will move the post into the appropriate section: Data Warehouse. 


Can you specify which module in the online training where I would find this information?

 


JTreadwell
Employee
Forum|alt.badge.img+5
  • Employee
  • 179 replies
  • May 12, 2021

I would like to combine yearly data from multiple files into one table.  I would like to only have one table in the DSA - rather than have one table per year as I have in the ODX.  Is that a viable option?

Thanks


JTreadwell
Employee
Forum|alt.badge.img+5
  • Employee
  • 179 replies
  • Answer
  • May 13, 2021

Hi Cathie, 

Yes, you simply map each identical ODX table into the same table in the DSA. This will create a UNION of all the records from each source table.

 


Too easy - thanks - sorry to have bothered you - but many thanks

 


JTreadwell
Employee
Forum|alt.badge.img+5
  • Employee
  • 179 replies
  • May 13, 2021

No bother at all! ☺


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings