<?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: Use Date range in SET Analysis, yet ignore a Date selection in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Use-Date-range-in-SET-Analysis-yet-ignore-a-Date-selection/m-p/1296608#M27419</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;May be this&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;1st KPI&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Sum({1&amp;lt;[Date] ={'&amp;gt;=$(=Date(AddMonths(MonthStart(Max([Date])),-3),&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;M/D/YYYY&lt;/SPAN&gt;))&amp;lt;=$(=Date(Max([Date]),&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;M/D/YYYY&lt;/SPAN&gt;))'}, [Entity Category] = {'Sales'}&amp;gt;} [Amount])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;2nd KPI&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;Sum({$&amp;lt;[Date] ={'&amp;gt;=$(=Date(AddMonths(MonthStart(Max([Date])),-3),'&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;M/D/YYYY&lt;/SPAN&gt;'))&amp;lt;=$(=Date(Max([Date]),&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;M/D/YYYY&lt;/SPAN&gt;))'}, [Entity Category] = {'Sales'}&amp;gt;} [Amount])&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Jul 2017 13:58:06 GMT</pubDate>
    <dc:creator>aarkay29</dc:creator>
    <dc:date>2017-07-12T13:58:06Z</dc:date>
    <item>
      <title>Use Date range in SET Analysis, yet ignore a Date selection</title>
      <link>https://community.qlik.com/t5/App-Development/Use-Date-range-in-SET-Analysis-yet-ignore-a-Date-selection/m-p/1296607#M27418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need some help with some SET Analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm creating a KPI to sum a value for the most recent 3 months that cannot change, and then I want another KPI that shows the sum of the same value for a 3 month date range a user selects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1st KPI&lt;/P&gt;&lt;P&gt;Sales = $3.5M for Feb, Mar, Apr&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2nd KPI&lt;/P&gt;&lt;P&gt;Sales = $1.1M for Jan, Feb, Mar (3 months based on date a user selects).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the user selects Mar, I want the 1st KPI to stay the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Date field is formatted as M/D/YYYY&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;[Date] ={'&amp;gt;=$(=AddMonths(Max([Date]),-3))&amp;lt;=$(=Max([Date]))'}, [Entity Category] = {'Sales'}&amp;gt;} [Amount])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried entering the "[Date] = ", but this then cancels out my initial date range above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried entering the "[Date] = e([Date])", but this only excludes the date that is selected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jul 2017 13:45:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Use-Date-range-in-SET-Analysis-yet-ignore-a-Date-selection/m-p/1296607#M27418</guid>
      <dc:creator>mikelutomski</dc:creator>
      <dc:date>2017-07-12T13:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: Use Date range in SET Analysis, yet ignore a Date selection</title>
      <link>https://community.qlik.com/t5/App-Development/Use-Date-range-in-SET-Analysis-yet-ignore-a-Date-selection/m-p/1296608#M27419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;May be this&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;1st KPI&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Sum({1&amp;lt;[Date] ={'&amp;gt;=$(=Date(AddMonths(MonthStart(Max([Date])),-3),&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;M/D/YYYY&lt;/SPAN&gt;))&amp;lt;=$(=Date(Max([Date]),&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;M/D/YYYY&lt;/SPAN&gt;))'}, [Entity Category] = {'Sales'}&amp;gt;} [Amount])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;2nd KPI&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;Sum({$&amp;lt;[Date] ={'&amp;gt;=$(=Date(AddMonths(MonthStart(Max([Date])),-3),'&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;M/D/YYYY&lt;/SPAN&gt;'))&amp;lt;=$(=Date(Max([Date]),&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;M/D/YYYY&lt;/SPAN&gt;))'}, [Entity Category] = {'Sales'}&amp;gt;} [Amount])&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jul 2017 13:58:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Use-Date-range-in-SET-Analysis-yet-ignore-a-Date-selection/m-p/1296608#M27419</guid>
      <dc:creator>aarkay29</dc:creator>
      <dc:date>2017-07-12T13:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: Use Date range in SET Analysis, yet ignore a Date selection</title>
      <link>https://community.qlik.com/t5/App-Development/Use-Date-range-in-SET-Analysis-yet-ignore-a-Date-selection/m-p/1296609#M27420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had tried that too with no luck.&amp;nbsp; Thanks Aar!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jul 2017 14:05:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Use-Date-range-in-SET-Analysis-yet-ignore-a-Date-selection/m-p/1296609#M27420</guid>
      <dc:creator>mikelutomski</dc:creator>
      <dc:date>2017-07-12T14:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: Use Date range in SET Analysis, yet ignore a Date selection</title>
      <link>https://community.qlik.com/t5/App-Development/Use-Date-range-in-SET-Analysis-yet-ignore-a-Date-selection/m-p/1296610#M27421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({$&amp;lt;[Date] ={'&amp;gt;=$(=AddMonths(Max(&lt;SPAN style="color: #ff0000;"&gt;{&amp;lt;[Date]&amp;gt;}&lt;/SPAN&gt;[Date]),-3))&amp;lt;=$(=Max(&lt;STRONG style="color: #ff0000; font-size: 13.3333px;"&gt;{&amp;lt;[Date]&amp;gt;}&lt;/STRONG&gt;[Date]))'}, [Entity Category] = {'Sales'}&amp;gt;} [Amount])&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jul 2017 14:08:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Use-Date-range-in-SET-Analysis-yet-ignore-a-Date-selection/m-p/1296610#M27421</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-07-12T14:08:00Z</dc:date>
    </item>
    <item>
      <title>Re: Use Date range in SET Analysis, yet ignore a Date selection</title>
      <link>https://community.qlik.com/t5/App-Development/Use-Date-range-in-SET-Analysis-yet-ignore-a-Date-selection/m-p/1296611#M27422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That did it!&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've never seen that before.&amp;nbsp; At first I thought wanted me to hard code the date in there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you Sunny!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jul 2017 14:14:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Use-Date-range-in-SET-Analysis-yet-ignore-a-Date-selection/m-p/1296611#M27422</guid>
      <dc:creator>mikelutomski</dc:creator>
      <dc:date>2017-07-12T14:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: Use Date range in SET Analysis, yet ignore a Date selection</title>
      <link>https://community.qlik.com/t5/App-Development/Use-Date-range-in-SET-Analysis-yet-ignore-a-Date-selection/m-p/1296612#M27423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am just ignoring selection in Date field within your inner aggregation... this might look more familiar&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({$&amp;lt;[Date] ={'&amp;gt;=$(=AddMonths(Max({&amp;lt;[Date] &lt;SPAN style="color: #ff0000;"&gt;=&lt;/SPAN&gt; &amp;gt;}[Date]),-3))&amp;lt;=$(=Max({&amp;lt;[Date] &lt;SPAN style="color: #ff0000;"&gt;=&lt;/SPAN&gt; &amp;gt;}[Date]))'}, [Entity Category] = {'Sales'}&amp;gt;} [Amount])&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Jul 2017 22:41:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Use-Date-range-in-SET-Analysis-yet-ignore-a-Date-selection/m-p/1296612#M27423</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-07-12T22:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: Use Date range in SET Analysis, yet ignore a Date selection</title>
      <link>https://community.qlik.com/t5/App-Development/Use-Date-range-in-SET-Analysis-yet-ignore-a-Date-selection/m-p/1296613#M27424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So you're doing SET Analysis inside SET Analysis.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I tried that before with something else and couldn't get it to work, and then just forgot about trying it again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jul 2017 13:34:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Use-Date-range-in-SET-Analysis-yet-ignore-a-Date-selection/m-p/1296613#M27424</guid>
      <dc:creator>mikelutomski</dc:creator>
      <dc:date>2017-07-13T13:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: Use Date range in SET Analysis, yet ignore a Date selection</title>
      <link>https://community.qlik.com/t5/App-Development/Use-Date-range-in-SET-Analysis-yet-ignore-a-Date-selection/m-p/1296614#M27425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;So you're doing SET Analysis inside SET Analysis. &lt;/SPAN&gt;&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Yup!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jul 2017 13:35:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Use-Date-range-in-SET-Analysis-yet-ignore-a-Date-selection/m-p/1296614#M27425</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-07-13T13:35:50Z</dc:date>
    </item>
  </channel>
</rss>

