<?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: Modify SET expression from YTD and Month Close. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Modify-SET-expression-from-YTD-and-Month-Close/m-p/1086599#M640112</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just replace the '&amp;lt;=' by '&amp;lt;' like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;year = {$(=Max(year)-0)}, month = {"&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;&amp;lt;&lt;/STRONG&gt;&lt;/SPAN&gt;$(=Max({&amp;lt;year={$(=Max(year))}, sales = {'*'}&amp;gt;} month))"}&amp;gt;}sales/$(Columndim89)/1000)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Mar 2016 08:30:05 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2016-03-29T08:30:05Z</dc:date>
    <item>
      <title>Modify SET expression from YTD and Month Close.</title>
      <link>https://community.qlik.com/t5/QlikView/Modify-SET-expression-from-YTD-and-Month-Close/m-p/1086596#M640109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have below expression , it will return YTD sales :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;year = {$(=Max(year)-1)}, month = {"&amp;lt;=$(=Max({&amp;lt;year={$(=Max(year))}, sales = {'*'}&amp;gt;} month))"}&amp;gt;}sales/$(Columndim89)/1000)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i need to modify the above expression to display month closed. Meaning only display Jan and Feb sales amount exclude march sales amount. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the result should only shown 18 + 89&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Mar 2016 08:24:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Modify-SET-expression-from-YTD-and-Month-Close/m-p/1086596#M640109</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2016-03-29T08:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: Modify SET expression from YTD and Month Close.</title>
      <link>https://community.qlik.com/t5/QlikView/Modify-SET-expression-from-YTD-and-Month-Close/m-p/1086597#M640110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe just &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;month = {"&lt;STRONG&gt;&amp;lt;&lt;/STRONG&gt;$(=Max({&amp;lt;year={$(=Max(year))}, sales = {'*'}&amp;gt;} month))"}&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Mar 2016 08:29:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Modify-SET-expression-from-YTD-and-Month-Close/m-p/1086597#M640110</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-03-29T08:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: Modify SET expression from YTD and Month Close.</title>
      <link>https://community.qlik.com/t5/QlikView/Modify-SET-expression-from-YTD-and-Month-Close/m-p/1086598#M640111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You mean 18 (Jan) + 122 (Feb)?&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/119632_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do you determine if something is a closed month or not? Is there a flag or is it based on today's date and month?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;changing &amp;lt;= to &amp;lt; might work, but this will impact selection in other years. For example, if you select 2015 then you might only see 11 months, instead of 12. Is that what you want to see when you select 2015?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Mar 2016 08:29:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Modify-SET-expression-from-YTD-and-Month-Close/m-p/1086598#M640111</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-29T08:29:54Z</dc:date>
    </item>
    <item>
      <title>Re: Modify SET expression from YTD and Month Close.</title>
      <link>https://community.qlik.com/t5/QlikView/Modify-SET-expression-from-YTD-and-Month-Close/m-p/1086599#M640112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just replace the '&amp;lt;=' by '&amp;lt;' like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;year = {$(=Max(year)-0)}, month = {"&lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;&amp;lt;&lt;/STRONG&gt;&lt;/SPAN&gt;$(=Max({&amp;lt;year={$(=Max(year))}, sales = {'*'}&amp;gt;} month))"}&amp;gt;}sales/$(Columndim89)/1000)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Mar 2016 08:30:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Modify-SET-expression-from-YTD-and-Month-Close/m-p/1086599#M640112</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2016-03-29T08:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: Modify SET expression from YTD and Month Close.</title>
      <link>https://community.qlik.com/t5/QlikView/Modify-SET-expression-from-YTD-and-Month-Close/m-p/1086600#M640113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just check and confirm that it will impact when i select 2015. it will display only jan till nov sales.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it is okay. as i only use this expression in QS KPI sheet , where my GL table alway update once a month , so i need to use month closed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Mar 2016 08:39:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Modify-SET-expression-from-YTD-and-Month-Close/m-p/1086600#M640113</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2016-03-29T08:39:49Z</dc:date>
    </item>
    <item>
      <title>Re: Modify SET expression from YTD and Month Close.</title>
      <link>https://community.qlik.com/t5/QlikView/Modify-SET-expression-from-YTD-and-Month-Close/m-p/1086601#M640114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sounds good. If you are able to get what you want, then it is all good &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Mar 2016 08:42:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Modify-SET-expression-from-YTD-and-Month-Close/m-p/1086601#M640114</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-03-29T08:42:35Z</dc:date>
    </item>
  </channel>
</rss>

