I have 2 tables, say Table1 (with primary key Table1_PK) and Table2 (with foreign key Table2_FK referencing the primary key Table1_PK) such that:
select count(*)
from Table1 t1
is greater than
select count(*)
from Table2 t2
and
select count(*)
from Table1 t1
left join Table2 t2 on t2.Table2_FK = t1.Table1_PK
greater than
select count(*)
from Table1 t1
and
select count(*)
from Table2 t2
left join Table1 t1 on t1.Table1_PK = t2.Table2_FK
is equal to
select count(*)
from Table2 t2
So, I deduce that there is a One-To-Many relationship from Table1 to Table2.
But SSAS Tabular says that there is a Many-to-Many relationship between Table1 and Table2 with respect to corresponding keys.
Where am I missing something in the way of checking for many-to-many relationship between 2 tables?