Forum Discussion

guerrez's avatar
guerrez
Regular Visitor
2 years ago
Solved

Relationship between two tables with duplicates IDs

Hi, I have seen many posts about the topic, though I am still stuck.  I have two tables both containing readings of IDs from two different machines, AES and OSP. Tables are called DM_AES and DM_OSP....
  • DatawithDinesh's avatar
    DatawithDinesh
    2 years ago

    Yes you can create a City Code table and relate it with the two tables. But I would suggest first you examine your requirement on what fields would be slicing/filtering the two tables and then create a dimension table having all the unique values. For example you can create a unique table having ID, Citycode, State etc. and relate the table with ID to both the tables. Now when you slice and dice use the fields that is available in the new table.