<?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: Aging dates based on selected date in list box selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Aging-dates-based-on-selected-date-in-list-box-selection/m-p/906891#M315056</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can use a straight table chart with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dimension&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;City&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;expression (&lt;SPAN style="font-size: 13.3333330154419px;"&gt;this is the expression for prev 30 days)&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;sum({$ &amp;lt;Products={A},Status={Open},[Order Date]={&lt;STRONG&gt;"&amp;lt;=$(=date(max([Order Date])))&amp;gt;=$(=date(max([Order Date])-30))"&lt;/STRONG&gt;}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;add the other expression with the same logic, only change the bold part&lt;/P&gt;&lt;P&gt;sum({$ &amp;lt;Products={A},Status={Open},[Order Date]=&lt;STRONG&gt;{"&amp;lt;$(=date(max([Order Date])-30))&amp;gt;=$(=date(max([Order Date])-60))"}&lt;/STRONG&gt;&amp;gt;} Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 02 Aug 2015 14:00:28 GMT</pubDate>
    <dc:creator>maxgro</dc:creator>
    <dc:date>2015-08-02T14:00:28Z</dc:date>
    <item>
      <title>Aging dates based on selected date in list box selection</title>
      <link>https://community.qlik.com/t5/QlikView/Aging-dates-based-on-selected-date-in-list-box-selection/m-p/906886#M315051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Please find the data sheet attached. i want sales of&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;products=A&amp;nbsp; &amp;amp; Status = open &amp;amp; sales of 30 days previous of date selected on&lt;STRONG style="color: #ff0000;"&gt; list box. &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;previous 31 to 60 days sales &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;amp; 61 to 90 days&lt;/P&gt;&lt;P&gt;&amp;amp; &amp;gt; 90&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Aug 2015 13:24:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aging-dates-based-on-selected-date-in-list-box-selection/m-p/906886#M315051</guid>
      <dc:creator />
      <dc:date>2015-08-02T13:24:51Z</dc:date>
    </item>
    <item>
      <title>Re: Aging dates based on selected date in list box selection</title>
      <link>https://community.qlik.com/t5/QlikView/Aging-dates-based-on-selected-date-in-list-box-selection/m-p/906887#M315052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could use set analysis for this, with an expression for each period to query, maybe in this way:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt; Status = {'open'}, Products = {'A'}, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Order Date] = {&lt;STRONG&gt;"&amp;gt;=&lt;/STRONG&gt;$(=date(max([Order date]) &lt;STRONG&gt;- 30&lt;/STRONG&gt;, 'MM/DD/YYYY'))"}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt; Status = {'open'}, Products = {'A'}, &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Order Date] = {"&lt;STRONG&gt;&amp;gt;=&lt;/STRONG&gt;$(=date(max([Order date]) - 60, 'MM/DD/YYYY'))&lt;STRONG&gt;&amp;lt;&lt;/STRONG&gt;$(=date(max([Order date]) &lt;STRONG&gt;- 30&lt;/STRONG&gt;, 'MM/DD/YYYY'))"}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe it needs some adjustements on the date-formats within the set analysis which must be excactly the same like tis from field and with the &amp;gt;= operators and days which would be between them. As alternatively to max() you could also use getfieldselections().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Aug 2015 13:39:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aging-dates-based-on-selected-date-in-list-box-selection/m-p/906887#M315052</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-08-02T13:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: Aging dates based on selected date in list box selection</title>
      <link>https://community.qlik.com/t5/QlikView/Aging-dates-based-on-selected-date-in-list-box-selection/m-p/906888#M315053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please see the attached&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Aug 2015 13:50:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aging-dates-based-on-selected-date-in-list-box-selection/m-p/906888#M315053</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2015-08-02T13:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: Aging dates based on selected date in list box selection</title>
      <link>https://community.qlik.com/t5/QlikView/Aging-dates-based-on-selected-date-in-list-box-selection/m-p/906889#M315054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanku bro&amp;nbsp; ur perfect&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Aug 2015 13:56:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aging-dates-based-on-selected-date-in-list-box-selection/m-p/906889#M315054</guid>
      <dc:creator />
      <dc:date>2015-08-02T13:56:13Z</dc:date>
    </item>
    <item>
      <title>Re: Aging dates based on selected date in list box selection</title>
      <link>https://community.qlik.com/t5/QlikView/Aging-dates-based-on-selected-date-in-list-box-selection/m-p/906890#M315055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Glad that I was able to help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Aug 2015 13:58:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aging-dates-based-on-selected-date-in-list-box-selection/m-p/906890#M315055</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2015-08-02T13:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: Aging dates based on selected date in list box selection</title>
      <link>https://community.qlik.com/t5/QlikView/Aging-dates-based-on-selected-date-in-list-box-selection/m-p/906891#M315056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can use a straight table chart with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dimension&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;City&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;expression (&lt;SPAN style="font-size: 13.3333330154419px;"&gt;this is the expression for prev 30 days)&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;sum({$ &amp;lt;Products={A},Status={Open},[Order Date]={&lt;STRONG&gt;"&amp;lt;=$(=date(max([Order Date])))&amp;gt;=$(=date(max([Order Date])-30))"&lt;/STRONG&gt;}&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;add the other expression with the same logic, only change the bold part&lt;/P&gt;&lt;P&gt;sum({$ &amp;lt;Products={A},Status={Open},[Order Date]=&lt;STRONG&gt;{"&amp;lt;$(=date(max([Order Date])-30))&amp;gt;=$(=date(max([Order Date])-60))"}&lt;/STRONG&gt;&amp;gt;} Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Aug 2015 14:00:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Aging-dates-based-on-selected-date-in-list-box-selection/m-p/906891#M315056</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-08-02T14:00:28Z</dc:date>
    </item>
  </channel>
</rss>

