<?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: SET ANALYSIS compare string dates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/SET-ANALYSIS-compare-string-dates/m-p/534562#M199698</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi assuming you want the RES_DATE to be later then the min value of the Period_START&lt;/P&gt;&lt;P&gt;you can use&lt;/P&gt;&lt;P&gt;count({&amp;lt;RES_DATE={"&amp;gt;=$(=min(PERIOD_START))"}&amp;gt;} RES_DATE)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Oct 2013 12:05:33 GMT</pubDate>
    <dc:creator>lironbaram</dc:creator>
    <dc:date>2013-10-09T12:05:33Z</dc:date>
    <item>
      <title>SET ANALYSIS compare string dates</title>
      <link>https://community.qlik.com/t5/QlikView/SET-ANALYSIS-compare-string-dates/m-p/534561#M199697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Table 1 has date field RES_DATE held as string eg '2012-09-23'. Table 2 has date field PERIOD_START held as string eg '2012-06-01'. How can I use set analysis to select RES_DATE &amp;gt;= PERIOD_START. Tried this count({$&amp;lt;PERIOD_START = {&amp;gt;=RES_DATE}&amp;gt;) but does not work / syntax wrong&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 12:00:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-ANALYSIS-compare-string-dates/m-p/534561#M199697</guid>
      <dc:creator />
      <dc:date>2013-10-09T12:00:38Z</dc:date>
    </item>
    <item>
      <title>Re: SET ANALYSIS compare string dates</title>
      <link>https://community.qlik.com/t5/QlikView/SET-ANALYSIS-compare-string-dates/m-p/534562#M199698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi assuming you want the RES_DATE to be later then the min value of the Period_START&lt;/P&gt;&lt;P&gt;you can use&lt;/P&gt;&lt;P&gt;count({&amp;lt;RES_DATE={"&amp;gt;=$(=min(PERIOD_START))"}&amp;gt;} RES_DATE)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 12:05:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-ANALYSIS-compare-string-dates/m-p/534562#M199698</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2013-10-09T12:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: SET ANALYSIS compare string dates</title>
      <link>https://community.qlik.com/t5/QlikView/SET-ANALYSIS-compare-string-dates/m-p/534563#M199699</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;Convert string field into date or num, then use like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;count({$&amp;lt;PERIOD_START = {"=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;PERIOD_START &lt;/SPAN&gt;&amp;gt;=RES_DATE"}&amp;gt;ExpressionFieldName)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 12:06:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-ANALYSIS-compare-string-dates/m-p/534563#M199699</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2013-10-09T12:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: SET ANALYSIS compare string dates</title>
      <link>https://community.qlik.com/t5/QlikView/SET-ANALYSIS-compare-string-dates/m-p/534564#M199700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can convert it in to Date if you have an option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other wise try like below&lt;/P&gt;&lt;P&gt;Count({&amp;lt;UniqueField = {"=Date(Date#(PERIOD_START))&amp;gt;=Date(Date#(RES_DATE))"}&amp;gt;} FieldName)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 12:06:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-ANALYSIS-compare-string-dates/m-p/534564#M199700</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2013-10-09T12:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: SET ANALYSIS compare string dates</title>
      <link>https://community.qlik.com/t5/QlikView/SET-ANALYSIS-compare-string-dates/m-p/534565#M199701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may have another problem too. Set analysis creates a set per chart, not per row. So comparing fields on the same row in a chart in set analysis may not do what you expect. See this document: &lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-4563" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3778c7; text-decoration: underline; background-color: #f8fbfe;"&gt;set_analysis_intra-record.qvw&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the date# function to create a numeric date from a string. That allows you to compare string dates by first turning them into numeric dates. It's best to use the date# function in the script to create the numeric dates there. This will add almost no overhead to the reload, but will make things very much easier (and better performing) in the UI.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 12:07:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-ANALYSIS-compare-string-dates/m-p/534565#M199701</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-10-09T12:07:36Z</dc:date>
    </item>
    <item>
      <title>Re: SET ANALYSIS compare string dates</title>
      <link>https://community.qlik.com/t5/QlikView/SET-ANALYSIS-compare-string-dates/m-p/534566#M199702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thankyou&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 15:42:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-ANALYSIS-compare-string-dates/m-p/534566#M199702</guid>
      <dc:creator />
      <dc:date>2013-10-09T15:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: SET ANALYSIS compare string dates</title>
      <link>https://community.qlik.com/t5/QlikView/SET-ANALYSIS-compare-string-dates/m-p/534567#M199703</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;worked great thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2013 15:43:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/SET-ANALYSIS-compare-string-dates/m-p/534567#M199703</guid>
      <dc:creator />
      <dc:date>2013-10-09T15:43:49Z</dc:date>
    </item>
  </channel>
</rss>

