<?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 question in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Set-Analysis-question/m-p/1709153#M54437</link>
    <description>&lt;P&gt;Hi experts,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm looking to get sales from Day 1 of the month we were in 3 months ago to date.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Solution 1. accomplishes this. But I see other developers using a solution 2. approach. Which one would you use and what is the difference?&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Sum({&amp;lt;[Date]={"&amp;gt;=$(=date(monthstart(addmonths(today(),-3))))"}&amp;gt;}[OrderLines.Net Order Amount])&lt;/P&gt;&lt;P&gt;2. sum({&amp;lt;OrderID = {"=([Date]&amp;gt;= $(=date(monthstart(addmonths(today(),-3))))"}&amp;gt;}OrderLines.Net Order Amount)&lt;/P&gt;</description>
    <pubDate>Mon, 08 Jun 2020 19:20:18 GMT</pubDate>
    <dc:creator>ManuelLindekeit</dc:creator>
    <dc:date>2020-06-08T19:20:18Z</dc:date>
    <item>
      <title>Set Analysis question</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-question/m-p/1709153#M54437</link>
      <description>&lt;P&gt;Hi experts,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm looking to get sales from Day 1 of the month we were in 3 months ago to date.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Solution 1. accomplishes this. But I see other developers using a solution 2. approach. Which one would you use and what is the difference?&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Sum({&amp;lt;[Date]={"&amp;gt;=$(=date(monthstart(addmonths(today(),-3))))"}&amp;gt;}[OrderLines.Net Order Amount])&lt;/P&gt;&lt;P&gt;2. sum({&amp;lt;OrderID = {"=([Date]&amp;gt;= $(=date(monthstart(addmonths(today(),-3))))"}&amp;gt;}OrderLines.Net Order Amount)&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jun 2020 19:20:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-question/m-p/1709153#M54437</guid>
      <dc:creator>ManuelLindekeit</dc:creator>
      <dc:date>2020-06-08T19:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis question</title>
      <link>https://community.qlik.com/t5/App-Development/Set-Analysis-question/m-p/1709166#M54439</link>
      <description>&lt;P&gt;I would use option 1 over option 2 where you are checking at the chart level to keep only those rows where Date is greater than the 3 months back. The second option goes by OrderID and check if the condition is met or not. There are times when you cannot use Option 1, is when I would use Option 2.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jun 2020 19:39:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Set-Analysis-question/m-p/1709166#M54439</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2020-06-08T19:39:42Z</dc:date>
    </item>
  </channel>
</rss>

