<?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: Question in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Question/m-p/1306412#M833837</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ya you are right it was giving me all possible years...I have 2017 selected (even though I know the reason for an object is not to have any/limited selections)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I&lt;SPAN style="text-decoration: underline;"&gt; clear all my selections&lt;/SPAN&gt; this formulas doesn't give me correct answer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if today is week 2017 week 44 I wanted sales for 2017 week 43 --&amp;gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Week No]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;= {&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;$(#=Max([Week No])-1)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;}, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-family: inherit; font-size: 8pt; font-style: inherit; font-weight: inherit;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: inherit; font-size: 8pt; font-style: inherit; font-weight: inherit;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit; font-size: 8pt; font-style: inherit; font-weight: inherit;"&gt;( {$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-family: inherit; font-size: 8pt; font-style: inherit; font-weight: inherit;"&gt;YEAR&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit; font-size: 8pt; font-style: inherit; font-weight: inherit;"&gt; = {&lt;/SPAN&gt;&lt;STRONG style="font-family: inherit; font-style: inherit;"&gt;&lt;EM style="color: #808080; font-family: inherit; font-size: 8pt; font-weight: inherit;"&gt;$(#=Max(YEAR))&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-family: inherit; font-size: 8pt; font-style: inherit; font-weight: inherit;"&gt;}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-family: inherit; font-size: 8pt; font-style: inherit; font-weight: inherit;"&gt;[Week No]&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit; font-size: 8pt; font-style: inherit; font-weight: inherit;"&gt;= {"&amp;lt;=&lt;/SPAN&gt;&lt;STRONG style="font-family: inherit; font-style: inherit;"&gt;&lt;EM style="color: #808080; font-family: inherit; font-size: 8pt; font-weight: inherit;"&gt;$(#=Max([Week No])-1)"&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-family: inherit; font-size: 8pt; font-style: inherit; font-weight: inherit;"&gt;}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-family: inherit; font-size: 8pt; font-style: inherit; font-weight: inherit;"&gt;CUSTOMER_TYPE&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit; font-size: 8pt; font-style: inherit; font-weight: inherit;"&gt; -= {ITC}, CREDIT_CODE = {YES}&amp;gt;} AMOUNT )&lt;/SPAN&gt;. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;I know max is supposed to do this. but for some reason its not. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 04 Jun 2017 16:26:36 GMT</pubDate>
    <dc:creator>jadams123</dc:creator>
    <dc:date>2017-06-04T16:26:36Z</dc:date>
    <item>
      <title>Question</title>
      <link>https://community.qlik.com/t5/QlikView/Question/m-p/1306404#M833829</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;I want to be able to do this statement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) if max week -1 is between weeks 40 to 44 then P10.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my formula for max(Week -1):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( {$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;YEAR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(#=Max(YEAR))&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Week No]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;= {&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(#=Max([Week No])-1)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CUSTOMER_TYPE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; -= {ITC}, CREDIT_CODE = {YES}&amp;gt;} AMOUNT ) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my formula for max(period):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( {$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;GLYEAR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(#=Max(GLYEAR))&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;GLPERIOD&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;= {&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(#=Max(GLPERIOD))&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CUSTOMER_TYPE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; -= {ITC}, CREDIT_CODE = {YES}&amp;gt;} AMOUNT )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Thanks, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;J&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question/m-p/1306404#M833829</guid>
      <dc:creator>jadams123</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Question</title>
      <link>https://community.qlik.com/t5/QlikView/Question/m-p/1306405#M833830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Basically what I want to do...if some one has an easier method is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what ever (week-1) is grab that period and sum sales for the period. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Jun 2017 19:15:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question/m-p/1306405#M833830</guid>
      <dc:creator>jadams123</dc:creator>
      <dc:date>2017-06-03T19:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: Question</title>
      <link>https://community.qlik.com/t5/QlikView/Question/m-p/1306406#M833831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;oh by the way I want to keep in the formula somehow...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;GLYEAR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;$(#=Max(GLYEAR))&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Jun 2017 19:18:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question/m-p/1306406#M833831</guid>
      <dc:creator>jadams123</dc:creator>
      <dc:date>2017-06-03T19:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: Question</title>
      <link>https://community.qlik.com/t5/QlikView/Question/m-p/1306407#M833832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Try below&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;( {$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;YEAR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; = {&lt;/SPAN&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-size: 8pt; font-family: inherit; color: #808080;"&gt;$(#=Max(YEAR))&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;}, &lt;SPAN style="color: #800000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10.6667px;"&gt;&lt;STRONG style="font-size: 12pt;"&gt;GLPERIOD = P({&amp;lt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;[Week No]&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;= {&lt;/SPAN&gt;&lt;EM style="font-weight: inherit; font-size: 8pt; font-family: inherit; color: #808080;"&gt;$(#=Max([Week No])-1)&lt;/EM&gt;&lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;}&lt;/SPAN&gt;&amp;gt;}GLPERIOD),&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;CUSTOMER_TYPE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; -= {ITC}, CREDIT_CODE = {YES}&amp;gt;} AMOUNT )&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Jun 2017 19:51:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question/m-p/1306407#M833832</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2017-06-03T19:51:05Z</dc:date>
    </item>
    <item>
      <title>Re: Question</title>
      <link>https://community.qlik.com/t5/QlikView/Question/m-p/1306408#M833833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This formula worked perfectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I have a problem with YTD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to do...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum YTD till week-1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Jun 2017 21:05:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question/m-p/1306408#M833833</guid>
      <dc:creator>jadams123</dc:creator>
      <dc:date>2017-06-03T21:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: Question</title>
      <link>https://community.qlik.com/t5/QlikView/Question/m-p/1306409#M833834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit; color: #0000ff;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;( {$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit; color: #800000;"&gt;YEAR&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt; = {&lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-size: 8pt; font-family: inherit; color: #808080;"&gt;$(#=Max(YEAR))&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;}, &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit; color: #800000;"&gt;[Week No]&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;= {"&amp;lt;=&lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-size: 8pt; font-family: inherit; color: #808080;"&gt;$(#=Max([Week No])-1)"&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt;}, &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit; color: #800000;"&gt;CUSTOMER_TYPE&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit;"&gt; -= {ITC}, CREDIT_CODE = {YES}&amp;gt;} AMOUNT )&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Jun 2017 21:17:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question/m-p/1306409#M833834</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2017-06-03T21:17:00Z</dc:date>
    </item>
    <item>
      <title>Re: Question</title>
      <link>https://community.qlik.com/t5/QlikView/Question/m-p/1306410#M833835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;( {$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Week No]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;lt;$(#=Max([Week No]))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;DateType&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {'GL Date'}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CUSTOMER_TYPE&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = {*} - {ITC}, CREDIT_CODE = {YES}&amp;gt;} AMOUNT )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;I am trying this formula...its giving me the correct answer.... but not sure if this is the correct way of doing it. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;I thought I would be using week -1 some where.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Jun 2017 21:31:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question/m-p/1306410#M833835</guid>
      <dc:creator>jadams123</dc:creator>
      <dc:date>2017-06-03T21:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: Question</title>
      <link>https://community.qlik.com/t5/QlikView/Question/m-p/1306411#M833836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you sure this is giving you correct YTD?&lt;/P&gt;&lt;P&gt;You haven't specified Year anywhere so it would give you sum of&amp;nbsp; week number less than example.&amp;nbsp; week 1-35 for all possible years&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Jun 2017 06:15:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question/m-p/1306411#M833836</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2017-06-04T06:15:23Z</dc:date>
    </item>
    <item>
      <title>Re: Question</title>
      <link>https://community.qlik.com/t5/QlikView/Question/m-p/1306412#M833837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ya you are right it was giving me all possible years...I have 2017 selected (even though I know the reason for an object is not to have any/limited selections)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I&lt;SPAN style="text-decoration: underline;"&gt; clear all my selections&lt;/SPAN&gt; this formulas doesn't give me correct answer&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if today is week 2017 week 44 I wanted sales for 2017 week 43 --&amp;gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Week No]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;= {&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 8pt;"&gt;$(#=Max([Week No])-1)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;}, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-family: inherit; font-size: 8pt; font-style: inherit; font-weight: inherit;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: inherit; font-size: 8pt; font-style: inherit; font-weight: inherit;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit; font-size: 8pt; font-style: inherit; font-weight: inherit;"&gt;( {$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-family: inherit; font-size: 8pt; font-style: inherit; font-weight: inherit;"&gt;YEAR&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit; font-size: 8pt; font-style: inherit; font-weight: inherit;"&gt; = {&lt;/SPAN&gt;&lt;STRONG style="font-family: inherit; font-style: inherit;"&gt;&lt;EM style="color: #808080; font-family: inherit; font-size: 8pt; font-weight: inherit;"&gt;$(#=Max(YEAR))&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-family: inherit; font-size: 8pt; font-style: inherit; font-weight: inherit;"&gt;}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-family: inherit; font-size: 8pt; font-style: inherit; font-weight: inherit;"&gt;[Week No]&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit; font-size: 8pt; font-style: inherit; font-weight: inherit;"&gt;= {"&amp;lt;=&lt;/SPAN&gt;&lt;STRONG style="font-family: inherit; font-style: inherit;"&gt;&lt;EM style="color: #808080; font-family: inherit; font-size: 8pt; font-weight: inherit;"&gt;$(#=Max([Week No])-1)"&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-family: inherit; font-size: 8pt; font-style: inherit; font-weight: inherit;"&gt;}, &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-family: inherit; font-size: 8pt; font-style: inherit; font-weight: inherit;"&gt;CUSTOMER_TYPE&lt;/SPAN&gt;&lt;SPAN style="font-family: inherit; font-size: 8pt; font-style: inherit; font-weight: inherit;"&gt; -= {ITC}, CREDIT_CODE = {YES}&amp;gt;} AMOUNT )&lt;/SPAN&gt;. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;I know max is supposed to do this. but for some reason its not. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Jun 2017 16:26:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question/m-p/1306412#M833837</guid>
      <dc:creator>jadams123</dc:creator>
      <dc:date>2017-06-04T16:26:36Z</dc:date>
    </item>
    <item>
      <title>Re: Question</title>
      <link>https://community.qlik.com/t5/QlikView/Question/m-p/1306413#M833838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #f2f2f2; color: #800000;"&gt;[Week No]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;= {&lt;/SPAN&gt;&lt;STRONG style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;EM style="font-weight: inherit; font-size: 8pt; font-family: inherit; color: #808080;"&gt;$(#=Max([Week No])-1)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d; background-color: #f2f2f2;"&gt;},&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&amp;lt; I think it's because the "#' before the equal sign.....that # is not needed anywhere&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Jun 2017 18:27:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question/m-p/1306413#M833838</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2017-06-04T18:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: Question</title>
      <link>https://community.qlik.com/t5/QlikView/Question/m-p/1306414#M833839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My IT dept told me that in order for this code to work I have to select 2017 and weeks 1-XX. And its working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its not the perfect code...but it is working. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2017 12:02:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question/m-p/1306414#M833839</guid>
      <dc:creator>jadams123</dc:creator>
      <dc:date>2017-06-22T12:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: Question</title>
      <link>https://community.qlik.com/t5/QlikView/Question/m-p/1306415#M833840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then try MAx with the TOTAL keyword&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit; background-color: #f2f2f2; color: #0000ff;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit; color: #3d3d3d; background-color: #f2f2f2;"&gt;( {$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit; background-color: #f2f2f2; color: #800000;"&gt;YEAR&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit; color: #3d3d3d; background-color: #f2f2f2;"&gt; = {&lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; font-size: 10.6667px; font-family: inherit; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;EM style="font-weight: inherit; font-size: 8pt; font-family: inherit; color: #808080;"&gt;$(=Max(TOTAL YEAR))&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit; color: #3d3d3d; background-color: #f2f2f2;"&gt;}, &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit; background-color: #f2f2f2; color: #800000;"&gt;[Week No]&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit; color: #3d3d3d; background-color: #f2f2f2;"&gt;= {"&amp;lt;=&lt;/SPAN&gt;&lt;STRONG style="font-style: inherit; font-size: 10.6667px; font-family: inherit; color: #3d3d3d; background-color: #f2f2f2;"&gt;&lt;EM style="font-weight: inherit; font-size: 8pt; font-family: inherit; color: #808080;"&gt;$(=Max(TOTAL [Week No])-1)"&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit; color: #3d3d3d; background-color: #f2f2f2;"&gt;}, &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit; background-color: #f2f2f2; color: #800000;"&gt;CUSTOMER_TYPE&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 8pt; font-family: inherit; color: #3d3d3d; background-color: #f2f2f2;"&gt; -= {ITC}, CREDIT_CODE = {YES}&amp;gt;} AMOUNT )&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 10.6667px; background-color: #f2f2f2;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jun 2017 07:24:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question/m-p/1306415#M833840</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2017-06-27T07:24:17Z</dc:date>
    </item>
  </channel>
</rss>

