<?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 Display last week last year in a Flag in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Display-last-week-last-year-in-a-Flag/m-p/1545049#M39278</link>
    <description>&lt;P&gt;Hello all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am busy creating a flag for last week last year but it is displaying a wrong period.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The expression i use is the following:&amp;nbsp;&lt;/P&gt;&lt;P&gt;If((TempDatum&amp;gt;=Weekstart(AddMonths(today(),-7),-12) and TempDatum&amp;lt;=WeekEnd(AddMonths(Today(),-7),-12)),1) as [O.LWLY Flag]&lt;/P&gt;&lt;P&gt;It is currently displaying a week in April starting at April 16th&amp;nbsp; and ending at April 22th.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone have any suggestions on how to solve this so it shows last week last year (February 4th till February 10th).&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks in advance!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sincerely,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rick&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 21:24:05 GMT</pubDate>
    <dc:creator>Rick_T</dc:creator>
    <dc:date>2024-11-16T21:24:05Z</dc:date>
    <item>
      <title>Display last week last year in a Flag</title>
      <link>https://community.qlik.com/t5/App-Development/Display-last-week-last-year-in-a-Flag/m-p/1545049#M39278</link>
      <description>&lt;P&gt;Hello all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am busy creating a flag for last week last year but it is displaying a wrong period.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The expression i use is the following:&amp;nbsp;&lt;/P&gt;&lt;P&gt;If((TempDatum&amp;gt;=Weekstart(AddMonths(today(),-7),-12) and TempDatum&amp;lt;=WeekEnd(AddMonths(Today(),-7),-12)),1) as [O.LWLY Flag]&lt;/P&gt;&lt;P&gt;It is currently displaying a week in April starting at April 16th&amp;nbsp; and ending at April 22th.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone have any suggestions on how to solve this so it shows last week last year (February 4th till February 10th).&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks in advance!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sincerely,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Rick&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 21:24:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Display-last-week-last-year-in-a-Flag/m-p/1545049#M39278</guid>
      <dc:creator>Rick_T</dc:creator>
      <dc:date>2024-11-16T21:24:05Z</dc:date>
    </item>
    <item>
      <title>Re: Display last week last year in a Flag</title>
      <link>https://community.qlik.com/t5/App-Development/Display-last-week-last-year-in-a-Flag/m-p/1545051#M39279</link>
      <description>&lt;P&gt;Try this may be&lt;/P&gt;&lt;PRE&gt;If(&lt;BR /&gt;TempDatum &amp;gt;= Weekstart(AddMonths(Today(), -12), -1) and&lt;BR /&gt;TempDatum &amp;lt;= WeekEnd(AddMonths(Today(), -12), -1)&lt;BR /&gt;, 1) as [O.LWLY Flag]&lt;/PRE&gt;</description>
      <pubDate>Fri, 15 Feb 2019 14:06:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Display-last-week-last-year-in-a-Flag/m-p/1545051#M39279</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-02-15T14:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: Display last week last year in a Flag</title>
      <link>https://community.qlik.com/t5/App-Development/Display-last-week-last-year-in-a-Flag/m-p/1545063#M39281</link>
      <description>&lt;P&gt;This works great, thanks mr. Talwar!&lt;/P&gt;</description>
      <pubDate>Fri, 15 Feb 2019 14:17:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Display-last-week-last-year-in-a-Flag/m-p/1545063#M39281</guid>
      <dc:creator>Rick_T</dc:creator>
      <dc:date>2019-02-15T14:17:09Z</dc:date>
    </item>
  </channel>
</rss>

