Forum Discussion

patri0t82's avatar
patri0t82
Icon for Post Patron rankPost Patron
5 years ago
Solved

Comparing two tables, results return from only one

Hello, I have two separate tables Table1 and Table2 with Date and Company in each.   I am trying to compare counts of both tables in a visualization. The problem I am encountering is in my visuali...
  • RolanRodrigues's avatar
    5 years ago

    Step 1: You will need to create a reference to Table1 in query editor  keep only the company column in it and remove duplicates (company name).
          
    Step 2: You will need to create a reference to Table2 in query editor  keep only the company column in it and remove duplicates (company name).

    Step 3: Append the two referenced tables using 'Append Queries' and remove duplicates (company names)
        

    Step 4: close and apply

    Step 5: you need to now set relationship between Table 1 and Table 2 company name to the Appended Company name

    step 6: build the visual by selecting the company name from Append table and Dates as a count from Table 1 and Table 2


    Hope this helps you Have a Blessed day