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: 
Not applicable

Circular Loop

Hi,

I have a problem with circular loop. In my schema I have 3 fact tables, Sales, Returns and Budget. I already created a link table but after I build the link table it produced a circular loop. I think CustomerId is responsible for the circular loop.

I hope you can help me on this issue. Attached is a sample QlikView file and its source.

Thank you very much!

6 Replies
vijay_iitkgp
Partner - Specialist
Partner - Specialist

Hi Mars,

If you have alreay taken CustomerId in Link Table then rename it in other tables with different Name.

Regards

VIjay

Not applicable
Author

Alias is not the solution because it should still be connected to the link table and customer type table

Miguel_Angel_Baeyens

Hi,

You can concatenate Budget, Sales and Returns table into one bigger table, as in this post.

Hope that helps.

Miguel

Not applicable
Author

Hi balcita,

The attached application is the correct data model for your problem.

You don't need the typeid to connect from budget to customertype table, as it is already linked to it through the linktable.

Hope it helps.

BR,

Abhinava

Not applicable
Author

Hi everyone,

Thank you for your reply,

@Abhinava Chandra: Sir, the result of your data model is:

reply.png

I think the customerId for transaction B1 - B3 shouldn't be null?

Thank you.

vijay_iitkgp
Partner - Specialist
Partner - Specialist

Hi Mars,

Please try attached qvs file. Hope fully thtis will help.