Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us at Qlik Connect 2026 in Orlando, April 13–15: Register Here!
cancel
Showing results for 
Search instead for 
Did you mean: 
dana
Creator III
Creator III

Recommendation for a data model

Hi people,
 
I have the following tables, and not sure which is the best data model for them:
 
WorkOrders:
WorkOrder_Id,
Site_Id,
Category_Id
 
WorkOrder_AssignedUsers:
WorkOrder_Id, 
 User_ID
 
Inspections:
     Inspection_Id, 
      Category_Id
 
Inspection_Sites:
     Inspection_Id, 
     Site_Id
 
Inspection_AssignedUsers:
    Inspection_Id, 
    User_ID
 
Dims: Sites,Users, Categories
 
Should I keep WorkOrder_AssignedUsers, Inspection_Sites, Inspection_AssignedUsers as separate tables or join them to the facts (WorkOrders,Inspections)?
 
If they should be separate how would you suggest the key table should look like?

 

Thanks in advance!

 

Labels (1)
1 Solution

Accepted Solutions
Andrea_Bertazzo
Support
Support

hi @dana 

I would Keep WorkOrder_AssignedUsers, Inspection_Sites, and Inspection_AssignedUsers as separate tables (not joined into the fact tables), unless you know each relationship is strictly 1:1
Help users find answers! Do not forget to mark a solution that worked for you! If already marked, give it a thumbs up ! 🙂

View solution in original post

2 Replies
Andrea_Bertazzo
Support
Support

hi @dana 

I would Keep WorkOrder_AssignedUsers, Inspection_Sites, and Inspection_AssignedUsers as separate tables (not joined into the fact tables), unless you know each relationship is strictly 1:1
Help users find answers! Do not forget to mark a solution that worked for you! If already marked, give it a thumbs up ! 🙂
dana
Creator III
Creator III
Author

Thank you!

That's what I did..