Forum Discussion

dokat's avatar
dokat
Post Prodigy
4 years ago
Solved

Link Tables Return incorrect values

Hi,

I have two tables where i am trying to establish relationship. Here are things i tried

 

First Try

1. Created Bridge table between Region and POS 

2. Created Unique Key to Link two tables -> Concentane ("Manufacturer&"Brand")

3. Establish Many to Many Cardinality relations 

I was able to pull correct manufacturer, and brand info however incorrect sales, in short it didnt work

 

Second Try

1. Created Many to Many cardinality relationship directly between Region and POS using Brand as unique key. It didnt work as it didnt pull correct manufacturers from Region Table.

 

POS[Brand] has 412 Brands listed

Region[Brand] has 397 Brands listed

 

Third Try

 

1. I created direct relationship between POS and Region table via brand

2. Created SIngle (POS filter to Region) relationship

 

...It return correct values for POS table however for Region table returns incorrect values basically sales for non filtered categories. 

 

 

 

 

 

 

  • I figured out my problem. Followed below steps to solve

     

    1. Created Unique Key including all columns before appending and creating bridge tab;e

    2. Delete all other columns aside unique key before appending in reference tables

    3. Link both tables to bridge table

     

    This solved my problem

1 Reply

  • dokat's avatar
    dokat
    Post Prodigy

    I figured out my problem. Followed below steps to solve

     

    1. Created Unique Key including all columns before appending and creating bridge tab;e

    2. Delete all other columns aside unique key before appending in reference tables

    3. Link both tables to bridge table

     

    This solved my problem