Hi there,
How to avoid duplicating the tables as there are many to many relationship with bridging table ?
Many to Many relationship Data set - same cost centre
![data.PNG data.PNG](/t5/image/serverpage/image-id/64487i733CB7FAD0C8BCF4/image-size/large?v=v2&px=999)
same ward
![ward.PNG ward.PNG](https://community.qlik.com/t5/image/serverpage/image-id/64490i4F1E49191DD928AE/image-size/large?v=v2&px=999)
How to use bridge table ?
In my qlikview script -
DIM_WARD_CC:
LOAD
TRIM([Cost Centre Description]) as "Cost Centre",
TRIM(Ward) as WARD
FROM
[Ward_CostCentre_Mapping.xlsx]
(ooxml, embedded labels, table is Sheet1) where len(Ward)>0;
DistinctWard:
LOAD
DISTINCT "WARD"
RESIDENT DIM_WARD_CC;
DistinctCC:
LOAD
DISTINCT "Cost Centre"
RESIDENT DIM_WARD_CC;
is this correct way?
The data model looks like -
![datamodel.PNG datamodel.PNG](https://community.qlik.com/t5/image/serverpage/image-id/64491iFC4EEBAD5F5EAA5B/image-size/large?v=v2&px=999)