<?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 Re: Data modelling - Fact with valid from - valid to in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Data-modelling-Fact-with-valid-from-valid-to/m-p/93088#M605035</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;may be:&lt;/P&gt;&lt;P&gt;Count(Aggr( sum{$&amp;lt;age = {'25'}&amp;gt;Customer} ( Distinct&amp;nbsp; Customer)))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Jul 2018 09:43:27 GMT</pubDate>
    <dc:creator>BalaBhaskar_Qlik</dc:creator>
    <dc:date>2018-07-17T09:43:27Z</dc:date>
    <item>
      <title>Data modelling - Fact with valid from - valid to</title>
      <link>https://community.qlik.com/t5/QlikView/Data-modelling-Fact-with-valid-from-valid-to/m-p/93086#M605033</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;I have a set of data with customer contracts, about 1 million rows. Every contract have a valid from and a valid to date fields. I would like to create a model in Qlikview with a fact table and dimension tables. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One solution is to create an interval match between the fact table valid from – valid to date and the master calendar date. This works perfect for calculating most of the expressions. For example number of contracts at any point in time. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem.&lt;/P&gt;&lt;P&gt;I would like to visualize the number of contracts in different years for different age groups. Or create an expression like “number of contracts by customers of age 25”. Since a person’s age is not same for the duration of the contract period I am not sure how to design the model, or write expressions to handle this.&lt;IMG alt="QlikviewExample.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/206552_QlikviewExample.PNG" style="height: 125px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jun 2018 19:59:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-modelling-Fact-with-valid-from-valid-to/m-p/93086#M605033</guid>
      <dc:creator>BojeErvenius</dc:creator>
      <dc:date>2018-06-28T19:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: Data modelling - Fact with valid from - valid to</title>
      <link>https://community.qlik.com/t5/QlikView/Data-modelling-Fact-with-valid-from-valid-to/m-p/93087#M605034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you are looking for this approach:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/2940"&gt;Creating Reference Dates for Intervals&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jul 2018 20:08:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-modelling-Fact-with-valid-from-valid-to/m-p/93087#M605034</guid>
      <dc:creator>roelemanskiblue</dc:creator>
      <dc:date>2018-07-16T20:08:58Z</dc:date>
    </item>
    <item>
      <title>Re: Data modelling - Fact with valid from - valid to</title>
      <link>https://community.qlik.com/t5/QlikView/Data-modelling-Fact-with-valid-from-valid-to/m-p/93088#M605035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;may be:&lt;/P&gt;&lt;P&gt;Count(Aggr( sum{$&amp;lt;age = {'25'}&amp;gt;Customer} ( Distinct&amp;nbsp; Customer)))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2018 09:43:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Data-modelling-Fact-with-valid-from-valid-to/m-p/93088#M605035</guid>
      <dc:creator>BalaBhaskar_Qlik</dc:creator>
      <dc:date>2018-07-17T09:43:27Z</dc:date>
    </item>
  </channel>
</rss>

