<?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: date range if statement dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/date-range-if-statement-dimension/m-p/481229#M1135205</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think you can create a calculated dimension to have one value sorted into multiple categories.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can create a link table that creates a dimension with the three values needed in your dimension, and then link each dimension values with all dates needed. You can use IntervalMatch() to create this link table or a while loop. For both approaches, there are several samples here in the forum and also on Henrics technical design blog.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Nov 2013 15:51:12 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2013-11-05T15:51:12Z</dc:date>
    <item>
      <title>date range if statement dimension</title>
      <link>https://community.qlik.com/t5/QlikView/date-range-if-statement-dimension/m-p/481228#M1135204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the following calculated dimension:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(Pools&amp;lt;='7/1/2012' and Pools&amp;gt;='8/1/2011','6/30/2013',&lt;/P&gt;&lt;P&gt;if(Pools&amp;lt;='4/1/2012' and Pools&amp;gt;='5/1/2011','3/31/2013',&lt;/P&gt;&lt;P&gt;if(Pools&amp;lt;='1/1/2012' and Pools&amp;gt;='2/1/2011','12/31/2012')))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It creates three rows, one with a date range of 8/1/2011 to 7/1/2012, a second with a date range of 5/1/2011 to 7/1/2011, and a third with a date range of 2/1/2011 to 4/1/2011.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to create three overlapping twelve month ranges instead of one twelve and two three month ranges that do not overlap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Nov 2013 15:04:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-range-if-statement-dimension/m-p/481228#M1135204</guid>
      <dc:creator />
      <dc:date>2013-11-05T15:04:16Z</dc:date>
    </item>
    <item>
      <title>Re: date range if statement dimension</title>
      <link>https://community.qlik.com/t5/QlikView/date-range-if-statement-dimension/m-p/481229#M1135205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think you can create a calculated dimension to have one value sorted into multiple categories.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can create a link table that creates a dimension with the three values needed in your dimension, and then link each dimension values with all dates needed. You can use IntervalMatch() to create this link table or a while loop. For both approaches, there are several samples here in the forum and also on Henrics technical design blog.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Nov 2013 15:51:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/date-range-if-statement-dimension/m-p/481229#M1135205</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-11-05T15:51:12Z</dc:date>
    </item>
  </channel>
</rss>

