<?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: WTD in qliksense table in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/WTD-in-qliksense-table/m-p/1957165#M78926</link>
    <description>&lt;P&gt;Can anyone please help ? Can we achieve it using peek and previous functions and create flags at backend end ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 18 Jul 2022 14:04:47 GMT</pubDate>
    <dc:creator>Aspiring_Developer</dc:creator>
    <dc:date>2022-07-18T14:04:47Z</dc:date>
    <item>
      <title>WTD in qliksense table</title>
      <link>https://community.qlik.com/t5/App-Development/WTD-in-qliksense-table/m-p/1957014#M78913</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;
&lt;P&gt;I am trying to calculate WTD where my week start date should correspond to Sunday and week end date should be Monday.&lt;/P&gt;
&lt;P&gt;In the script , I have changed below:-&lt;/P&gt;
&lt;P&gt;SET FirstWeekDay=6; // changed from 0 to 1 Vb test &lt;BR /&gt;SET BrokenWeeks=0;&lt;/P&gt;
&lt;P&gt;Now I have proper week start and week end dates as follow:-&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Aspiring_Developer_0-1658141525013.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/84393i6651BD9DC77B68AB/image-size/large?v=v2&amp;amp;px=999" role="button" title="Aspiring_Developer_0-1658141525013.png" alt="Aspiring_Developer_0-1658141525013.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Here week start dates are for Sunday's and week end is Monday.&lt;/P&gt;
&lt;P&gt;Now , what I want to show is a table with dimension as Date (only for Saturday i.e date corresponding to Saturday only ) and in measure, cumulative sum of entire week. (WTD- sum of numbers starting from sunday and ending at Monday). I tried using below expression but it did not worked:-&lt;/P&gt;
&lt;P&gt;Sum({&amp;lt; Date_key={"&amp;gt;=$(=Num(WeekStart(Max(Date_key))))&amp;lt;=$(=Num(WeekStart(Max(Date_key))))"}&amp;gt;} total_logged)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can anyone please help ?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Just to add, I have other dates as well in my data model and in few charts&amp;nbsp; I am displaying only Saturday dates as dimension in the visual. So, when I changed the value of set Firstdayofweek from 0 to 6 , it disturbed the other dates in the data model.&lt;/P&gt;
&lt;P&gt;Please help ?I am stuck &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/1336"&gt;@OmarBenSalem&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22949"&gt;@tresB&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6622"&gt;@hic&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/121382"&gt;@mvpkruger&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/60321"&gt;@bbruno&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/162636"&gt;@Kushagra&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2022 14:07:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/WTD-in-qliksense-table/m-p/1957014#M78913</guid>
      <dc:creator>Aspiring_Developer</dc:creator>
      <dc:date>2022-07-18T14:07:57Z</dc:date>
    </item>
    <item>
      <title>Re: WTD in qliksense table</title>
      <link>https://community.qlik.com/t5/App-Development/WTD-in-qliksense-table/m-p/1957165#M78926</link>
      <description>&lt;P&gt;Can anyone please help ? Can we achieve it using peek and previous functions and create flags at backend end ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jul 2022 14:04:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/WTD-in-qliksense-table/m-p/1957165#M78926</guid>
      <dc:creator>Aspiring_Developer</dc:creator>
      <dc:date>2022-07-18T14:04:47Z</dc:date>
    </item>
  </channel>
</rss>

