<?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: Scripto 101 for doffies pls in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Scripto-101-for-doffies-pls/m-p/896313#M1013075</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think what Gysbert was suggesting was that your question is phrased in a very abstract manner - it's hard to follow what story you're putting together, and your title doesn't explain what you're after at all - try to include a reference to your actual question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your current week is 17 though, you can get your previous week by using Max(Week)-1 - in order to use that within a ytd setting, you'd want to use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Week={'&amp;lt;=$(=Max(Week)-1)'}, Month&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As an example. That would sum your sales for all previous weeks up to your max week, but would still be limited by other selections (i.e. year) but is ignoring your month selection to ensure it's ytd and a month selection wouldn't alter it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for your last part "ie 16 x 2000 = 32000 vs 25000 = 78%" - no idea what you mean here, sorry!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Apr 2015 14:08:20 GMT</pubDate>
    <dc:creator>morganaaron</dc:creator>
    <dc:date>2015-04-24T14:08:20Z</dc:date>
    <item>
      <title>Scripto 101 for doffies pls</title>
      <link>https://community.qlik.com/t5/QlikView/Scripto-101-for-doffies-pls/m-p/896310#M1013072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cal Week 17&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Require Week 16 (ie one week back)(effectively ignoring current week data)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have static data off spread sheet namely weekly usage&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;expression = ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my world = 16 x weekly usage&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem is = I need ytd sales (actual) up to week 16&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hence I can calculate % penetration into my customer base&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ie 16 x 2000 = 32000 vs 25000 = 78%&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;happy hunting... any ideas...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2015 14:35:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scripto-101-for-doffies-pls/m-p/896310#M1013072</guid>
      <dc:creator />
      <dc:date>2015-04-23T14:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: Scripto 101 for doffies pls</title>
      <link>https://community.qlik.com/t5/QlikView/Scripto-101-for-doffies-pls/m-p/896311#M1013073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Please read these two documents:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;A _jive_internal="true" data-containerid="2049" data-containertype="14" data-objectid="2380" data-objecttype="102" href="https://community.qlik.com/docs/DOC-2380" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;"&gt;QlikCommunity Tip: How to get answers to your post?&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A _jive_internal="true" data-containerid="2049" data-containertype="14" data-objectid="1290" data-objecttype="102" href="https://community.qlik.com/docs/DOC-1290" style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #3778c7;"&gt;Preparing examples for Upload - Reduction and Data Scrambling&lt;/A&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2015 16:40:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scripto-101-for-doffies-pls/m-p/896311#M1013073</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-04-23T16:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: Scripto 101 for doffies pls</title>
      <link>https://community.qlik.com/t5/QlikView/Scripto-101-for-doffies-pls/m-p/896312#M1013074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks Gysbert.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This doesnt really answer my question as its a string of text that i cant get right.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the example i have given doesnt require any uploads.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks again. im sure i will come right soon.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2015 14:02:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scripto-101-for-doffies-pls/m-p/896312#M1013074</guid>
      <dc:creator />
      <dc:date>2015-04-24T14:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: Scripto 101 for doffies pls</title>
      <link>https://community.qlik.com/t5/QlikView/Scripto-101-for-doffies-pls/m-p/896313#M1013075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think what Gysbert was suggesting was that your question is phrased in a very abstract manner - it's hard to follow what story you're putting together, and your title doesn't explain what you're after at all - try to include a reference to your actual question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your current week is 17 though, you can get your previous week by using Max(Week)-1 - in order to use that within a ytd setting, you'd want to use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Week={'&amp;lt;=$(=Max(Week)-1)'}, Month&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As an example. That would sum your sales for all previous weeks up to your max week, but would still be limited by other selections (i.e. year) but is ignoring your month selection to ensure it's ytd and a month selection wouldn't alter it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for your last part "ie 16 x 2000 = 32000 vs 25000 = 78%" - no idea what you mean here, sorry!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2015 14:08:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scripto-101-for-doffies-pls/m-p/896313#M1013075</guid>
      <dc:creator>morganaaron</dc:creator>
      <dc:date>2015-04-24T14:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: Scripto 101 for doffies pls</title>
      <link>https://community.qlik.com/t5/QlikView/Scripto-101-for-doffies-pls/m-p/896314#M1013076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ok i will endevour to support what im trying to do a bit better as well as title it better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i think your answer can assist me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Apr 2015 14:22:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Scripto-101-for-doffies-pls/m-p/896314#M1013076</guid>
      <dc:creator />
      <dc:date>2015-04-24T14:22:59Z</dc:date>
    </item>
  </channel>
</rss>

