I resolved my fact table with this post (Handling multiple fact tables in Qlikview). But I have a problem with entity tables. I will use the example in this post (Handling multiple fact tables in Qlikview) to explain my problem:
test_scores_fact | enrollment_fact | school | gender | student
---------------- | --------------- | ------ | ------ | ---
school_code (FK) | school_code (FK) | school_code (PK) | gender_id (PK) | student_id (PK)
test_code (FK) | grade_id (FK) | school_name (FK) | gender_desc | school_code (FK)
grade_id (FK) | ethnicity_id (FK) | address | ... | gender_id (FK)
gender_id (FK) | gender_id (FK) | ... |
ethnicity_id (FK) | number_enrolled (F) |
student_id(FK) |
test_score (F) |
In the example i added the student table that have a relation with school table and geneder table.
My problem:
i followed the steps, then i have loaded my sql tables in Qlik Sense. I have also created a report for test_scores_face table with some filters like (student_id, gender_id,...). The problem that when i have selected the filter student_id the report can not filter by it? I think that the problem in the entity tables (school, gender, student) because they have common fields (like school_code, geneder_id). These common fields produce a circular references.
To avoid these circular references I have to do another link table for entity tables or collgate these table to the link table of fact tables? I tired these 2 solution but I also can not filter by student_id!
How can i deal this problem?