<?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 How to create a reference date from two interval dates in fact table in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-create-a-reference-date-from-two-interval-dates-in-fact/m-p/1678040#M51559</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I want a same situation , in my fact table (Contrat) , i have two date (begin_date and end_date) which mean begin en end of contrat identify by Contrat_ID.&lt;/P&gt;&lt;P&gt;I want when a user choose one date (month , year or complete data) , application show a contrat that selected date is between&amp;nbsp;begin_date and end_date contrat.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Contrat:&lt;BR /&gt;load * inline [&lt;BR /&gt;Contrat_ID ,Home_Contrat_ID, begin_dade , end_date&lt;BR /&gt;1,1,'01/01/2017','01/01/2018'&lt;BR /&gt;2,2,'01/01/2014','01/01/2016'&lt;BR /&gt;3,3,'01/11/2014','01/12/2014'&lt;BR /&gt;4,4,'01/11/2014','01/12/2014'&lt;BR /&gt;5,5,'02/09/2019',''&lt;BR /&gt;];&lt;BR /&gt;// '' means blanck space, when the contrat is active&lt;BR /&gt;// Contrat_ID = Home_Contrat_ID&lt;BR /&gt;Resident:&lt;BR /&gt;load * inline [&lt;BR /&gt;Resident_ID ,Contrat_ID , first_enter_dade , out_date&lt;BR /&gt;1,1,'01/01/2017','01/01/2018'&lt;BR /&gt;2,5,'02/09/2019',''&lt;BR /&gt;3,4,'01/01/2014','01/12/2014'&lt;BR /&gt;4,2,'01/01/2014','01/12/2016'&lt;BR /&gt;5,3,'01/11/2014','01/12/2014'&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;Home:&lt;BR /&gt;load * inline [&lt;BR /&gt;Home_ID ,Home_Contrat_ID, home_type&lt;BR /&gt;1,2,'T3'&lt;BR /&gt;2,4,'T1'&lt;BR /&gt;3,5,'T7'&lt;BR /&gt;4,3,'T3'&lt;BR /&gt;5,1,'1'&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Datamodel" style="width: 867px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/28866iFFF6232F2BA4E2E3/image-size/large?v=v2&amp;amp;px=999" role="button" title="md.PNG" alt="Datamodel" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Datamodel&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 19:03:58 GMT</pubDate>
    <dc:creator>soka41</dc:creator>
    <dc:date>2024-11-16T19:03:58Z</dc:date>
    <item>
      <title>How to create a reference date from two interval dates in fact table</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-create-a-reference-date-from-two-interval-dates-in-fact/m-p/1678040#M51559</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I want a same situation , in my fact table (Contrat) , i have two date (begin_date and end_date) which mean begin en end of contrat identify by Contrat_ID.&lt;/P&gt;&lt;P&gt;I want when a user choose one date (month , year or complete data) , application show a contrat that selected date is between&amp;nbsp;begin_date and end_date contrat.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Contrat:&lt;BR /&gt;load * inline [&lt;BR /&gt;Contrat_ID ,Home_Contrat_ID, begin_dade , end_date&lt;BR /&gt;1,1,'01/01/2017','01/01/2018'&lt;BR /&gt;2,2,'01/01/2014','01/01/2016'&lt;BR /&gt;3,3,'01/11/2014','01/12/2014'&lt;BR /&gt;4,4,'01/11/2014','01/12/2014'&lt;BR /&gt;5,5,'02/09/2019',''&lt;BR /&gt;];&lt;BR /&gt;// '' means blanck space, when the contrat is active&lt;BR /&gt;// Contrat_ID = Home_Contrat_ID&lt;BR /&gt;Resident:&lt;BR /&gt;load * inline [&lt;BR /&gt;Resident_ID ,Contrat_ID , first_enter_dade , out_date&lt;BR /&gt;1,1,'01/01/2017','01/01/2018'&lt;BR /&gt;2,5,'02/09/2019',''&lt;BR /&gt;3,4,'01/01/2014','01/12/2014'&lt;BR /&gt;4,2,'01/01/2014','01/12/2016'&lt;BR /&gt;5,3,'01/11/2014','01/12/2014'&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;Home:&lt;BR /&gt;load * inline [&lt;BR /&gt;Home_ID ,Home_Contrat_ID, home_type&lt;BR /&gt;1,2,'T3'&lt;BR /&gt;2,4,'T1'&lt;BR /&gt;3,5,'T7'&lt;BR /&gt;4,3,'T3'&lt;BR /&gt;5,1,'1'&lt;BR /&gt;];&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Datamodel" style="width: 867px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/28866iFFF6232F2BA4E2E3/image-size/large?v=v2&amp;amp;px=999" role="button" title="md.PNG" alt="Datamodel" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Datamodel&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 19:03:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-create-a-reference-date-from-two-interval-dates-in-fact/m-p/1678040#M51559</guid>
      <dc:creator>soka41</dc:creator>
      <dc:date>2024-11-16T19:03:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a reference date from two interval dates in fact table</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-create-a-reference-date-from-two-interval-dates-in-fact/m-p/1678236#M51577</link>
      <description>Have a look at IntervalMatch&lt;BR /&gt;&lt;A href="https://help.qlik.com/en-US/sense/November2019/Subsystems/Hub/Content/Sense_Hub/Scripting/ScriptPrefixes/IntervalMatch.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense/November2019/Subsystems/Hub/Content/Sense_Hub/Scripting/ScriptPrefixes/IntervalMatch.htm&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Sat, 22 Feb 2020 16:17:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-create-a-reference-date-from-two-interval-dates-in-fact/m-p/1678236#M51577</guid>
      <dc:creator>jochem_zw</dc:creator>
      <dc:date>2020-02-22T16:17:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a reference date from two interval dates in fact table</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-create-a-reference-date-from-two-interval-dates-in-fact/m-p/1678239#M51578</link>
      <description>&lt;P&gt;Or here's a video example of interval match&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Using-IntervalMatch/ba-p/1475510" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Using-IntervalMatch/ba-p/1475510&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 22 Feb 2020 19:21:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-create-a-reference-date-from-two-interval-dates-in-fact/m-p/1678239#M51578</guid>
      <dc:creator>robert99</dc:creator>
      <dc:date>2020-02-22T19:21:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a reference date from two interval dates in fact table</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-create-a-reference-date-from-two-interval-dates-in-fact/m-p/1678655#M51615</link>
      <description>&lt;P&gt;thank to you for your video&lt;/P&gt;</description>
      <pubDate>Mon, 24 Feb 2020 16:36:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-create-a-reference-date-from-two-interval-dates-in-fact/m-p/1678655#M51615</guid>
      <dc:creator>soka41</dc:creator>
      <dc:date>2020-02-24T16:36:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a reference date from two interval dates in fact table</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-create-a-reference-date-from-two-interval-dates-in-fact/m-p/1678656#M51616</link>
      <description>&lt;P&gt;thant to you , it work for me , good job&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Feb 2020 16:37:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-create-a-reference-date-from-two-interval-dates-in-fact/m-p/1678656#M51616</guid>
      <dc:creator>soka41</dc:creator>
      <dc:date>2020-02-24T16:37:57Z</dc:date>
    </item>
  </channel>
</rss>

