Forum Discussion

Kalachuchi's avatar
Kalachuchi
Helper III
6 years ago
Solved

Help with table relation

So I have two tables Input and Output which has ID and Master ID as foreign key relating to each other.

 

My chart is showing output data while a table below is showing input data.

If I add output date (results) to the input data then the table only shows info of output while it should also include input table.

 

Input table:

IDNameAge
1Arthur Morgan22
2Dutch Van der linde32
3

Hosea Matthews

45

 

Output Table:

Master IDAnswer 1Answer2
1YesYes
2NoNo

 

Problem is 

When I show the answer 1 on my column chart it shows 2 counts,

 

Expected output on Table:

NameAgeAnswer1
Arthur Morgan22Yes
Dutch Van der linde32No
Hosea Matthews45 

 

Problem is when I add answer 1 from Output Table, it only shows name who has only answered the questions. I want all input appear on the table even if answered or not.

ID and master ID are already connected on table relations.

Thank you for help

  • Anonymous's avatar
    Anonymous
    6 years ago

    can you share some sample data with us? 

     

    It seems to work ok for me 

     

     

     

     

6 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    can you share some sample data with us? 

     

    It seems to work ok for me 

     

     

     

     

    • Kalachuchi's avatar
      Kalachuchi
      Helper III

      it does work, problem is I think the column chart is filtering the table since column chart only contains answered questions. It does not show Hosea.

      • calerof's avatar
        calerof
        Impactful Individual

        Hi Kalachuchi,

         

        If you select Id from your Input table as axis and count Answer1 as values in a Column chart, make sure you expand the arrow in the Id field and select "Show items with no data", and you get this:

         

         

        Hope it helps.

         

        Regards,

         

        Fernando

    • Kalachuchi's avatar
      Kalachuchi
      Helper III

      Did not know this merge function lol. It worked, thank you so much!