<?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: How to obtain data from exact date in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-obtain-data-from-exact-date/m-p/399832#M487241</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG __jive_id="34174" class="jive-image-thumbnail jive-image" onclick="" alt="sampleqlikview.jpg" src="https://community.qlik.com/legacyfs/online/34174_sampleqlikview.jpg" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi! Many thanks for your rapid response, but i think i dont get it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look, attached is my chart from QV, it contains data and comments, all, but I need to be cappable to filter those comments from last week, or last month (all in)....does it make sense to you??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;B.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Mar 2013 19:22:44 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-03-01T19:22:44Z</dc:date>
    <item>
      <title>How to obtain data from exact date</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-obtain-data-from-exact-date/m-p/399829#M487238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an excel chart with dates and comments.&lt;/P&gt;&lt;P&gt;I need to create a chart within QlikView to let me know which comments were done one week before or after the today date.&lt;/P&gt;&lt;P&gt;Thanks!!&lt;/P&gt;&lt;P&gt;B.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Mar 2013 19:06:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-obtain-data-from-exact-date/m-p/399829#M487238</guid>
      <dc:creator />
      <dc:date>2013-03-01T19:06:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to obtain data from exact date</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-obtain-data-from-exact-date/m-p/399830#M487239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure if this would work with a text field, but for numeric fields, I use a lot of flags.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in your script,&lt;/P&gt;&lt;P&gt;First define a variable to be equal to the max date&lt;/P&gt;&lt;P&gt;then add this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;InWeekToDate(YourDate,VariableofMaxDate,0) * -1 as CurWTDFlag&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 10pt;"&gt;This will assign a 0 to all records where the date is not within the current week and a 1 to those dates that are in the current week.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;SPAN style="color: #333333; font-size: 10pt;"&gt;T&lt;A&gt;&lt;/A&gt;hen in your expression you can multiple your field by the flag, returning 0 if the field is outside of the current week.&lt;/SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Mar 2013 19:14:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-obtain-data-from-exact-date/m-p/399830#M487239</guid>
      <dc:creator />
      <dc:date>2013-03-01T19:14:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to obtain data from exact date</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-obtain-data-from-exact-date/m-p/399831#M487240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure if this would work with a text field, but for numeric fields, I use a lot of flags.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in your script,&lt;/P&gt;&lt;P&gt;First define a variable to be equal to the max date&lt;/P&gt;&lt;P&gt;then add this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;InWeekToDate(YourDate,VariableofMaxDate,0) * -1 as CurWTDFlag&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 10pt;"&gt;This will assign a 0 to all records where the date is not within the current week and a 1 to those dates that are in the current week.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;SPAN style="color: #333333; font-size: 10pt;"&gt;T&lt;A&gt;&lt;/A&gt;hen in your expression you can multiple your field by the flag, returning 0 if the field is outside of the current week.&lt;/SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Mar 2013 19:14:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-obtain-data-from-exact-date/m-p/399831#M487240</guid>
      <dc:creator />
      <dc:date>2013-03-01T19:14:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to obtain data from exact date</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-obtain-data-from-exact-date/m-p/399832#M487241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG __jive_id="34174" class="jive-image-thumbnail jive-image" onclick="" alt="sampleqlikview.jpg" src="https://community.qlik.com/legacyfs/online/34174_sampleqlikview.jpg" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi! Many thanks for your rapid response, but i think i dont get it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look, attached is my chart from QV, it contains data and comments, all, but I need to be cappable to filter those comments from last week, or last month (all in)....does it make sense to you??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;B.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Mar 2013 19:22:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-obtain-data-from-exact-date/m-p/399832#M487241</guid>
      <dc:creator />
      <dc:date>2013-03-01T19:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to obtain data from exact date</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-obtain-data-from-exact-date/m-p/399833#M487242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG __jive_id="34184" class="jive-image-thumbnail jive-image" onclick="" alt="sampleqlikview.jpg" src="https://community.qlik.com/legacyfs/online/34184_sampleqlikview.jpg" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi! Many thanks for your rapid response, but i think i dont get it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look, attached is my chart from QV, it contains data and comments, all, but I need to be cappable to filter those comments from last week, or last month (all in)....does it make sense to you??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;B.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Mar 2013 19:22:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-obtain-data-from-exact-date/m-p/399833#M487242</guid>
      <dc:creator />
      <dc:date>2013-03-01T19:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to obtain data from exact date</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-obtain-data-from-exact-date/m-p/399834#M487243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See my post here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="loading" href="https://community.qlik.com/message/256243#256243" title="http://community.qlik.com/message/256243#256243"&gt;http://community.qlik.com/message/256243#256243&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It leverages code written by Rob Wunderlich to create a table of standard date ranges which links to your date field.&amp;nbsp; You can select anything then - This week, Last week, This Year, Last Quarter etc etc etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jason&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Mar 2013 14:16:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-obtain-data-from-exact-date/m-p/399834#M487243</guid>
      <dc:creator>Jason_Michaelides</dc:creator>
      <dc:date>2013-03-03T14:16:35Z</dc:date>
    </item>
  </channel>
</rss>

