Quite new to Qlikview but finding it quite simple to learn and understand with some help of videos etc. However, I'm a little stuck with this next peice.
I love the fact that you just LOAD your fields in and ALIAS them to join. However, how do I go about it for Dates? I'm using the below for my dates on one able :
Date(DayStart(RaisedDTStamp)) AS Date,
Hour(RaisedDTStamp) AS Hour,
Time(RaisedDTStamp) AS Time,
WeekDay(RaisedDTStamp) AS Weekday,
Month(RaisedDTStamp) AS Month,
Year(RaisedDTStamp) AS Year,
,Date(DayStart(TM1OffsetDateTime)) AS Date
and its fine, However when using the same Alias "AS Date" on the second tables Date field I get a message saying:
One or more loops have been detected in your database structure. Loops may cause ambiguous results and should therefore be avoided. QlikView will cut the loop(s) by setting one or more tables as loosely coupled. Settings for loosely coupled tables can be modified after script execution in the tables page of the document properties dialog.
Is this a problem? I then have some dotted line on the table viewer but not clear whether they highlight a problem or something Qlikview is handling?
Anyone help out? Let me know if you need more information....
You should fix all Loops and Synthetic Keys in your data model. They can cause unexpected results with your calculations in your final application. Without seeing your data model I suspect you have a third table that also has the field name "Date" in it. This is causing the Loop. You can either Join, Concatenate, or rename the field to fix the issue but without seeing the data model I can't tell you what is the best solution.
So, you have two dates: RaisedDTStamp and CustomerOffsetDateTime. These two dates are most likely not the same, and should therefore not be linked. Then you should have two Master Calendars. Read the links about dates that posted earlier on.