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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
pgalvezt
Specialist
Specialist

Circular Reference

Hello!

I'm trying to avoid the circular reference. When I finally did my final results change I need to get 1895016853 (Debt) without CR.

Thank you!

10 Replies
MayilVahanan

HI

Change the rename of Periodo as ReportPeriodo in Report_Table.

or join the tables

Hope it helps

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
Not applicable

This is very difficult to answer without knowing a little more about your model, and of course (for me anyway) all the columns are in a foreign language so I don't even have any clues as to what the fields are.

You cannot have a circular reference in your data model, this is where table 1 joins to table 2 which joins to table 3 which then joins back to table 1. QWlikview simply cannot deal with this type of relationship and you have to avoid it in whatever way you can. If you explain a bit mroe about your data model I might be able to help.

pgalvezt
Specialist
Specialist
Author

Hi, Mayil Thank you for your reply. But I did that and much more but the filters change and the result that I expect, isn't.

pgalvezt
Specialist
Specialist
Author

Hi Nigel, the idea is do clic in Periodo, Automatically qlikview shows Nov2010 Dic2010 Jan2011 (With this result (1895016853) Thats all. and so on. If you need more details just let me know.

Thank you!

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

As Mayil says, change the rename of Periodo as ReportPeriodo in Report_Table. Then add a listbox for ReportPeriodo and use that to select the reporting period.


talk is cheap, supply exceeds demand
pgalvezt
Specialist
Specialist
Author

Hi, Gysber. I did that but everything changed I need to get with one selection 1895016853 (Debt)

pgalvezt
Specialist
Specialist
Author

Any Help?

Thanks!

Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

I don't know. I suspect there's something wrong with the dates. In your Sample.qvw I get different sums if select 'ene 2011' in Periodo versus selecting (nov 2010, dic 2010, ene 2011) in Fecha_Protesto. That means some values are not counted so it looks like the join isn't matching all it should match. In the attached file I load the data from your Sample.qvw (renamed locally), drop and recreate ReportTable. Then the sums for both selection methods are the same.


talk is cheap, supply exceeds demand
pgalvezt
Specialist
Specialist
Author

Hi, Per month the value is too high! When I select Nov2010 gives 620 million. (Per months is almost the same result) 620, 690, 700 Million but the result that you got is too high. This is an average 1895016853 per months.