<?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: How to do this with set-analysis? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-do-this-with-set-analysis/m-p/456854#M170582</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I read the posts from Henric, they were just perfect!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; As I had discovered the intervalmatch is not the tool for this job, it is better used when having events that shall be grouped into intervals.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;The reference-dates post was spot on, ending up with the very same data model as my outer join approach posted earlier I will change to the while-solution since that will work better with large data-sets.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thank you swuehl!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;/Andy &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Jun 2013 20:09:09 GMT</pubDate>
    <dc:creator>andy</dc:creator>
    <dc:date>2013-06-10T20:09:09Z</dc:date>
    <item>
      <title>How to do this with set-analysis?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-do-this-with-set-analysis/m-p/456850#M170578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm struggling to get a set-analys expression right. &lt;/P&gt;&lt;P&gt;I have a date-island with DateDimPeriod as a column and the fact-table have lines valid between workstart and workend.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This if-statement does the job&lt;/P&gt;&lt;P&gt;=sum(if(category='A' and DateDimPeriod&amp;gt;=monthstart(workstart) and DateDimPeriod&amp;lt;=MonthEnd(workend),ValuePerPeriod))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but it takes a lot of resources and sometimes the computer hangs. &lt;/P&gt;&lt;P&gt;I have also tried with intervalmatch but with the real data that operation takes forever to complete due to syn-keys. I tried to join the syn-key away but failed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next I have tried with set-analysis but cannot get the syntax correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How shall a set-analysis expression look like to present the sum per month of the valid data?&lt;/P&gt;&lt;P&gt;/Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jun 2013 13:06:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-do-this-with-set-analysis/m-p/456850#M170578</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2013-06-10T13:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to do this with set-analysis?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-do-this-with-set-analysis/m-p/456851#M170579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;sum({&amp;lt;DateDimPeriod = {"&amp;gt;=$(=MonthStart(workstart))&amp;lt;=$(=MonthEnd(workend))"},category={'A'}&amp;gt;}ValuePerPeriod)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jun 2013 13:12:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-do-this-with-set-analysis/m-p/456851#M170579</guid>
      <dc:creator />
      <dc:date>2013-06-10T13:12:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to do this with set-analysis?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-do-this-with-set-analysis/m-p/456852#M170580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A set expression is evaluated once per chart not per dimension line, please check also:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="loading active_link" href="https://community.qlik.com/docs/DOC-1335" title="http://community.qlik.com/docs/DOC-1335"&gt;http://community.qlik.com/docs/DOC-1335&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you read the latest design blog posts by Henric regarding matching dates to intervals?&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="loading active_link" href="https://community.qlik.com/blogs/qlikviewdesignblog/2013/02/12/reference-dates" title="http://community.qlik.com/blogs/qlikviewdesignblog/2013/02/12/reference-dates"&gt;http://community.qlik.com/blogs/qlikviewdesignblog/2013/02/12/reference-dates&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="loading active_link" href="https://community.qlik.com/blogs/qlikviewdesignblog/2013/04/04/intervalmatch" title="http://community.qlik.com/blogs/qlikviewdesignblog/2013/04/04/intervalmatch"&gt;http://community.qlik.com/blogs/qlikviewdesignblog/2013/04/04/intervalmatch&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jun 2013 13:15:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-do-this-with-set-analysis/m-p/456852#M170580</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-06-10T13:15:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to do this with set-analysis?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-do-this-with-set-analysis/m-p/456853#M170581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah thanks for telling me that the set-analysis is evaluated once per chart. Second time I fall into that pitfall!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I shall read those articles tonight, interesting for sure.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Until then I found a workaround I used before &lt;SPAN style="font-size: 10pt;"&gt;to just blow the data with an outer join and then selecting the valid rows from that large resident.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;/Andy&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jun 2013 14:46:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-do-this-with-set-analysis/m-p/456853#M170581</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2013-06-10T14:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to do this with set-analysis?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-do-this-with-set-analysis/m-p/456854#M170582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I read the posts from Henric, they were just perfect!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; As I had discovered the intervalmatch is not the tool for this job, it is better used when having events that shall be grouped into intervals.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;The reference-dates post was spot on, ending up with the very same data model as my outer join approach posted earlier I will change to the while-solution since that will work better with large data-sets.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thank you swuehl!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;/Andy &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jun 2013 20:09:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-do-this-with-set-analysis/m-p/456854#M170582</guid>
      <dc:creator>andy</dc:creator>
      <dc:date>2013-06-10T20:09:09Z</dc:date>
    </item>
  </channel>
</rss>

