<?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: Get last friday in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Get-last-friday/m-p/1946168#M77964</link>
    <description>&lt;P&gt;but how to get the Friday date&amp;nbsp; automatically when i want daily&lt;/P&gt;
&lt;P&gt;eg: for Monday we have took -3, for Tuesday it will change right&lt;/P&gt;
&lt;P&gt;then how can we get automatically&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 21 Jun 2022 09:53:28 GMT</pubDate>
    <dc:creator>Vinay39</dc:creator>
    <dc:date>2022-06-21T09:53:28Z</dc:date>
    <item>
      <title>Get last friday</title>
      <link>https://community.qlik.com/t5/App-Development/Get-last-friday/m-p/1509007#M36332</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hello, I have several dates and I wish to recover only the last Friday. Here I wish to recover only the 16/11/2018. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 297px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/567i50DA72ECA2B9E97D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I wrote the following script: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;LOAD "RCT - Code",&lt;BR /&gt;"Web - Date expedition",&lt;BR /&gt;sum("Web - quantité expdiée") as "Qté expédiée vendredi (uniquement)"&lt;BR /&gt;FROM [lib://QVD_Rec (omnium_dec1)/DWH\F_EXPORT_CDE_WEB.QVD](qvd)&lt;BR /&gt;Where Date("Web - Date expedition")= Date(Weekstart(Today())-3)&lt;BR /&gt;Group by "RCT - Code",&lt;BR /&gt;"Web - Date expedition";&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The function&amp;nbsp;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;Date(Weekstart(Today())-3)&lt;/STRONG&gt;&lt;/FONT&gt; &amp;nbsp; returns well the last Friday which is the 16/11/2018&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;However when I load my data there is no date of 16/11/2018 coming out of my column&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Nov 2018 12:14:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Get-last-friday/m-p/1509007#M36332</guid>
      <dc:creator>jmialoundama</dc:creator>
      <dc:date>2018-11-19T12:14:32Z</dc:date>
    </item>
    <item>
      <title>Re: Get last friday</title>
      <link>https://community.qlik.com/t5/App-Development/Get-last-friday/m-p/1509016#M36333</link>
      <description>&lt;P&gt;Make sure your date format for LHS and RHS match. Please define the Date format using Date# interpreter and Date func&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;Date("Web - Date expedition")= Date(Weekstart(Today())-3)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Nov 2018 12:20:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Get-last-friday/m-p/1509016#M36333</guid>
      <dc:creator>shiveshsingh</dc:creator>
      <dc:date>2018-11-19T12:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: Get last friday</title>
      <link>https://community.qlik.com/t5/App-Development/Get-last-friday/m-p/1509023#M36335</link>
      <description>&lt;P&gt;&lt;SPAN&gt;thanks for your reply !&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I found where the problem came from. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The problem came from the format of the sate so I had to transform it in the following way: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="arial black,avant garde" size="2"&gt;&lt;STRONG&gt;Where Date(Floor(TimeStamp#("Date expedition",'DD/MM/YYYY hh:mm:ss')),'DD/MM/YYYY')&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And it works! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Nov 2018 12:26:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Get-last-friday/m-p/1509023#M36335</guid>
      <dc:creator>jmialoundama</dc:creator>
      <dc:date>2018-11-19T12:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: Get last friday</title>
      <link>https://community.qlik.com/t5/App-Development/Get-last-friday/m-p/1946168#M77964</link>
      <description>&lt;P&gt;but how to get the Friday date&amp;nbsp; automatically when i want daily&lt;/P&gt;
&lt;P&gt;eg: for Monday we have took -3, for Tuesday it will change right&lt;/P&gt;
&lt;P&gt;then how can we get automatically&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2022 09:53:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Get-last-friday/m-p/1946168#M77964</guid>
      <dc:creator>Vinay39</dc:creator>
      <dc:date>2022-06-21T09:53:28Z</dc:date>
    </item>
  </channel>
</rss>

