<?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 filter data on the previous week? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-filter-data-on-the-previous-week/m-p/110579#M7573</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 think your formula is correct, the only detail is regarding your third parameter on WeekStart function. Instead of using "&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;first_week_day = 0&lt;/SPAN&gt;", try to use just the value "0".&lt;/P&gt;&lt;P&gt;The final expression should be something like this:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;Sum({$ &amp;lt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;semaine &lt;/SPAN&gt;= {"= $(=Week(WeekStart(Today(), -1, 0)))"}&amp;gt;} &lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;etat_ok&lt;/SPAN&gt;)&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I hope I could help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Alexandra Costa.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Sep 2018 14:09:57 GMT</pubDate>
    <dc:creator>alexandrakfcosta</dc:creator>
    <dc:date>2018-09-26T14:09:57Z</dc:date>
    <item>
      <title>How to filter data on the previous week?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-filter-data-on-the-previous-week/m-p/110578#M7572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN lang="EN-US" style="color: black;"&gt;Hi everyone !&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: black; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: black; font-size: 10pt;"&gt;I solicit your help because it's been over a week that I use Qlik and I have a lot of trouble with the syntax of set analysis. I can not filter my data (which runs from August 2017 to today) weekly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN lang="EN-US" style="color: black;"&gt;My goal is to show the sum of the numbers only from last week. Here is the last iteration of my work:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN lang="EN-US" style="color: black;"&gt;Sum ({$ &amp;lt;semaine = {"= $ (= week (weekstart (today (), -1, first_week_day = 0)))"}&amp;gt;} etat_ok)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN lang="EN-US" style="color: black;"&gt;"semaine" is a column containing the number of the week (0 -&amp;gt; 53)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: 0.0001pt; font-size: 13.3333px;"&gt;&lt;SPAN lang="EN-US" style="color: black;"&gt;Can you tell me what's wrong? Or maybe point me to a document explaining how set analysis works ? or both ?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2018 06:48:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-filter-data-on-the-previous-week/m-p/110578#M7572</guid>
      <dc:creator>Thierno</dc:creator>
      <dc:date>2018-09-26T06:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter data on the previous week?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-filter-data-on-the-previous-week/m-p/110579#M7573</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 think your formula is correct, the only detail is regarding your third parameter on WeekStart function. Instead of using "&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;first_week_day = 0&lt;/SPAN&gt;", try to use just the value "0".&lt;/P&gt;&lt;P&gt;The final expression should be something like this:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;Sum({$ &amp;lt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;semaine &lt;/SPAN&gt;= {"= $(=Week(WeekStart(Today(), -1, 0)))"}&amp;gt;} &lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;etat_ok&lt;/SPAN&gt;)&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;I hope I could help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Alexandra Costa.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2018 14:09:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-filter-data-on-the-previous-week/m-p/110579#M7573</guid>
      <dc:creator>alexandrakfcosta</dc:creator>
      <dc:date>2018-09-26T14:09:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter data on the previous week?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-filter-data-on-the-previous-week/m-p/110580#M7574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alexandra,&lt;/P&gt;&lt;P&gt;tx for responding me,&lt;/P&gt;&lt;P&gt;i tried it but it like it doesn't make the filter. &lt;/P&gt;&lt;P&gt;see :&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture 2.PNG" class="jive-image image-1" src="/legacyfs/online/214517_Capture 2.PNG" style="height: auto;" /&gt;&lt;A href="https://community.qlik.com/qlik-users/233765"&gt;alexandrakfcosta&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;Maybe there is something i misunderstand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Thierno DIALLO&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2018 14:31:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-filter-data-on-the-previous-week/m-p/110580#M7574</guid>
      <dc:creator>Thierno</dc:creator>
      <dc:date>2018-09-26T14:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter data on the previous week?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-filter-data-on-the-previous-week/m-p/110581#M7575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Thierno,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just realized that you are using 2 equal signs "=". I should try this way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;Sum({$&amp;lt;semaine = {"$(=Week(WeekStart(Today(), -1, 0)))"}&amp;gt;} etat_ok)&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Alexandra.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2018 10:48:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-filter-data-on-the-previous-week/m-p/110581#M7575</guid>
      <dc:creator>alexandrakfcosta</dc:creator>
      <dc:date>2018-09-28T10:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter data on the previous week?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-filter-data-on-the-previous-week/m-p/110582#M7576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Maybe try....&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Sum ({$ &amp;lt;Week = {$(=Max(Week)-1)},Date&amp;gt;} etat_ok)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Your Week field should be numeric like 1, ,2 ,3 ....&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;And use your date field as well.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2018 12:53:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-filter-data-on-the-previous-week/m-p/110582#M7576</guid>
      <dc:creator>MK9885</dc:creator>
      <dc:date>2018-09-28T12:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter data on the previous week?</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-filter-data-on-the-previous-week/m-p/110583#M7577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks you all for your help. i had an equal sign more.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best wishes&lt;/P&gt;&lt;P&gt;Thierno&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Sep 2018 12:58:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-filter-data-on-the-previous-week/m-p/110583#M7577</guid>
      <dc:creator>Thierno</dc:creator>
      <dc:date>2018-09-28T12:58:24Z</dc:date>
    </item>
  </channel>
</rss>

