<?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: Set Analysis possible for date by Dimension? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-possible-for-date-by-Dimension/m-p/929667#M321498</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The set is calculated at the chart level, not at the Campaign level like you need. You can use an if-statement instead. Count( If( &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Interaction Date] &amp;gt;$(vMinResponseDate) and &lt;SPAN style="font-size: 13.3333330154419px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Interaction Date]&amp;nbsp; &lt;/SPAN&gt;&amp;lt;= $(vMaxResponseDate), ADDR_ID)).&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Sep 2015 05:45:48 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2015-09-11T05:45:48Z</dc:date>
    <item>
      <title>Set Analysis possible for date by Dimension?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-possible-for-date-by-Dimension/m-p/929666#M321497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible to use set analysis with a date range that varies by dimension?&amp;nbsp; I'm doing a report on campaign response and the user wants to be able to adjust the response window after the campaign start date.&amp;nbsp; I have input fields that write to variables, which are embedded in other variables to add the input field values to the campaign start date (vMinResponseDate = [Campaign Start Date]+vMinResponseWindow).&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I put that calculated date variable in the chart to verify it's returning the correct date, but when i try to use that calculated date variable in the set analysis of the expression to count the responses:&lt;/P&gt;&lt;P&gt;Count({&amp;lt; [Interaction Date] = {'&amp;gt;$(date(vMinResponseDate))&amp;lt;= $(date(vMaxResponseDate))'}&amp;gt;} ADDR_ID)&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; it's not returning the right result. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;The way i have it configured in the attached doc, it's currently returning a value that's roughly double the accurate count.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there another approach i should use, or a change i can make to the expression that would make it work right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Sep 2015 21:01:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-possible-for-date-by-Dimension/m-p/929666#M321497</guid>
      <dc:creator />
      <dc:date>2015-09-10T21:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis possible for date by Dimension?</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-possible-for-date-by-Dimension/m-p/929667#M321498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The set is calculated at the chart level, not at the Campaign level like you need. You can use an if-statement instead. Count( If( &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Interaction Date] &amp;gt;$(vMinResponseDate) and &lt;SPAN style="font-size: 13.3333330154419px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Interaction Date]&amp;nbsp; &lt;/SPAN&gt;&amp;lt;= $(vMaxResponseDate), ADDR_ID)).&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Sep 2015 05:45:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-possible-for-date-by-Dimension/m-p/929667#M321498</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-09-11T05:45:48Z</dc:date>
    </item>
  </channel>
</rss>

