<?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 current week in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/set-analysis-current-week/m-p/1449329#M433965</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=sum({&lt;SPAN style="color: #ff0000;"&gt;1&lt;/SPAN&gt;&amp;lt;&lt;SPAN style="color: #ff0000; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;var_max_date &lt;/SPAN&gt;={&lt;SPAN style="color: #ff0000;"&gt;"&lt;/SPAN&gt;&amp;gt;=$(var_cur_week_start_date)&amp;lt;=$(var_cur_week_end_date)&lt;STRONG style="color: #ff0000; font-size: 13.3333px;"&gt;"&lt;/STRONG&gt;}&amp;gt;} amount)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 14 Oct 2017 02:40:30 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2017-10-14T02:40:30Z</dc:date>
    <item>
      <title>set analysis current week</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-current-week/m-p/1449328#M433964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you could help me with the following:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;var_max_date:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 10pt;"&gt;=Max({1&amp;lt;Year={$(=Max({1}Year))},amount={"&amp;gt;0"}&amp;gt;}date)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;var_cur_week_start_date:&amp;nbsp; &lt;/SPAN&gt;=DATE(WeekStart(var_max_date), 'YYYY-MM-DD')&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;var_cur_week_end_date:&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;=DATE(WeekEnd(var_max_date), 'YYYY-MM-DD')&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P&gt;I am calculating the amount for the current week:&lt;/P&gt;&lt;P&gt;in chart:&lt;/P&gt;&lt;P&gt;=sum({$&amp;lt;date={'&amp;gt;=$(var_cur_week_start_date)&amp;lt;=$(var_cur_week_end_date)'}&amp;gt;} amount)&lt;/P&gt;&lt;P&gt;It shows me the amount for the current week,but when I make selection in the date filter the amount for current selection is missing.&lt;/P&gt;&lt;P&gt;What can I do to preserve it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Oct 2017 22:34:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-current-week/m-p/1449328#M433964</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-13T22:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis current week</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-current-week/m-p/1449329#M433965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=sum({&lt;SPAN style="color: #ff0000;"&gt;1&lt;/SPAN&gt;&amp;lt;&lt;SPAN style="color: #ff0000; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;var_max_date &lt;/SPAN&gt;={&lt;SPAN style="color: #ff0000;"&gt;"&lt;/SPAN&gt;&amp;gt;=$(var_cur_week_start_date)&amp;lt;=$(var_cur_week_end_date)&lt;STRONG style="color: #ff0000; font-size: 13.3333px;"&gt;"&lt;/STRONG&gt;}&amp;gt;} amount)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Oct 2017 02:40:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-current-week/m-p/1449329#M433965</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-10-14T02:40:30Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis current week</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-current-week/m-p/1449330#M433966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Variables like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LET var_max_date&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;=Max({1&amp;lt;Year={$(=Max({1}Year))},amount={"&amp;gt;0"}&amp;gt;}date);&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;LET var_cur_week_start_date&amp;nbsp; &lt;/SPAN&gt;=DATE(WeekStart(var_max_date), 'YYYY-MM-DD');&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;LET var_cur_week_end_date&amp;nbsp; &lt;/SPAN&gt;=DATE(WeekEnd(var_max_date), 'YYYY-MM-DD');&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Expre:-&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=sum({1&amp;lt;var_max_date ={'&amp;gt;=$(var_cur_week_start_date) &amp;lt;=$(var_cur_week_end_date)'}&amp;gt;} Val)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Oct 2017 04:42:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-current-week/m-p/1449330#M433966</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2017-10-14T04:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis current week</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-current-week/m-p/1449331#M433967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry I don't understand why I should use var_max_date in the expression. var_cur_week_start_date that is calculated based on var_max_date.&lt;/P&gt;&lt;P&gt;sum({1&amp;lt;date ={"&amp;gt;=$(var_cur_week_start_date)&amp;lt;=$(var_cur_week_end_date)"}&amp;gt;} installs_omn)&lt;/P&gt;&lt;P&gt;Also if I will use 1, other filters like region or product won't inluence on the resul, but they should. What can I do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Oct 2017 08:08:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-current-week/m-p/1449331#M433967</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-14T08:08:40Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis current week</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-current-week/m-p/1449332#M433968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum({&lt;SPAN style="color: #ff0000;"&gt;$&lt;/SPAN&gt;&amp;lt;date ={"&lt;SPAN style="color: #ff0000;"&gt;=Only({$&amp;lt;date = &amp;gt;} date)&lt;/SPAN&gt; &amp;gt;= $(var_cur_week_start_date) &lt;SPAN style="color: #ff0000;"&gt;and &lt;STRONG style="font-size: 13.3333px;"&gt;Only({$&amp;lt;date = &amp;gt;} date)&lt;/STRONG&gt;&lt;/SPAN&gt; &amp;lt;= $(var_cur_week_end_date)"}&amp;gt;} installs_omn)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Oct 2017 08:16:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-current-week/m-p/1449332#M433968</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-10-14T08:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis current week</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-current-week/m-p/1449333#M433969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It doesn't work, shows 0.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Oct 2017 08:19:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-current-week/m-p/1449333#M433969</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-14T08:19:10Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis current week</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-current-week/m-p/1449334#M433970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry I don't understand why I should use var_max_date in the expression. var_cur_week_start_date that is calculated based on var_max_date.&lt;/P&gt;&lt;P&gt;sum({1&amp;lt;date ={"&amp;gt;=$(var_cur_week_start_date)&amp;lt;=$(var_cur_week_end_date)"}&amp;gt;} installs_omn)&lt;/P&gt;&lt;P&gt;Also if I will use 1, other filters like region or product won't inluence on the resul, but they should. What can I do?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2017 08:15:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-current-week/m-p/1449334#M433970</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-16T08:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: set analysis current week</title>
      <link>https://community.qlik.com/t5/QlikView/set-analysis-current-week/m-p/1449335#M433971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you solve your issue? I had the same problem and fixed it in the following way:.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When loading the information try having the numeric value of the Date in another field, for example: &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3332996368408px;"&gt;DATE(dateField, 'YYYY-MM-DD')&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; as date,&lt;/P&gt;&lt;P&gt;Num(dateField)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; as &lt;STRONG style="font-size: 13.3333330154419px;"&gt;dateNum&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And then use the numeric one in the set analysis:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;=sum({$&amp;lt;&lt;STRONG&gt;dateNum&lt;/STRONG&gt;={'&amp;gt;=$(var_cur_week_start_date)&amp;lt;=$(var_cur_week_end_date)'}&amp;gt;} amount)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Jan 2018 20:49:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-analysis-current-week/m-p/1449335#M433971</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-10T20:49:11Z</dc:date>
    </item>
  </channel>
</rss>

