I'm creating a data warehouse and we have company -> Sectors -> Org
I have created three dimension
Table Company
CompanyKey Company ID CompanyName
1 1.1 ABC
2 2.1 XYZ
Table Sector
SectorKey SectorID SectorName Company Key
1 1 MNQ 1
2 1 MNQ 2
Because some sectors are shared across company.
This is causing Duplication withing my Org Dimension Table and Fact table.
Is their a way I can generate the Sector Key only when Sector name changes and not on each row.