<?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/1342894#M830176</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share a sample to look at?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Jun 2017 12:22:18 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-06-22T12:22:18Z</dc:date>
    <item>
      <title>Question</title>
      <link>https://community.qlik.com/t5/QlikView/Question/m-p/1342893#M830175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This may have a solution or may not...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have selected 2017 and weeks 1-46&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my current week code is (This code is showing the &lt;SPAN style="text-decoration: underline;"&gt;correct amount&lt;/SPAN&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&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&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]))&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; -= {XYZ}, CREDIT_CODE_FLAG = {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;My Previous Week code is (This code is &lt;SPAN style="text-decoration: underline;"&gt;not working&lt;/SPAN&gt;. Its showing Current Weeks data) :&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-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)-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;[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]))&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; -= {XYZ}, CREDIT_CODE_FLAG = {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;Is there any way to make this code work? So it shows previous weeks data. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;I tried selecting 2017 and 2016 but the number for current week is a different amount. Its as if its taking 2017 current week amount + 2016 week 52 amount. Havent verified this amount. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;That's what my IT dept told me....&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-size: 12pt; font-family: Calibri;"&gt;if you don’t select a year, month no. or week no. and use max(year), max(week) you will get:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="color: #1f497d; font-style: normal; font-weight: normal;"&gt;Year = 2017&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="mso-list: l0 level1 lfo1; color: #1f497d; font-size: 11pt; font-style: normal; margin-bottom: 0pt; font-family: 'Calibri','sans-serif'; font-weight: normal; margin-top: 0in;"&gt;Month No = 12&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="mso-list: l0 level1 lfo1; color: #1f497d; font-size: 11pt; font-style: normal; margin-bottom: 0pt; font-family: 'Calibri','sans-serif'; font-weight: normal; margin-top: 0in;"&gt;Week = 52&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp;&amp;nbsp; &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;/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/1342893#M830175</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/1342894#M830176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share a sample to look at?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2017 12:22:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question/m-p/1342894#M830176</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-06-22T12:22:18Z</dc:date>
    </item>
    <item>
      <title>Re: Question</title>
      <link>https://community.qlik.com/t5/QlikView/Question/m-p/1342895#M830178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joe&lt;/P&gt;&lt;P&gt;Please can you attached the example to be easier to help you?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fernando K.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2017 12:27:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question/m-p/1342895#M830178</guid>
      <dc:creator>fkeuroglian</dc:creator>
      <dc:date>2017-06-22T12:27:26Z</dc:date>
    </item>
    <item>
      <title>Re: Question</title>
      <link>https://community.qlik.com/t5/QlikView/Question/m-p/1342896#M830180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am just a front end user...I don't know what kind of example I should give other then sample data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The data will be 2016 2017 sales. but selecting 2017 and weeks 1-46 in input box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a typo in my question&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Is there any way to make this code work? So it shows previous &lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;years&lt;/STRONG&gt;&lt;/SPAN&gt; data. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2017 17:13:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question/m-p/1342896#M830180</guid>
      <dc:creator>jadams123</dc:creator>
      <dc:date>2017-06-22T17:13:18Z</dc:date>
    </item>
    <item>
      <title>Re: Question</title>
      <link>https://community.qlik.com/t5/QlikView/Question/m-p/1342897#M830182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;I solved it..by trial and error. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;I was using this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&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&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;but if I use this it works...&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="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&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;don't know why...but it works...&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2017 19:34:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question/m-p/1342897#M830182</guid>
      <dc:creator>jadams123</dc:creator>
      <dc:date>2017-06-22T19:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: Question</title>
      <link>https://community.qlik.com/t5/QlikView/Question/m-p/1342898#M830183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Field names are case sensitive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that the issue you were experiencing?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or was it the fact that you were using the "#"?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2017 19:58:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question/m-p/1342898#M830183</guid>
      <dc:creator>oscar_ortiz</dc:creator>
      <dc:date>2017-06-22T19:58:44Z</dc:date>
    </item>
    <item>
      <title>Re: Question</title>
      <link>https://community.qlik.com/t5/QlikView/Question/m-p/1342899#M830184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it was because of year...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jun 2017 18:37:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Question/m-p/1342899#M830184</guid>
      <dc:creator>jadams123</dc:creator>
      <dc:date>2017-06-23T18:37:31Z</dc:date>
    </item>
  </channel>
</rss>

