<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Time Object and Circular Reference in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Time-Object-and-Circular-Reference/m-p/288829#M709110</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Basically, our data model is one such as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Account Number&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Account_Time_Key&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Account Name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Account_Time_Key&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Revenue Type&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Revenue Amount&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Account_Time_Key&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ticket Number&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ticket Type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You see, instead of having a TIME table that can associate with every table, we have to put TIME in the Key, to create the associations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We were looking to remove TIME from the Key and have every table associate through a table called TIME.&amp;nbsp; So that with an ACCOUNT_KEY, each table will associate and TIME will just be another object to reference.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Jul 2011 13:12:36 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-07-20T13:12:36Z</dc:date>
    <item>
      <title>Time Object and Circular Reference</title>
      <link>https://community.qlik.com/t5/QlikView/Time-Object-and-Circular-Reference/m-p/288826#M709107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm new to qlikview and love the tool!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been lurking about here and thought I would try and see if the community had any insight into an issue we have come upon.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently we are associating accounts and time to everything example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Account_time&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR clear="all" /&gt;&lt;/P&gt;&lt;P&gt;Ticket&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Revenue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This way when selecting an account and a time frame you will see the tickets for the month and revenue for the month.&amp;nbsp; &lt;/P&gt;&lt;P&gt;This however requires every account to have a record for every possible time…&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to make time a table that joins not creating a circular reference in qlikview so we can see the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Account&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR clear="all" /&gt;&lt;/P&gt;&lt;P&gt;Ticket&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Revenue&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Time&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is the circular reference but it seems absurd to have a made up table with every account and every possible time combination in order to join subject areas together…&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any insight. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jul 2011 21:59:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-Object-and-Circular-Reference/m-p/288826#M709107</guid>
      <dc:creator />
      <dc:date>2011-07-18T21:59:55Z</dc:date>
    </item>
    <item>
      <title>Time Object and Circular Reference</title>
      <link>https://community.qlik.com/t5/QlikView/Time-Object-and-Circular-Reference/m-p/288827#M709108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sorry, I don't understand your data structure. Could you post a screenshot of your table view or at best post a small QlikView sample application illustrating your problem (you may add files to posts in advanced editor)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jul 2011 23:09:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-Object-and-Circular-Reference/m-p/288827#M709108</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-07-18T23:09:50Z</dc:date>
    </item>
    <item>
      <title>Time Object and Circular Reference</title>
      <link>https://community.qlik.com/t5/QlikView/Time-Object-and-Circular-Reference/m-p/288828#M709109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If possible try to post your data model.In otherhand you can give a try like concatnating key fields from any of two tables for example&amp;nbsp; key fields from the tables Account_time and Ticket.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Jai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jul 2011 04:02:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-Object-and-Circular-Reference/m-p/288828#M709109</guid>
      <dc:creator />
      <dc:date>2011-07-19T04:02:00Z</dc:date>
    </item>
    <item>
      <title>Time Object and Circular Reference</title>
      <link>https://community.qlik.com/t5/QlikView/Time-Object-and-Circular-Reference/m-p/288829#M709110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Basically, our data model is one such as:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Account Number&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Account_Time_Key&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Account Name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Account_Time_Key&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Revenue Type&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Revenue Amount&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Account_Time_Key&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ticket Number&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Ticket Type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You see, instead of having a TIME table that can associate with every table, we have to put TIME in the Key, to create the associations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We were looking to remove TIME from the Key and have every table associate through a table called TIME.&amp;nbsp; So that with an ACCOUNT_KEY, each table will associate and TIME will just be another object to reference.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2011 13:12:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-Object-and-Circular-Reference/m-p/288829#M709110</guid>
      <dc:creator />
      <dc:date>2011-07-20T13:12:36Z</dc:date>
    </item>
    <item>
      <title>Time Object and Circular Reference</title>
      <link>https://community.qlik.com/t5/QlikView/Time-Object-and-Circular-Reference/m-p/288830#M709111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't really see the circular reference in this model..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I understand a circular reference, you have a linkage from table1 to table2, then from table2 to table3 and back from table 3 to table1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;Table1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Account Number&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Account_Time_Key&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Account_Time_Key&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Revenue Type&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ....&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Revenue Type&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Account Number&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think it is a problem if three tables share one and only one key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe I misunderstand something completely.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But back to your question (you wanted to remove the time from the key):&lt;/P&gt;&lt;P&gt;What is preventing you from doing so?&lt;/P&gt;&lt;P&gt;I see account details, revenue details and ticket details.&lt;/P&gt;&lt;P&gt;It should / might be possible to link them by account ID only and put the time into the ticket table.&lt;/P&gt;&lt;P&gt;With QlikViews logic, it is still possible to select Account, Date range of tickets and build revenue from that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure if this helps, is it possible for you to post a small example QlikView application?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jul 2011 13:47:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-Object-and-Circular-Reference/m-p/288830#M709111</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2011-07-20T13:47:25Z</dc:date>
    </item>
  </channel>
</rss>

