Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
KevinMc84
Regular Visitor

Relationship between two tables for multiple columns

Hey there,
currently I have two tables that are related thru the "employee_id".
The fact table "employee_type" could have up to 4 rows for one day. Like this for example:

 

RegionDateEmployee_IDStatus
12023-10-241234A
12023-10-241234B
12023-10-241234C
12023-10-245678

D


The related dimension table looks something like this:

Employee_IDName
1234Mike
5678Jim


My fact table contains about 35 million rows and is getting bigger everyday. My idea is to change the fact table to something like this:

RegionDateStatus AStatus BStatus CStatus D 
12023-10-241234123412345678 


Is it still possible to link the dimension table to all 4 columns which contain the employee_id? Do I link one column as active and the other 3 as inactive relationship?

Thanks in advance!

1 ACCEPTED SOLUTION
Ritaf1983
Super User
Super User

Hi @KevinMc84 
Yes, there is no limit to inactive relationships.

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

View solution in original post

1 REPLY 1
Ritaf1983
Super User
Super User

Hi @KevinMc84 
Yes, there is no limit to inactive relationships.

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.