Connect fact sheets with different dimension

joslaz

Board Regular
Joined
May 24, 2018
Messages
76
Good day everybody!



I'm currently desperately trying to link three tables together so I can filter everything.


I following three tables:
tblEmployees
[TABLE="width: 500"]
<tbody>[TR]
[TD]ID[/TD]
[TD]Name[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Kevin[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Arnold[/TD]
[/TR]
</tbody>[/TABLE]

tblPlan

[TABLE="width: 500"]
<tbody>[TR]
[TD]Date[/TD]
[TD]ID[/TD]
[TD]Action[/TD]
[/TR]
[TR]
[TD]01.01.2019[/TD]
[TD]1[/TD]
[TD]A[/TD]
[/TR]
[TR]
[TD]02.01.2019[/TD]
[TD]1[/TD]
[TD]A[/TD]
[/TR]
[TR]
[TD]03.01.2019[/TD]
[TD]1[/TD]
[TD]Ill[/TD]
[/TR]
</tbody>[/TABLE]

tblQualification
[TABLE="width: 500"]
<tbody>[TR]
[TD]ID[/TD]
[TD]Qualification[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Mount[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Drill[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Package[/TD]
[/TR]
</tbody>[/TABLE]

Both tblQualification and tblPlan are connected to tblEmployees via the ID.

Now I would like to investigate
How many employees I have per week or per day, who have the qualification "Mount" and are not registered as "ill".


Unfortunately, I always get the error message that there is no relationship. Probably because they are different dimensions, right?


Best Regards
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Looks to me like your fact table is (or at least should be) the tblPlan and the Employees and Qualifications should be the dimension tables. If you can set up your tables to a star schema around the plan table you should have no troubles filtering it.
 
Upvote 0
If you're working in Power Pivot looks like you need to create a many to many relationship.
The solution to this is to create two extra tables with lists of unique IDs and Qualifications linked to a bridge table (your tblQualification). An Internet search will guide you through the process and the special use of CALCULATE to get the correctly filtered count of employees per day.

Peter
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,177
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top