<?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 Comparing dates with set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Comparing-dates-with-set-analysis/m-p/146033#M590244</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Markus,&lt;/P&gt;&lt;P&gt;see the next example. It will hopfully show a direction to develop your script.&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Jun 2009 16:34:52 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-06-05T16:34:52Z</dc:date>
    <item>
      <title>Comparing dates with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-dates-with-set-analysis/m-p/146030#M590241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;My problem is the different time dimensions which have to "work together" in the chart. There is also a third time dimension, which isn't related into the data structure.That could also be a variable.&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;Sum (if (A_MonthID = MonthID, A_Sum))&lt;BR /&gt;/&lt;BR /&gt;Sum(if (B_MonthID = MonthID, B_Sum))&lt;/P&gt;&lt;P&gt;This example works just fine with normal If-clause. The solution is - however - very heavy when there are 10 millions of rows and some other if-conditions in the both clauses. (And in the future the chart should actually show bars on every day on the selected month.)&lt;/P&gt;&lt;P&gt;Because of that I would like to use the SET-analysis. I don't know if it's possible. It would work easily if you have just one time dimension but this case is different.&lt;/P&gt;&lt;P&gt;Any ideas or code-examples?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Marcus&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2009 14:41:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-dates-with-set-analysis/m-p/146030#M590241</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-06-05T14:41:30Z</dc:date>
    </item>
    <item>
      <title>Comparing dates with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-dates-with-set-analysis/m-p/146031#M590242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Markus,&lt;/P&gt;&lt;P&gt;please see the attached file if this solves your problem.&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2009 15:03:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-dates-with-set-analysis/m-p/146031#M590242</guid>
      <dc:creator />
      <dc:date>2009-06-05T15:03:23Z</dc:date>
    </item>
    <item>
      <title>Comparing dates with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-dates-with-set-analysis/m-p/146032#M590243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok. This solution works fine in this case. The table structure in the real case I'm working with is much more complicated and it's not possible use the date field as a Key field.&lt;/P&gt;&lt;P&gt;Thanks anyway . &lt;IMG alt="Smile" src="http://community.qlik.com/emoticons/emotion-1.gif" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2009 16:06:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-dates-with-set-analysis/m-p/146032#M590243</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-06-05T16:06:05Z</dc:date>
    </item>
    <item>
      <title>Comparing dates with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-dates-with-set-analysis/m-p/146033#M590244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Markus,&lt;/P&gt;&lt;P&gt;see the next example. It will hopfully show a direction to develop your script.&lt;/P&gt;&lt;P&gt;Rainer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2009 16:34:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-dates-with-set-analysis/m-p/146033#M590244</guid>
      <dc:creator />
      <dc:date>2009-06-05T16:34:52Z</dc:date>
    </item>
    <item>
      <title>Comparing dates with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-dates-with-set-analysis/m-p/146034#M590245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rainer&lt;/P&gt;&lt;P&gt;This structure looks very good and might give me some answers. I've bumped into many problems with time dimensions and I really need better solutions in the future. This seems to work excellent.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;-Markus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2009 16:48:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-dates-with-set-analysis/m-p/146034#M590245</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-06-05T16:48:15Z</dc:date>
    </item>
    <item>
      <title>Comparing dates with set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Comparing-dates-with-set-analysis/m-p/146035#M590246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Markus,&lt;/P&gt;&lt;P&gt;You might also want to take a look at Oleg's wiki article about using flags; the example he mentions (some kind of 'same month last year' calculation) looks a lot like your case.&lt;/P&gt;&lt;P&gt;The URL: &lt;A href="http://community.qlik.com/wikis/qlikview-wiki/using-flags-to-avoid-if-formulas.aspx" title="Using Flags to avoid IF formulas"&gt;http://community.qlik.com/wikis/qlikview-wiki/using-flags-to-avoid-if-formulas.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;With regards,&lt;/P&gt;&lt;P&gt;Martijn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2009 16:49:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Comparing-dates-with-set-analysis/m-p/146035#M590246</guid>
      <dc:creator />
      <dc:date>2009-06-05T16:49:56Z</dc:date>
    </item>
  </channel>
</rss>

