<?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: Restricting data based on greater than or equal to date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Restricting-data-based-on-greater-than-or-equal-to-date/m-p/841100#M998084</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks, I think it is something about how qlikview is handling the dates, I will make sure that both are in the same format&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Jun 2015 10:05:21 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-06-29T10:05:21Z</dc:date>
    <item>
      <title>Restricting data based on greater than or equal to date</title>
      <link>https://community.qlik.com/t5/QlikView/Restricting-data-based-on-greater-than-or-equal-to-date/m-p/841094#M998078</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 this code and I don't know why it doesn't work. It seems very simple but it just doesn't work. I want to sum the data if its greater than or equal to a date &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;sum({&amp;lt;ddis={'&amp;gt;=$(vMinDate)'}&amp;gt;}counter)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ddis is a date and vMinDate is a user selected date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried with just = to the date and this works - sum({&amp;lt;ddis={'=$(vMinDate)'}&amp;gt;}counter)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas why when I use the &amp;gt;= it doesn't work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks,&lt;BR /&gt;Emer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jun 2015 08:53:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Restricting-data-based-on-greater-than-or-equal-to-date/m-p/841094#M998078</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-29T08:53:47Z</dc:date>
    </item>
    <item>
      <title>Re: Restricting data based on greater than or equal to date</title>
      <link>https://community.qlik.com/t5/QlikView/Restricting-data-based-on-greater-than-or-equal-to-date/m-p/841095#M998079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Emer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try doublequotes &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;sum({&amp;lt;ddis={"&amp;gt;=$(vMinDate)"}&amp;gt;}counter)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;BR&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333330154419px;"&gt;Henry&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jun 2015 08:57:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Restricting-data-based-on-greater-than-or-equal-to-date/m-p/841095#M998079</guid>
      <dc:creator>henrybrinkmann</dc:creator>
      <dc:date>2015-06-29T08:57:05Z</dc:date>
    </item>
    <item>
      <title>Re: Restricting data based on greater than or equal to date</title>
      <link>https://community.qlik.com/t5/QlikView/Restricting-data-based-on-greater-than-or-equal-to-date/m-p/841096#M998080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Emer, you can create a straight table and create that expression, don't set a caption for that column, in the chart, leave your mouse on the caption (title) of the column to see how QV translates your variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check if vMinDate returns the expected value and it has the same format as ddis. Maybe you only need to enclose one or both values (ddis and vMinDate) in a Date() function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or maybe you only need to add an equal sign at the start of the variable expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jun 2015 09:01:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Restricting-data-based-on-greater-than-or-equal-to-date/m-p/841096#M998080</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2015-06-29T09:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: Restricting data based on greater than or equal to date</title>
      <link>https://community.qlik.com/t5/QlikView/Restricting-data-based-on-greater-than-or-equal-to-date/m-p/841097#M998081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Emer,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's a great tool for getting the Set Analysis syntax right:&lt;/P&gt;&lt;P&gt;&lt;A href="http://tools.qlikblog.at/SetAnalysisWizard/QlikView-SetAnalysis_Wizard_and_Generator.aspx?sa=" style="font-size: 10pt; line-height: 1.5em;" title="http://tools.qlikblog.at/SetAnalysisWizard/QlikView-SetAnalysis_Wizard_and_Generator.aspx?sa="&gt;http://tools.qlikblog.at/SetAnalysisWizard/QlikView-SetAnalysis_Wizard_and_Generator.aspx?sa=&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jun 2015 09:12:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Restricting-data-based-on-greater-than-or-equal-to-date/m-p/841097#M998081</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-29T09:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: Restricting data based on greater than or equal to date</title>
      <link>https://community.qlik.com/t5/QlikView/Restricting-data-based-on-greater-than-or-equal-to-date/m-p/841098#M998082</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dates can be unpredictable in qlikview&lt;/P&gt;&lt;P&gt;your statement could have many issues&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.33px;"&gt;sum({&amp;lt;ddis={'&amp;gt;=$(vMinDate)'}&amp;gt;}counter)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.33px;"&gt;if vMinDate is not a number but a text string of the date you may need to num it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.33px;"&gt;if vMinDate is a function like today() then you need to force it to number I.e. $(#=vMinDate)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.33px;"&gt;if ddis is not a real QLikview date but just a string you will need to Date#(ddis,'YYYYMMDD') as ddis in the load script. [replacing YYYYMMDD with the map of the string to date]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.33px;"&gt;I would always use " instead of ' when doing advanced search in set analysis too.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.33px;"&gt;sum({&amp;lt;ddis={"&amp;gt;=$(vMinDate)"}&amp;gt;}counter)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jun 2015 09:49:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Restricting-data-based-on-greater-than-or-equal-to-date/m-p/841098#M998082</guid>
      <dc:creator>sgrice</dc:creator>
      <dc:date>2015-06-29T09:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: Restricting data based on greater than or equal to date</title>
      <link>https://community.qlik.com/t5/QlikView/Restricting-data-based-on-greater-than-or-equal-to-date/m-p/841099#M998083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply, I tried both suggestions and its still not calculating it. When I leave my mouse on the caption it translates vMinDate as a number so ddis mustn't be a number so I will play around a little more to get it right.&amp;nbsp; vMinDate is just selected from a calendar of ddis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jun 2015 10:01:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Restricting-data-based-on-greater-than-or-equal-to-date/m-p/841099#M998083</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-29T10:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: Restricting data based on greater than or equal to date</title>
      <link>https://community.qlik.com/t5/QlikView/Restricting-data-based-on-greater-than-or-equal-to-date/m-p/841100#M998084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks, I think it is something about how qlikview is handling the dates, I will make sure that both are in the same format&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jun 2015 10:05:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Restricting-data-based-on-greater-than-or-equal-to-date/m-p/841100#M998084</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-29T10:05:21Z</dc:date>
    </item>
    <item>
      <title>Re: Restricting data based on greater than or equal to date</title>
      <link>https://community.qlik.com/t5/QlikView/Restricting-data-based-on-greater-than-or-equal-to-date/m-p/841101#M998085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks this is a great tool!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jun 2015 10:06:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Restricting-data-based-on-greater-than-or-equal-to-date/m-p/841101#M998085</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-29T10:06:28Z</dc:date>
    </item>
  </channel>
</rss>

