<?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 Set Analysis with Conditional Selections in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-Conditional-Selections/m-p/210938#M65352</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to use following expression&lt;/P&gt;&lt;P&gt;SUM({1&amp;lt;InvoiceDate = {"&amp;gt;=$(=DATE(TODAY()-366))&amp;lt;=$(=DATE(TODAY()))"}&amp;gt;} [LineSalesAmount])&lt;/P&gt;&lt;P&gt;This will sum all invoices in last 366 days.&lt;/P&gt;&lt;P&gt;The Number Format of the field InvoiceDate must be Date.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Apr 2010 14:37:06 GMT</pubDate>
    <dc:creator>d_pranskus</dc:creator>
    <dc:date>2010-04-12T14:37:06Z</dc:date>
    <item>
      <title>Set Analysis with Conditional Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-Conditional-Selections/m-p/210937#M65351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H3&gt;I am trying to create an expression as follows :&lt;/H3&gt;&lt;H3&gt;sum({1&amp;lt;InvoiceDate = {"=($(vTodaysDate) - InvoiceDate)&amp;lt;366"}&amp;gt;} [LineSalesAmount]))&lt;/H3&gt;&lt;P&gt;1. The expression should be independent of any selections. So I added sum({1 ....&lt;/P&gt;&lt;P&gt;2. But the issue is I have InvoiceDate inside the condition . So this condition is afffected by the selection&lt;/P&gt;&lt;P&gt;The question is how can I make the condition also independent of the selection&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Apr 2010 13:15:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-Conditional-Selections/m-p/210937#M65351</guid>
      <dc:creator />
      <dc:date>2010-04-12T13:15:54Z</dc:date>
    </item>
    <item>
      <title>Set Analysis with Conditional Selections</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-Conditional-Selections/m-p/210938#M65352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to use following expression&lt;/P&gt;&lt;P&gt;SUM({1&amp;lt;InvoiceDate = {"&amp;gt;=$(=DATE(TODAY()-366))&amp;lt;=$(=DATE(TODAY()))"}&amp;gt;} [LineSalesAmount])&lt;/P&gt;&lt;P&gt;This will sum all invoices in last 366 days.&lt;/P&gt;&lt;P&gt;The Number Format of the field InvoiceDate must be Date.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Apr 2010 14:37:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-Conditional-Selections/m-p/210938#M65352</guid>
      <dc:creator>d_pranskus</dc:creator>
      <dc:date>2010-04-12T14:37:06Z</dc:date>
    </item>
  </channel>
</rss>

