<?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: Set Analysis date, 2 conditions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-date-2-conditions/m-p/1979507#M1220947</link>
    <description>&lt;P&gt;=max({&amp;lt;BREAK={'5Days'}, DATE = &lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;{'$(=Date(today()-1))'}&lt;/FONT&gt;&lt;/STRONG&gt;&amp;gt;}date(DATE))&lt;/P&gt;</description>
    <pubDate>Sat, 10 Sep 2022 22:17:22 GMT</pubDate>
    <dc:creator>BrunPierre</dc:creator>
    <dc:date>2022-09-10T22:17:22Z</dc:date>
    <item>
      <title>Set Analysis date, 2 conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-date-2-conditions/m-p/1979491#M1220946</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I have a set analysis and need to restrict the range of the maxmim date to -1 -&amp;nbsp;&lt;/P&gt;
&lt;P&gt;=max({&amp;lt;BREAK={'5Days'}&amp;gt;}date(DATE))&lt;/P&gt;
&lt;P&gt;I tried like this but I have an error -&amp;nbsp;&lt;/P&gt;
&lt;P&gt;=max({&amp;lt;BREAK={'5Days'}, DATE = {Today()-1}&amp;gt;}date(DATE)) and&lt;/P&gt;
&lt;P&gt;=max({&amp;lt;BREAK={'5Days'}&amp;gt;+&amp;lt; DATE = {Today()-1}&amp;gt;}date(DATE))&lt;/P&gt;
&lt;P&gt;Do you have any other idea?&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Sep 2022 16:00:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-date-2-conditions/m-p/1979491#M1220946</guid>
      <dc:creator>LearnFreak</dc:creator>
      <dc:date>2022-09-10T16:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis date, 2 conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-date-2-conditions/m-p/1979507#M1220947</link>
      <description>&lt;P&gt;=max({&amp;lt;BREAK={'5Days'}, DATE = &lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;{'$(=Date(today()-1))'}&lt;/FONT&gt;&lt;/STRONG&gt;&amp;gt;}date(DATE))&lt;/P&gt;</description>
      <pubDate>Sat, 10 Sep 2022 22:17:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-date-2-conditions/m-p/1979507#M1220947</guid>
      <dc:creator>BrunPierre</dc:creator>
      <dc:date>2022-09-10T22:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis date, 2 conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-date-2-conditions/m-p/1979510#M1220948</link>
      <description>&lt;P&gt;Hi, I tried it like that but now the whole chart dissapeared.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tried like this -&amp;nbsp;&lt;/P&gt;
&lt;P&gt;=max({&amp;lt;BREAK={'5Days'}&amp;gt;}date((DATE)-1))&lt;/P&gt;
&lt;P&gt;and it showed for example if the Last date was 9th of September, it showed 8th of September...&lt;/P&gt;
&lt;P&gt;but I am not sure if it is the correct result.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Sep 2022 22:48:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-date-2-conditions/m-p/1979510#M1220948</guid>
      <dc:creator>LearnFreak</dc:creator>
      <dc:date>2022-09-10T22:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis date, 2 conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-date-2-conditions/m-p/1979542#M1220949</link>
      <description>&lt;P&gt;In fact, the above expression will return the '8th of September' only for the value of BREAK which is “5Days".&lt;/P&gt;
&lt;P&gt;Are you expecting a different outcome? Perhaps you could share some data and want you to hope to achieve.&lt;/P&gt;</description>
      <pubDate>Sun, 11 Sep 2022 08:23:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-date-2-conditions/m-p/1979542#M1220949</guid>
      <dc:creator>BrunPierre</dc:creator>
      <dc:date>2022-09-11T08:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis date, 2 conditions</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-date-2-conditions/m-p/1983640#M1221099</link>
      <description>&lt;P&gt;I solved it like this -&amp;nbsp;&lt;/P&gt;
&lt;P&gt;=max({&amp;lt;BREAK={'5Days'}&amp;gt;}date((DATE)-1))&lt;/P&gt;
&lt;P&gt;and it worked perfectly. In fact it gave the maximum date - 1.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Sep 2022 12:34:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-date-2-conditions/m-p/1983640#M1221099</guid>
      <dc:creator>LearnFreak</dc:creator>
      <dc:date>2022-09-21T12:34:38Z</dc:date>
    </item>
  </channel>
</rss>

