<?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: Trying to use set analysis with a date range that is relative to today in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Trying-to-use-set-analysis-with-a-date-range-that-is-relative-to/m-p/1958902#M79045</link>
    <description>&lt;P&gt;Thank you for your help. I finally found a solution using parts from both of the answers above. The main problem was that the date format for my field included specific hour and minute time stamps. So I was able to get a new field created and also simplified it to be an open ended range.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="haydenfontana_0-1658408418008.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/84773i60512EB8F93D0F3D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="haydenfontana_0-1658408418008.png" alt="haydenfontana_0-1658408418008.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 21 Jul 2022 13:00:28 GMT</pubDate>
    <dc:creator>haydenfontana</dc:creator>
    <dc:date>2022-07-21T13:00:28Z</dc:date>
    <item>
      <title>Trying to use set analysis with a date range that is relative to today</title>
      <link>https://community.qlik.com/t5/App-Development/Trying-to-use-set-analysis-with-a-date-range-that-is-relative-to/m-p/1953656#M78655</link>
      <description>&lt;P&gt;Hey All,&lt;/P&gt;
&lt;P&gt;I am trying to create an expression that will only show values that are within a certain range of dates. I am having trouble making it a relative function that only shows values that range from two months from today, say 5/9/2022, and all dates before then.&lt;/P&gt;
&lt;P&gt;Below is the equation I have been working with. It is not representative of all the attempts I've had, however I believe it best represents the concept that I am trying to achieve.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="haydenfontana_0-1657383366347.png" style="width: 504px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/83727i7DD8EE2D4EDEEBF4/image-dimensions/504x218?v=v2" width="504" height="218" role="button" title="haydenfontana_0-1657383366347.png" alt="haydenfontana_0-1657383366347.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 09 Jul 2022 16:18:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Trying-to-use-set-analysis-with-a-date-range-that-is-relative-to/m-p/1953656#M78655</guid>
      <dc:creator>haydenfontana</dc:creator>
      <dc:date>2022-07-09T16:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to use set analysis with a date range that is relative to today</title>
      <link>https://community.qlik.com/t5/App-Development/Trying-to-use-set-analysis-with-a-date-range-that-is-relative-to/m-p/1953658#M78656</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/188916"&gt;@haydenfontana&lt;/a&gt;&amp;nbsp;Create a Start Date and End Date variable, and insert the below in your expression;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;DateField= {"&amp;gt;= $(StartDate) &amp;lt;= $(EndDate)"}&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Cheers!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jul 2022 20:25:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Trying-to-use-set-analysis-with-a-date-range-that-is-relative-to/m-p/1953658#M78656</guid>
      <dc:creator>BrunPierre</dc:creator>
      <dc:date>2022-07-15T20:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to use set analysis with a date range that is relative to today</title>
      <link>https://community.qlik.com/t5/App-Development/Trying-to-use-set-analysis-with-a-date-range-that-is-relative-to/m-p/1953680#M78660</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try like below&lt;/P&gt;
&lt;P&gt;ScheduledShipDate = {"&amp;gt;$(=Date(Today()-61,'YourDateFormat'))&amp;lt;=$(=Date(Today(),'YourDateFormat'))"}&lt;/P&gt;
&lt;P&gt;Both exp results always last 60 days info.&lt;/P&gt;
&lt;P&gt;If its dynamic, instead of Today, try with Max(ScheduledShipDate) and ignore all time filters like Year=, Month=&lt;/P&gt;</description>
      <pubDate>Sun, 10 Jul 2022 02:40:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Trying-to-use-set-analysis-with-a-date-range-that-is-relative-to/m-p/1953680#M78660</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2022-07-10T02:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to use set analysis with a date range that is relative to today</title>
      <link>https://community.qlik.com/t5/App-Development/Trying-to-use-set-analysis-with-a-date-range-that-is-relative-to/m-p/1956672#M78883</link>
      <description>&lt;P&gt;Hey Peter,&lt;/P&gt;
&lt;P&gt;Thank you for the advice, however when inputting this into my expression, I end up with no results on my table. I am not sure if I did it right however here is the equation I came up with.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="haydenfontana_0-1657914993105.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/84335iB3922E65D4C0198B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="haydenfontana_0-1657914993105.png" alt="haydenfontana_0-1657914993105.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jul 2022 19:56:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Trying-to-use-set-analysis-with-a-date-range-that-is-relative-to/m-p/1956672#M78883</guid>
      <dc:creator>haydenfontana</dc:creator>
      <dc:date>2022-07-15T19:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to use set analysis with a date range that is relative to today</title>
      <link>https://community.qlik.com/t5/App-Development/Trying-to-use-set-analysis-with-a-date-range-that-is-relative-to/m-p/1956732#M78893</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/188916"&gt;@haydenfontana&lt;/a&gt; Try this and ignore all the time dimensions as &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/17935"&gt;@MayilVahanan&lt;/a&gt;&amp;nbsp; rightly pointed out.&lt;/P&gt;
&lt;P&gt;ScheduledShipDate={"$(='&amp;gt;=' &amp;amp; AddMonths(monthstart (max(ScheduledShipDate)),-2)&amp;amp;'&amp;lt;=' &amp;amp; Date(Max(ScheduledShipDate)))"}&lt;/P&gt;</description>
      <pubDate>Sat, 16 Jul 2022 10:51:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Trying-to-use-set-analysis-with-a-date-range-that-is-relative-to/m-p/1956732#M78893</guid>
      <dc:creator>BrunPierre</dc:creator>
      <dc:date>2022-07-16T10:51:06Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to use set analysis with a date range that is relative to today</title>
      <link>https://community.qlik.com/t5/App-Development/Trying-to-use-set-analysis-with-a-date-range-that-is-relative-to/m-p/1958902#M79045</link>
      <description>&lt;P&gt;Thank you for your help. I finally found a solution using parts from both of the answers above. The main problem was that the date format for my field included specific hour and minute time stamps. So I was able to get a new field created and also simplified it to be an open ended range.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="haydenfontana_0-1658408418008.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/84773i60512EB8F93D0F3D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="haydenfontana_0-1658408418008.png" alt="haydenfontana_0-1658408418008.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jul 2022 13:00:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Trying-to-use-set-analysis-with-a-date-range-that-is-relative-to/m-p/1958902#M79045</guid>
      <dc:creator>haydenfontana</dc:creator>
      <dc:date>2022-07-21T13:00:28Z</dc:date>
    </item>
  </channel>
</rss>

