<?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 and 'QlikView Components' in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-and-QlikView-Components/m-p/623906#M229612</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is some explanation of the SetXXXModifier in the QVC release notes in the section named "Changes for V6". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doc for available variables is in the QvcDocumentation.qvw, Detail sheet, select Qvc.Calendar and look in the Variables section. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The generated variables and their values (what Gysbert was copying and modifying) can be seen in the Qv variables overview. (Settings, Variables Overview)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 09 Feb 2014 16:00:34 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2014-02-09T16:00:34Z</dc:date>
    <item>
      <title>Set analysis and 'QlikView Components'</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-and-QlikView-Components/m-p/623903#M229609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've checked great 'QlikView Components' project. I can see, that it has a set expressions for previous month, previous year and previous quarter. But I can't find anything for:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; - previous week&lt;/P&gt;&lt;P&gt; - rolling X days / weeks / months&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, I can't understand, what is the vSet&lt;EM&gt;XXX&lt;/EM&gt;Modifier for? What do they modify&amp;nbsp; and what for?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Feb 2014 09:05:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-and-QlikView-Components/m-p/623903#M229609</guid>
      <dc:creator />
      <dc:date>2014-02-08T09:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis and 'QlikView Components'</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-and-QlikView-Components/m-p/623904#M229610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're correct that there are no standard set analysis expressions for the previous week. But it's very easy to add:&lt;/P&gt;&lt;P&gt;Take the set modifier for previous month and replace&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #000080;"&gt;[_MonthSerial] = {$(=Max({1&amp;lt;_Qvc.DummyField=$(_Qvc.Calendar.v.SelectedFieldList_)&amp;gt;} [_MonthSerial]) - 1)}&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;with&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #000080;"&gt;[_WeekSerial] = {$(=Max({1&amp;lt;_Qvc.DummyField=$(_Qvc.Calendar.v.SelectedFieldList_)&amp;gt;} [_WeekSerial]) - 1)}&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #000080;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;There is a rolling12 months set analysis expression. Again the rolling12 modifier can be easily adapted to any number of months. Just change the 11 to the number you need. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For days and weeks you can again take the &lt;EM&gt;[_MonthSerial]= {...}&lt;/EM&gt; part and replace _MonthSerial with _DateSerial respectively _WeekSerial to adapt the expression for days or weeks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The vSetXXXModifier is the part that overrules the user selections (i.e. modifies the set) to create the set that the calculation in the expression is applied to.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Feb 2014 19:32:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-and-QlikView-Components/m-p/623904#M229610</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-02-08T19:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis and 'QlikView Components'</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-and-QlikView-Components/m-p/623905#M229611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot. But where did you take that source code? The code from latest QvcComponents look like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;// Previous Month To Date&lt;/P&gt;
&lt;P&gt;Let $(_fieldPrefix)vSetPreviousMonthMTDModifier =&lt;/P&gt;
&lt;P&gt;MapSubString('_qvctemp.Calendar.EscapeCharsMap',&lt;/P&gt;
&lt;P&gt;'$(_vClearFieldList)&lt;/P&gt;
&lt;P&gt;$(_f_MonthSerial) = {@(=$(_qvctemp.vMaxModifier) $(_f_MonthSerial)) - 1)},&lt;/P&gt;
&lt;P&gt;$(_fDay) = {"&amp;lt;=@(=Day($(_qvctemp.vMaxModifier) $(_f_DateSerial))))"}'&lt;/P&gt;
&lt;P&gt;);&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;Let $(_fieldPrefix)vSetPreviousMonthMTD =&lt;/P&gt;
&lt;P&gt;MapSubString('_qvctemp.Calendar.EscapeCharsMap',&lt;/P&gt;
&lt;P&gt;'{$&amp;lt;&lt;/P&gt;
&lt;P&gt;@($(_fieldPrefix)vSetPreviousMonthMTDModifier)&lt;/P&gt;
&lt;P&gt;&amp;gt;}'&lt;/P&gt;
&lt;P&gt;);&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Feb 2014 15:45:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-and-QlikView-Components/m-p/623905#M229611</guid>
      <dc:creator />
      <dc:date>2014-02-09T15:45:48Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis and 'QlikView Components'</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-and-QlikView-Components/m-p/623906#M229612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is some explanation of the SetXXXModifier in the QVC release notes in the section named "Changes for V6". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doc for available variables is in the QvcDocumentation.qvw, Detail sheet, select Qvc.Calendar and look in the Variables section. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The generated variables and their values (what Gysbert was copying and modifying) can be seen in the Qv variables overview. (Settings, Variables Overview)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Feb 2014 16:00:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-and-QlikView-Components/m-p/623906#M229612</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2014-02-09T16:00:34Z</dc:date>
    </item>
  </channel>
</rss>

