<?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 filter with greather than etc. in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Date-filter-with-greather-than-etc/m-p/1903042#M74485</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;thanks for the reply.&lt;/P&gt;
&lt;P&gt;Well when i read the documentation for weekname() and monthname() it tells me that it returns a dual with a timestamp as the numeric value. When i enter&amp;nbsp;&lt;SPAN&gt;&amp;gt;=Jan. 2021 in the filter pane this is a string yes, but internally i would have hoped qlik is using the corresponding date-value.&lt;BR /&gt;When i enter&amp;nbsp;&amp;gt;=01.01.21 it is a string too but it gives me the correct month-values in the filter pane.&lt;BR /&gt;Internally qlik is converting that string into date and make the comparison.&lt;BR /&gt;I dont understand why qlik doesnt do that for&amp;nbsp;&amp;gt;=Jan. 2021 since the values in the filterpane are formatted accordingly.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 09 Mar 2022 14:10:47 GMT</pubDate>
    <dc:creator>schmidtj</dc:creator>
    <dc:date>2022-03-09T14:10:47Z</dc:date>
    <item>
      <title>Date filter with greather than etc.</title>
      <link>https://community.qlik.com/t5/App-Development/Date-filter-with-greather-than-etc/m-p/1900423#M74295</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;i have two filter panes, one each for month and week.&lt;BR /&gt;The data behind are date values formated with Monthname() and Weekname().&lt;BR /&gt;In the filter i can select ranges when i go to day-level, for example &amp;gt;=01.05.2022 works fine.&lt;BR /&gt;&lt;BR /&gt;However i would like to do that in relation to the actual date format, so in other words i would like this to work:&lt;BR /&gt;&amp;gt;=Jan. 2021 or &amp;gt;=2022/16.&lt;/P&gt;
&lt;P&gt;That should be possible somehow, shoudlnt it?&lt;BR /&gt;I tried dual() but cant get it to work with this either.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2022 08:32:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-filter-with-greather-than-etc/m-p/1900423#M74295</guid>
      <dc:creator>schmidtj</dc:creator>
      <dc:date>2022-03-03T08:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: Date filter with greather than etc.</title>
      <link>https://community.qlik.com/t5/App-Development/Date-filter-with-greather-than-etc/m-p/1902310#M74436</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;If my understanding is correct, you would like to compare something like that:&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;&lt;STRONG&gt;&lt;SPAN style="color:#2980b9"&gt;Feb. 2021&lt;/SPAN&gt; &amp;gt;= &lt;SPAN style="color:#2980b9"&gt;Jan. 2021&lt;/SPAN&gt; = &lt;SPAN style="color:#27ae60"&gt;TRUE&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;Or&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;&lt;STRONG&gt;&lt;SPAN style="color:#2980b9"&gt;2022/16&lt;/SPAN&gt; &amp;gt;= &lt;SPAN style="color:#2980b9"&gt;2022/10&lt;/SPAN&gt; = &lt;SPAN style="color:#e74c3c"&gt;FALSE&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;As it is, this can't be done for the reason that both are strings and thus they need to be converted back to dates so the comparison is accurate. In general the idea is to compare these:&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;&lt;STRONG&gt;&lt;SPAN style="color:#2980b9"&gt;ConvertToDate&lt;/SPAN&gt;(&lt;SPAN style="color:#27ae60"&gt;'Feb. 2021'&lt;/SPAN&gt;) &amp;gt;= &lt;SPAN style="color:#2980b9"&gt;ConvertToDate&lt;/SPAN&gt;(&lt;SPAN style="color:#27ae60"&gt;'Jan. 2021'&lt;/SPAN&gt;) = &lt;SPAN style="color:#27ae60"&gt;TRUE&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;Or&lt;/P&gt; 
&lt;UL&gt; 
 &lt;LI&gt;&lt;STRONG&gt;&lt;SPAN style="color:#2980b9"&gt;ConvertToDate&lt;/SPAN&gt;(&lt;SPAN style="color:#27ae60"&gt;'2022/16'&lt;/SPAN&gt;) &amp;gt;= &lt;SPAN style="color:#2980b9"&gt;ConvertToDate&lt;/SPAN&gt;(&lt;SPAN style="color:#27ae60"&gt;'2022/10'&lt;/SPAN&gt;)&amp;nbsp;= &lt;SPAN style="color:#e74c3c"&gt;FALSE&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/LI&gt; 
&lt;/UL&gt; 
&lt;P&gt;However the function &lt;STRONG&gt;&lt;SPAN style="color:#2980b9"&gt;ConvertToDate&lt;/SPAN&gt;() &lt;/STRONG&gt;doesn't exists in &lt;STRONG&gt;Qlik Sense&amp;nbsp;&lt;/STRONG&gt;as described above, which means that you would have to make the conversion by using a combination of multiple other functions. Here are the examples:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="color:#e74c3c"&gt;NOTE&lt;/SPAN&gt;: &lt;SPAN style="color:#7f8c8d"&gt;&lt;EM&gt;Please keep in mind that the following information might not be a 100% solution to your use case scenario but hopefully it will give you a starting point to progress further!&lt;/EM&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Converting&lt;SPAN style="color:#27ae60"&gt;&amp;nbsp;&lt;STRONG&gt;'Feb. 2021'&lt;/STRONG&gt; &lt;/SPAN&gt;format:&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="color:#2980b9"&gt;MakeDate&lt;/SPAN&gt;(&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &lt;SPAN style="color:#2980b9"&gt;SubField&lt;/SPAN&gt;(&lt;SPAN style="color:#f39c12"&gt;DATE_FIELD&lt;/SPAN&gt;, &lt;SPAN style="color:#27ae60"&gt;'. '&lt;/SPAN&gt;, 2),&amp;nbsp;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &lt;SPAN style="color:#2980b9"&gt;Match&lt;/SPAN&gt;(&lt;SPAN style="color:#2980b9"&gt;SubField&lt;/SPAN&gt;(&lt;SPAN style="color:#f39c12"&gt;DATE_FIELD&lt;/SPAN&gt;,&lt;SPAN style="color:#27ae60"&gt; '. '&lt;/SPAN&gt;, 1),&lt;SPAN style="color:#27ae60"&gt;'Jan'&lt;/SPAN&gt;&lt;SPAN style="color:null"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;'Feb'&lt;/SPAN&gt;&lt;SPAN style="color:null"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt; 'Mar'&lt;/SPAN&gt;&lt;SPAN style="color:null"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt; 'Apr'&lt;/SPAN&gt;&lt;SPAN style="color:null"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt; 'May'&lt;/SPAN&gt;&lt;SPAN style="color:null"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt; 'Jun'&lt;/SPAN&gt;&lt;SPAN style="color:null"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt; 'Jul'&lt;/SPAN&gt;&lt;SPAN style="color:null"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt; 'Aug'&lt;/SPAN&gt;&lt;SPAN style="color:null"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;'Sep'&lt;/SPAN&gt;&lt;SPAN style="color:null"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt; 'Oct'&lt;/SPAN&gt;&lt;SPAN style="color:null"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt; 'Nov'&lt;/SPAN&gt;&lt;SPAN style="color:null"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;'Dec' &lt;/SPAN&gt;),&amp;nbsp;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; 1&lt;BR /&gt; &amp;nbsp; )&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;This expression with create a date by splitting the string&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;&amp;nbsp;'Feb. 2021'&lt;/STRONG&gt;&lt;/SPAN&gt; into parts&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt; 'Feb'&lt;/STRONG&gt;&lt;/SPAN&gt; and &lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;'2021'&lt;/STRONG&gt;&lt;/SPAN&gt;. Then it will use the&lt;SPAN style="font-size:11pt"&gt;&lt;STRONG&gt;&lt;SPAN style="color:black"&gt;&lt;SPAN style="font-family:Calibri,sans-serif"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;&lt;SPAN style="font-family:Calibri,sans-serif"&gt;'2021'&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt; part as year and with the function &lt;STRONG&gt;&lt;SPAN style="color:#2980b9"&gt;Match&lt;/SPAN&gt;()&lt;/STRONG&gt;, it will use the part&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt; 'Feb' &lt;/STRONG&gt;&lt;/SPAN&gt;to determine which month it is as numeric value. Finally the number 1 indicates the first day of the month.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Converting &lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt;'2022/16'&lt;/STRONG&gt;&lt;/SPAN&gt; format:&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="color:#2980b9"&gt;MonthStart&lt;/SPAN&gt;(&lt;SPAN style="color:#2980b9"&gt;MakeWeekDate&lt;/SPAN&gt;(&lt;SPAN style="color:#2980b9"&gt;SubField&lt;/SPAN&gt;(&lt;SPAN style="color:#f39c12"&gt;DATE_FIELD&lt;/SPAN&gt;, &lt;SPAN style="color:#27ae60"&gt;'/'&lt;/SPAN&gt;, 1), &lt;SPAN style="color:#2980b9"&gt;SubField&lt;/SPAN&gt;(&lt;SPAN style="color:#f39c12"&gt;DATE_FIELD&lt;/SPAN&gt;,&lt;SPAN style="color:#27ae60"&gt; '/'&lt;/SPAN&gt;, 2)))&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;This expression will create a date by converting the string and with the&amp;nbsp;&lt;STRONG&gt;&lt;SPAN style="color:#2980b9"&gt;MonthStart&lt;/SPAN&gt;() &lt;/STRONG&gt;function, it will make sure that the date starts from the first day of the month.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN style="color:#7f8c8d"&gt;&lt;STRONG&gt;How is this helpful? &lt;/STRONG&gt;&lt;/SPAN&gt;Now you can make the comparisons. You can use the example below to get the logic behind the expressions and modify them to cover your use case scenario:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;1. I have created the following variables:&lt;/P&gt; 
&lt;P&gt;&lt;IMG alt="IMAGES&amp;nbsp;" src="https://lithium-response-prod.s3.us-west-2.amazonaws.com/qlik.response.lithium.com/RESPONSEIMAGE/71b5c6a0-004a-4991-9dc8-0f67511e84f3.default.PNG" /&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;2. I have loaded dates with the format that you have specified:&lt;/P&gt; 
&lt;P&gt;&lt;IMG alt="IMAGE" src="https://lithium-response-prod.s3.us-west-2.amazonaws.com/qlik.response.lithium.com/RESPONSEIMAGE/41c00039-f33c-4784-bd57-7044fc3a3291.default.PNG" /&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Now for the 3 column I have the following measure expression:&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="color:#2980b9"&gt;If&lt;/SPAN&gt;(&lt;BR /&gt; &amp;nbsp; &lt;SPAN style="color:#2980b9"&gt;MakeDate&lt;/SPAN&gt;(&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &lt;SPAN style="color:#2980b9"&gt;SubField&lt;/SPAN&gt;(&lt;SPAN style="color:#f39c12"&gt;Dates2&lt;/SPAN&gt;, &lt;SPAN style="color:#27ae60"&gt;'. '&lt;/SPAN&gt;, 2),&amp;nbsp;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &lt;SPAN style="color:#2980b9"&gt;Match&lt;/SPAN&gt;(&lt;SPAN style="color:#2980b9"&gt;SubField&lt;/SPAN&gt;(&lt;SPAN style="color:#f39c12"&gt;Dates2&lt;/SPAN&gt;,&lt;SPAN style="color:#27ae60"&gt; '. '&lt;/SPAN&gt;, 1),&lt;SPAN style="color:#27ae60"&gt;'Jan'&lt;/SPAN&gt;&lt;SPAN style="color:null"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;'Feb'&lt;/SPAN&gt;&lt;SPAN style="color:null"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt; 'Mar'&lt;/SPAN&gt;&lt;SPAN style="color:null"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt; 'Apr'&lt;/SPAN&gt;&lt;SPAN style="color:null"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt; 'May'&lt;/SPAN&gt;&lt;SPAN style="color:null"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt; 'Jun'&lt;/SPAN&gt;&lt;SPAN style="color:null"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt; 'Jul'&lt;/SPAN&gt;&lt;SPAN style="color:null"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt; 'Aug'&lt;/SPAN&gt;&lt;SPAN style="color:null"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;'Sep'&lt;/SPAN&gt;&lt;SPAN style="color:null"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt; 'Oct'&lt;/SPAN&gt;&lt;SPAN style="color:null"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt; 'Nov'&lt;/SPAN&gt;&lt;SPAN style="color:null"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;'Dec'&lt;/SPAN&gt; ),&amp;nbsp;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; 1&lt;BR /&gt; &amp;nbsp; )&amp;nbsp;&lt;BR /&gt; &amp;nbsp; &amp;gt;=&amp;nbsp;&lt;BR /&gt; &amp;nbsp; &lt;SPAN style="color:#2980b9"&gt;MakeDate&lt;/SPAN&gt;(&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &lt;SPAN style="color:#2980b9"&gt;SubField&lt;/SPAN&gt;(&lt;SPAN style="color:#27ae60"&gt;'$(vMonthYear)'&lt;/SPAN&gt;, &lt;SPAN style="color:#27ae60"&gt;'. '&lt;/SPAN&gt;, 2),&amp;nbsp;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &lt;SPAN style="color:#2980b9"&gt;Match&lt;/SPAN&gt;(&lt;SPAN style="color:#2980b9"&gt;SubField&lt;/SPAN&gt;(&lt;SPAN style="color:#27ae60"&gt;'$(vMonthYear)'&lt;/SPAN&gt;, &lt;SPAN style="color:#27ae60"&gt;'. '&lt;/SPAN&gt;, 1),&amp;nbsp;&lt;SPAN style="color:#27ae60"&gt;'Jan'&lt;/SPAN&gt;&lt;SPAN style="color:null"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;'Feb'&lt;/SPAN&gt;&lt;SPAN style="color:null"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt; 'Mar'&lt;/SPAN&gt;&lt;SPAN style="color:null"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt; 'Apr'&lt;/SPAN&gt;&lt;SPAN style="color:null"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt; 'May'&lt;/SPAN&gt;&lt;SPAN style="color:null"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt; 'Jun'&lt;/SPAN&gt;&lt;SPAN style="color:null"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt; 'Jul'&lt;/SPAN&gt;&lt;SPAN style="color:null"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt; 'Aug'&lt;/SPAN&gt;&lt;SPAN style="color:null"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;'Sep'&lt;/SPAN&gt;&lt;SPAN style="color:null"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt; 'Oct'&lt;/SPAN&gt;&lt;SPAN style="color:null"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt; 'Nov'&lt;/SPAN&gt;&lt;SPAN style="color:null"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color:#27ae60"&gt;'Dec'&lt;/SPAN&gt; ),&amp;nbsp;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; 1&lt;BR /&gt; &amp;nbsp; ),&amp;nbsp;&lt;BR /&gt; &amp;nbsp; &lt;SPAN style="color:#27ae60"&gt;'Yes'&lt;/SPAN&gt;,&amp;nbsp;&lt;BR /&gt; &amp;nbsp;&lt;SPAN style="color:#27ae60"&gt; 'No'&lt;/SPAN&gt;&lt;BR /&gt; )&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;As you can see, it will convert the date of the dataset that I am currently reading to a date value and it will do the same for the date string saved in the variable. This will ensure that we are comparing dates instead of strings and thus the result is correct.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;3. The same is done for the other string format:&lt;/P&gt; 
&lt;P&gt;&lt;IMG alt="IMAGE" src="https://lithium-response-prod.s3.us-west-2.amazonaws.com/qlik.response.lithium.com/RESPONSEIMAGE/33be75d8-46ce-4c63-9437-83084b62ffaf.default.PNG" /&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;With the 3rd column having the following measure expression:&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="color:#2980b9"&gt;If&lt;/SPAN&gt;(&lt;BR /&gt; &amp;nbsp; &lt;SPAN style="color:#2980b9"&gt;MonthStart&lt;/SPAN&gt;(&lt;SPAN style="color:#2980b9"&gt;MakeWeekDate&lt;/SPAN&gt;(&lt;SPAN style="color:#2980b9"&gt;SubField&lt;/SPAN&gt;(&lt;SPAN style="color:#f39c12"&gt;Dates3&lt;/SPAN&gt;,&lt;SPAN style="color:#27ae60"&gt; '/'&lt;/SPAN&gt;, 1), &lt;SPAN style="color:#2980b9"&gt;SubField&lt;/SPAN&gt;(&lt;SPAN style="color:#f39c12"&gt;Dates3&lt;/SPAN&gt;,&lt;SPAN style="color:#27ae60"&gt; '/'&lt;/SPAN&gt;, 2)))&lt;BR /&gt; &amp;nbsp; &amp;gt;=&amp;nbsp;&lt;BR /&gt; &amp;nbsp; &lt;SPAN style="color:#2980b9"&gt;MonthStart&lt;/SPAN&gt;(&lt;SPAN style="color:#2980b9"&gt;MakeWeekDate&lt;/SPAN&gt;(&lt;SPAN style="color:#2980b9"&gt;SubField&lt;/SPAN&gt;(&lt;SPAN style="color:#27ae60"&gt;'$(vWeekNum)'&lt;/SPAN&gt;,&lt;SPAN style="color:#27ae60"&gt; '/'&lt;/SPAN&gt;, 1), &lt;SPAN style="color:#2980b9"&gt;SubField&lt;/SPAN&gt;(&lt;SPAN style="color:#27ae60"&gt;'$(vWeekNum)'&lt;/SPAN&gt;, &lt;SPAN style="color:#27ae60"&gt;'/'&lt;/SPAN&gt;, 2)))&lt;BR /&gt; &amp;nbsp; ,&amp;nbsp;&lt;BR /&gt; &amp;nbsp;&lt;SPAN style="color:#27ae60"&gt; 'Yes'&lt;/SPAN&gt;,&amp;nbsp;&lt;BR /&gt; &amp;nbsp; &lt;SPAN style="color:#27ae60"&gt;'No'&lt;/SPAN&gt;&lt;BR /&gt; )&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;As you can see we first convert the dataset's value to date value and we are doing the same for the date string value stored in the variable. Only after that we are comparing to see if the one is grater/equal to the other or not.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN style="color:#7f8c8d"&gt;&lt;EM&gt;&lt;STRONG&gt;I hope that this information was helpful. In case I have misunderstood the use case scenario, please elaborate in details by providing additional information. However, if it has helped you resolve the issue, please mark it as accepted solution to give further visibility to other community members.&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;BR /&gt; &amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;UL&gt; 
&lt;/UL&gt;</description>
      <pubDate>Tue, 08 Mar 2022 09:01:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-filter-with-greather-than-etc/m-p/1902310#M74436</guid>
      <dc:creator>Andrei_Cusnir</dc:creator>
      <dc:date>2022-03-08T09:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: Date filter with greather than etc.</title>
      <link>https://community.qlik.com/t5/App-Development/Date-filter-with-greather-than-etc/m-p/1903042#M74485</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;thanks for the reply.&lt;/P&gt;
&lt;P&gt;Well when i read the documentation for weekname() and monthname() it tells me that it returns a dual with a timestamp as the numeric value. When i enter&amp;nbsp;&lt;SPAN&gt;&amp;gt;=Jan. 2021 in the filter pane this is a string yes, but internally i would have hoped qlik is using the corresponding date-value.&lt;BR /&gt;When i enter&amp;nbsp;&amp;gt;=01.01.21 it is a string too but it gives me the correct month-values in the filter pane.&lt;BR /&gt;Internally qlik is converting that string into date and make the comparison.&lt;BR /&gt;I dont understand why qlik doesnt do that for&amp;nbsp;&amp;gt;=Jan. 2021 since the values in the filterpane are formatted accordingly.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Mar 2022 14:10:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-filter-with-greather-than-etc/m-p/1903042#M74485</guid>
      <dc:creator>schmidtj</dc:creator>
      <dc:date>2022-03-09T14:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: Date filter with greather than etc.</title>
      <link>https://community.qlik.com/t5/App-Development/Date-filter-with-greather-than-etc/m-p/1903977#M74561</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think I might know why you are facing the issue and here is my hypothesis.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. I have the following dataset:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="IMAGE" src="https://lithium-response-prod.s3.us-west-2.amazonaws.com/qlik.response.lithium.com/RESPONSEIMAGE/e7742c52-f8d7-4b7b-bac2-51f4b04ff29d.default.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. After that I have tested simple comparisons:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="IMAGE" src="https://lithium-response-prod.s3.us-west-2.amazonaws.com/qlik.response.lithium.com/RESPONSEIMAGE/8248e5b5-4524-444e-81d3-8d40fbe0593c.default.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you can see the&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt; "&amp;gt;=" &lt;/STRONG&gt;&lt;/SPAN&gt;is working since it returns that&lt;STRONG&gt; 2022/01 &amp;gt;= 2022/11&lt;/STRONG&gt; is &lt;SPAN style="color:#e74c3c"&gt;&lt;STRONG&gt;FALSE &lt;/STRONG&gt;&lt;/SPAN&gt;and for &lt;STRONG&gt;2022/11 &amp;gt;= 2022/01&lt;/STRONG&gt; is &lt;STRONG&gt;&lt;SPAN style="color:#27ae60"&gt;TRUE&lt;/SPAN&gt;&lt;/STRONG&gt;, which is correct and from that we know that the generated values are indeed duals, since it has the string representation and integer to preform the calculation.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3. However, reading through the description of the initial post again, I understand that you have created the filter panes by only having the date field in the dataset, like this:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="IMAGE" src="https://lithium-response-prod.s3.us-west-2.amazonaws.com/qlik.response.lithium.com/RESPONSEIMAGE/e850ebc4-83ce-4d21-ae34-68d2587c5c2b.default.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this correct?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In that case, my recommendation would be to create the additional fields &lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;MonthName &lt;/STRONG&gt;&lt;/SPAN&gt;and &lt;SPAN style="color:#f39c12"&gt;&lt;STRONG&gt;WeekName &lt;/STRONG&gt;&lt;/SPAN&gt;within the dataset itself. Either through &lt;SPAN style="color:#2980b9"&gt;&lt;STRONG&gt;Data load editor&lt;/STRONG&gt;&lt;/SPAN&gt; or by adding new calculated dimensions through&lt;SPAN style="color:#2c3e50"&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#2980b9"&gt;&lt;STRONG&gt;Data manager&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#2c3e50"&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color:#7f8c8d"&gt;&lt;EM&gt;&lt;STRONG&gt;(Depends on how you have loaded your data)&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;. After that, create the &lt;SPAN style="color:#2980b9"&gt;&lt;STRONG&gt;Filter panes&lt;/STRONG&gt;&lt;/SPAN&gt; using directly the newly generated values instead of creating the values in the dimension itself. This could probably help you resolve the issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In case you are still facing the issue after that, please share here a sample app with fake data (Fake dates and values), where the comparison&lt;SPAN style="color:#27ae60"&gt;&lt;STRONG&gt; "&amp;gt;="&lt;/STRONG&gt;&lt;/SPAN&gt; doesn't work properly, so we could investigate the issue further.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Mar 2022 09:16:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-filter-with-greather-than-etc/m-p/1903977#M74561</guid>
      <dc:creator>Andrei_Cusnir</dc:creator>
      <dc:date>2022-03-11T09:16:02Z</dc:date>
    </item>
    <item>
      <title>Re: Date filter with greather than etc.</title>
      <link>https://community.qlik.com/t5/App-Development/Date-filter-with-greather-than-etc/m-p/1905523#M74654</link>
      <description>&lt;P&gt;Hi Andrei,&lt;/P&gt;
&lt;P&gt;thanks a lot for your reply.&lt;BR /&gt;Well i already did create the fields in my datascript which i am filtering.&lt;/P&gt;
&lt;P&gt;This is my month field in the script:&amp;nbsp;&lt;STRONG&gt;Monthname("Monat: Ausgabe") AS "Monat (Text)"&lt;/STRONG&gt;&lt;BR /&gt;I am using "Monat (Text)" directly in my filter widget.&lt;/P&gt;
&lt;P&gt;&amp;gt;=01.01.22 works fine, &lt;EM&gt;&amp;gt;=2022/01&lt;/EM&gt; does not also not &lt;EM&gt;&amp;gt;=Feb. 2022&lt;/EM&gt;&amp;nbsp; for example which i would have expected to work.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2022 16:48:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-filter-with-greather-than-etc/m-p/1905523#M74654</guid>
      <dc:creator>schmidtj</dc:creator>
      <dc:date>2022-03-15T16:48:26Z</dc:date>
    </item>
    <item>
      <title>Re: Date filter with greather than etc.</title>
      <link>https://community.qlik.com/t5/App-Development/Date-filter-with-greather-than-etc/m-p/1914331#M75341</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Maybe if you can share here a sample app with fake date values, we will be able to see how the data is exactly loaded and processed and we can try the same filter strings that you are trying to see how the app behaves. Please also share the exact version of Qlik Sense that you are using (e.g.&lt;SPAN style="color:hsl(150, 75%, 60%);"&gt;&lt;STRONG&gt; Qlik Sense May 2021 SR3&lt;/STRONG&gt;&lt;/SPAN&gt;).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color:hsl(0, 75%, 60%);"&gt;&lt;I&gt;&lt;STRONG&gt;Note:&lt;/STRONG&gt;&lt;/I&gt;&lt;/SPAN&gt;&lt;SPAN style="color:hsl(0, 0%, 60%);"&gt;&lt;I&gt; Please avoid sharing sensitive data. You can create an excel with fake dates and then create a new app where you will load the fake dates. As soon as you manage to reproduce the issue with the fake EXCEL's data, please share here both the EXCEL file and the sample app.&amp;nbsp;&lt;/I&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Apr 2022 07:52:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Date-filter-with-greather-than-etc/m-p/1914331#M75341</guid>
      <dc:creator>Andrei_Cusnir</dc:creator>
      <dc:date>2022-04-05T07:52:12Z</dc:date>
    </item>
  </channel>
</rss>

