Forum Discussion
Arlind_Selimaj
2 years agoFrequent Visitor
Data relationship modelling issue
Hi all, I have a date query which is listed on the top, and i have two fact tables on salaries. The first one indicates shift hours per employees, and the one on the bottom indicates total salary ...
Daniel29195
2 years agoCommunity Champion
when you want to work with (hours, min, sec ) ,
i would recommend you to create w time dimesion .
then in your fact table, split your datetime column into 2 columns :
date , time
then link dimdate to date , and dimtime to time
this would ease your work ,
also , it would make your model more optmized which in turn would increase performance while decreasing your model size .
If my answer helped sort things out for you, i would appreciate a thumbs up 👍 and mark it as the solution !✅
It makes a difference and might help someone else too. Thanks for spreading the good vibes! 🤠