Skip to main content
Question

Two datasources into one table


Forum|alt.badge.img

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

7 replies

  • Community Manager
  • 152 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 modeling & Transformation. 


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

 


  • Community Manager
  • 152 replies
  • May 12, 2021

Hi Cathie, here is where this topic is covered in the new course: 
Exercise: Add Related Records (Superbikes) | TimeXtender Academy


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


  • Community Manager
  • 152 replies
  • 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.

MRyOlD5U1hCSLmOVHb1BwQ.gif


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

 


  • Community Manager
  • 152 replies
  • May 13, 2021

No bother at all! ☺


Reply


Cookie policy

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

 
Cookie settings