Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Stefan_Weber
Contributor III
Contributor III

Loop in Skript detected

Hello, 

I am trying to set up a new Qlikview application. I have multiple Dimension Tables and 3 Data Tables. I already concatenated 2 of them into one table. But the 2 remaining tables have a YearMonth field which is, according to my understanding, causing a Loop. I have uploaded my current Table structure for your reference. Do you have a suggestion how I can break the Loop.

Thanks for your help.

Stefanexport.png

1 Solution

Accepted Solutions
Stefan_Weber
Contributor III
Contributor III
Author

Hi Brett, 

thanks for your reply, I did something similar in the meantime, I just renamed the fields during the load statement. Loop is now gone. 

Thanks

Stefan

View solution in original post

2 Replies
Brett_Bleess
Former Employee
Former Employee

You would need to use Qualify function on one of the fields to prevent the auto linking:

https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/Scripting/Scrip...

You could also change the name of the field in one of the tables as well, that is basically what Qualify is doing by appending the table name to the fieldname...

The following Design Blog post may be of some use too:

https://community.qlik.com/t5/Qlik-Design-Blog/Circular-References/ba-p/1469332

Regards,
Brett

To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question.
I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.
Stefan_Weber
Contributor III
Contributor III
Author

Hi Brett, 

thanks for your reply, I did something similar in the meantime, I just renamed the fields during the load statement. Loop is now gone. 

Thanks

Stefan