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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
Obsyky
Contributor III
Contributor III

Data model with links to them, and multiple possible branches

Hello,

I'm sharing a quick image of the data model I need to work on at the end.

The image shows 3 main tables:
- System
- Product
- Item

Link tables:
- Link table to create the hierarchy between themselves for systems, products and items.
- Link table between each of these 3 large objects
- Table linking products or items to complementary objects

For the notion of complementary objects, in the image I've only shown the documentation, but there are six other objects which work in the same way. In other words, a table linking products, a table linking items and the dimension table.

Each table of main objects and complementary objects obviously doesn't have the same characterisation attributes.

Do you have any ideas for modelling this in Qlik properly?

Thank you very much in advance!

schema.jpg

Labels (1)
2 Replies
marcus_sommer

The magic key to transform such data-structure into an efficient and performant data-model is to de-normalize the tables - ideally ending in a star-scheme data-model with a single fact-table and n dimension tables.

Obsyky
Contributor III
Contributor III
Author

I can understand that. For example, for a document X, I have X lines following its top links, even for indirect links.
Then I have to add an attribute that tells me the depth of the link, because for some reports I have to put level 1 in column A, level 2 in column B, and so on...

Edit: I've just thought about the subject, the problem I need to solve is, for example, for a product, how do I know its father/son products?