<?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 use set analysis for creating a date range in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/how-to-use-set-analysis-for-creating-a-date-range/m-p/290925#M1189074</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yea it can be done with if condition but I have some more things to add to that expression, so I need to use set analysis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Aug 2011 20:13:14 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-08-22T20:13:14Z</dc:date>
    <item>
      <title>how to use set analysis for creating a date range</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-use-set-analysis-for-creating-a-date-range/m-p/290921#M1189070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to creat a flag with a date range(3/10/2011, 3/17/2011) using set analysis, Please help me &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2011 18:04:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-use-set-analysis-for-creating-a-date-range/m-p/290921#M1189070</guid>
      <dc:creator />
      <dc:date>2011-08-22T18:04:51Z</dc:date>
    </item>
    <item>
      <title>how to use set analysis for creating a date range</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-use-set-analysis-for-creating-a-date-range/m-p/290922#M1189071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pramod,&lt;/P&gt;&lt;P&gt;That you have to do in the backend.&lt;/P&gt;&lt;P&gt;For example say the Date field in your script is called Calendar,&lt;/P&gt;&lt;P&gt;// Back End Situation&lt;/P&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;Load *,&lt;/P&gt;&lt;P&gt;if(Date(Calendar)&amp;gt;='03/10/2011' and Date(Calendar)&amp;lt;='03/17/2011', 'Flag', 'No Flag') as DATE_FLAG&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;and then reload you will get a flag field in your data model, which you can utilize.&lt;/P&gt;&lt;P&gt;Now, if those selected dates are to be variable, then you will need to define more what exactly is your situation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, I haven't have knowledge if Set Analysis works in Backend.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// In front end i am not ready yet to answer this question.&lt;/P&gt;&lt;P&gt;Because as per my knowledge, set analysis does aggregation function, so how can it set flags for a date range is what I would also be interested in learning.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Bikash Debnath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2011 19:23:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-use-set-analysis-for-creating-a-date-range/m-p/290922#M1189071</guid>
      <dc:creator />
      <dc:date>2011-08-22T19:23:53Z</dc:date>
    </item>
    <item>
      <title>how to use set analysis for creating a date range</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-use-set-analysis-for-creating-a-date-range/m-p/290923#M1189072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;tq Bikash, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;instead of if, I need to use set analysis in the front end for creating a column, if the date is in range then we need to give value ' 1' else 'o'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2011 19:54:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-use-set-analysis-for-creating-a-date-range/m-p/290923#M1189072</guid>
      <dc:creator />
      <dc:date>2011-08-22T19:54:57Z</dc:date>
    </item>
    <item>
      <title>how to use set analysis for creating a date range</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-use-set-analysis-for-creating-a-date-range/m-p/290924#M1189073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It can be very easily done with if...else statement, as you will need to compare all the records in your database.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2011 20:00:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-use-set-analysis-for-creating-a-date-range/m-p/290924#M1189073</guid>
      <dc:creator />
      <dc:date>2011-08-22T20:00:31Z</dc:date>
    </item>
    <item>
      <title>how to use set analysis for creating a date range</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-use-set-analysis-for-creating-a-date-range/m-p/290925#M1189074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yea it can be done with if condition but I have some more things to add to that expression, so I need to use set analysis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2011 20:13:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-use-set-analysis-for-creating-a-date-range/m-p/290925#M1189074</guid>
      <dc:creator />
      <dc:date>2011-08-22T20:13:14Z</dc:date>
    </item>
    <item>
      <title>how to use set analysis for creating a date range</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-use-set-analysis-for-creating-a-date-range/m-p/290926#M1189076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pramod,&lt;/P&gt;&lt;P&gt;if you could specify what more conditions do you need to add, then we can think of something.&lt;/P&gt;&lt;P&gt;But creating a flag is a RAM consuming process, so it will be better if you do it in Backend. But backend will support&amp;nbsp; if...else statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Bikash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Aug 2011 20:27:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-use-set-analysis-for-creating-a-date-range/m-p/290926#M1189076</guid>
      <dc:creator />
      <dc:date>2011-08-22T20:27:16Z</dc:date>
    </item>
  </channel>
</rss>

