<?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 in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/WTD-in-qliksense/m-p/1957629#M78954</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;Its&amp;nbsp;&lt;SPAN&gt;Date_key is number format or date format, if its date, can you change like below with ur dateformat&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Sum({&amp;lt; Date_key={"&amp;gt;=$(=Date(WeekStart(Max(Date_key)&lt;/SPAN&gt;&lt;STRONG&gt;,0,6)&lt;/STRONG&gt;&lt;SPAN&gt;))&amp;lt;=$(=Date(WeekEnd(Max(Date_key)&lt;/SPAN&gt;&lt;STRONG&gt;,0,6)&lt;/STRONG&gt;&lt;SPAN&gt;)))"}&amp;gt;} total_logged)&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 19 Jul 2022 09:02:12 GMT</pubDate>
    <dc:creator>MayilVahanan</dc:creator>
    <dc:date>2022-07-19T09:02:12Z</dc:date>
    <item>
      <title>WTD in qliksense</title>
      <link>https://community.qlik.com/t5/App-Development/WTD-in-qliksense/m-p/1957557#M78943</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-1658216573846.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/84508i35B95EEAA58EB3E2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Aspiring_Developer_0-1658216573846.png" alt="Aspiring_Developer_0-1658216573846.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&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;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/user/viewprofilepage/user-id/1336" target="_blank"&gt;@OmarBenSalem&lt;/A&gt;&amp;nbsp;&lt;A href="https://community.qlik.com/t5/user/viewprofilepage/user-id/22949" target="_blank"&gt;@tresesco&lt;/A&gt;&amp;nbsp;&lt;A href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6622" target="_blank"&gt;@Henric_Cronström&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2022 07:44:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/WTD-in-qliksense/m-p/1957557#M78943</guid>
      <dc:creator>Aspiring_Developer</dc:creator>
      <dc:date>2022-07-19T07:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: WTD in qliksense</title>
      <link>https://community.qlik.com/t5/App-Development/WTD-in-qliksense/m-p/1957575#M78946</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;Try like below&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hope its Sunday to Saturday not Monday.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;(WTD- sum of numbers starting from sunday and ending at Saturday)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;For only one chart you want to calculate from Sunday to Saturday, you can change in front end like below.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Sum({&amp;lt; Date_key={"&amp;gt;=$(=Num(WeekStart(Max(Date_key)&lt;STRONG&gt;,0,6)&lt;/STRONG&gt;))&amp;lt;=$(=Num(WeekEnd(Max(Date_key)&lt;STRONG&gt;,0,6)&lt;/STRONG&gt;)))"}&amp;gt;} total_logged)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2022 08:09:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/WTD-in-qliksense/m-p/1957575#M78946</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2022-07-19T08:09:43Z</dc:date>
    </item>
    <item>
      <title>Re: WTD in qliksense</title>
      <link>https://community.qlik.com/t5/App-Development/WTD-in-qliksense/m-p/1957619#M78952</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/17935"&gt;@MayilVahanan&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes , you are correct. The week start day should be Sunday and week end day should be Saturday.&lt;/P&gt;
&lt;P&gt;I tried the above expression. However, it didn't worked.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Aspiring_Developer_0-1658220800600.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/84515iA1BBC18C49CE9829/image-size/large?v=v2&amp;amp;px=999" role="button" title="Aspiring_Developer_0-1658220800600.png" alt="Aspiring_Developer_0-1658220800600.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Could you please help ?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2022 08:53:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/WTD-in-qliksense/m-p/1957619#M78952</guid>
      <dc:creator>Aspiring_Developer</dc:creator>
      <dc:date>2022-07-19T08:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: WTD in qliksense</title>
      <link>https://community.qlik.com/t5/App-Development/WTD-in-qliksense/m-p/1957623#M78953</link>
      <description>&lt;P&gt;I also checked the values of the variables in the KPI.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Aspiring_Developer_1-1658220971730.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/84516i78AE9A43E4FB40C1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Aspiring_Developer_1-1658220971730.png" alt="Aspiring_Developer_1-1658220971730.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It seems fine , don't know why it is coming blank on the expression.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2022 08:56:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/WTD-in-qliksense/m-p/1957623#M78953</guid>
      <dc:creator>Aspiring_Developer</dc:creator>
      <dc:date>2022-07-19T08:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: WTD in qliksense</title>
      <link>https://community.qlik.com/t5/App-Development/WTD-in-qliksense/m-p/1957629#M78954</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;Its&amp;nbsp;&lt;SPAN&gt;Date_key is number format or date format, if its date, can you change like below with ur dateformat&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Sum({&amp;lt; Date_key={"&amp;gt;=$(=Date(WeekStart(Max(Date_key)&lt;/SPAN&gt;&lt;STRONG&gt;,0,6)&lt;/STRONG&gt;&lt;SPAN&gt;))&amp;lt;=$(=Date(WeekEnd(Max(Date_key)&lt;/SPAN&gt;&lt;STRONG&gt;,0,6)&lt;/STRONG&gt;&lt;SPAN&gt;)))"}&amp;gt;} total_logged)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2022 09:02:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/WTD-in-qliksense/m-p/1957629#M78954</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2022-07-19T09:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: WTD in qliksense</title>
      <link>https://community.qlik.com/t5/App-Development/WTD-in-qliksense/m-p/1957635#M78957</link>
      <description>&lt;P&gt;I tried and it is giving me the value for one particular date range like below :-&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Aspiring_Developer_0-1658222138562.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/84519iD5876FFA1CA5F290/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Aspiring_Developer_0-1658222138562.png" alt="Aspiring_Developer_0-1658222138562.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I need to achieve it for all dates.&lt;/P&gt;
&lt;P&gt;Date_key will be my dimension and in that it should display only Saturday dates and show cumulative sum of that week . For example :-&lt;/P&gt;
&lt;P&gt;Date_Key&amp;nbsp;&lt;/P&gt;
&lt;P&gt;16/07/2022&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now against this date it should the sum for all valuelues starting from 10 th july -sunday till 16 july -saturday&lt;/P&gt;
&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/25001"&gt;@Vegar&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2022 09:30:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/WTD-in-qliksense/m-p/1957635#M78957</guid>
      <dc:creator>Aspiring_Developer</dc:creator>
      <dc:date>2022-07-19T09:30:57Z</dc:date>
    </item>
  </channel>
</rss>

