<?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: % Purchased in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Purchased/m-p/559748#M1131280</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to give us a bit more than that... &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you show us your data model?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Nov 2013 15:08:43 GMT</pubDate>
    <dc:creator>DavidFoster1</dc:creator>
    <dc:date>2013-11-21T15:08:43Z</dc:date>
    <item>
      <title>% Purchased</title>
      <link>https://community.qlik.com/t5/QlikView/Purchased/m-p/559746#M1131278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible for me to count the number of items purchased from Parts List A from 2013 sales?&amp;nbsp; Or alternately show a full list of the items on Parts List A and a total of the sales for the year?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 15:06:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Purchased/m-p/559746#M1131278</guid>
      <dc:creator>dmac1971</dc:creator>
      <dc:date>2013-11-21T15:06:38Z</dc:date>
    </item>
    <item>
      <title>Re: % Purchased</title>
      <link>https://community.qlik.com/t5/QlikView/Purchased/m-p/559747#M1131279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Definitely. But you gotta give us more info than that! Do you have a sample file?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 15:08:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Purchased/m-p/559747#M1131279</guid>
      <dc:creator />
      <dc:date>2013-11-21T15:08:04Z</dc:date>
    </item>
    <item>
      <title>Re: % Purchased</title>
      <link>https://community.qlik.com/t5/QlikView/Purchased/m-p/559748#M1131280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to give us a bit more than that... &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you show us your data model?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 15:08:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Purchased/m-p/559748#M1131280</guid>
      <dc:creator>DavidFoster1</dc:creator>
      <dc:date>2013-11-21T15:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: % Purchased</title>
      <link>https://community.qlik.com/t5/QlikView/Purchased/m-p/559749#M1131281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You'll have to replace the dummy fields for your own but for the count use a formula such as;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count( {&amp;lt; Year = {'2013'}, Partlist = {'A'} &amp;gt;} items)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively, to show the total sales for Parts List A, use a Straight or Pivot table with Items in your dimensions and use the expression;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;sum( {&amp;lt; Year = {'2013'}, Partlist = {'A'} &amp;gt;} SalesValue)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could remove the Year from the above formula and add that into your dimensions.&amp;nbsp; You could also change the year to run off a variable which defaults to the current year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But as mentioned above, without further information it is difficult to guide you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 15:14:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Purchased/m-p/559749#M1131281</guid>
      <dc:creator />
      <dc:date>2013-11-21T15:14:03Z</dc:date>
    </item>
    <item>
      <title>Re: % Purchased</title>
      <link>https://community.qlik.com/t5/QlikView/Purchased/m-p/559750#M1131282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok Lets say I have a list of items I want my shops to carry:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Rec Sales]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="192"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="64"&gt;Item No&lt;/TD&gt;&lt;TD class="xl63" width="64"&gt;Desc&lt;/TD&gt;&lt;TD class="xl63" width="64"&gt;Rec Qty&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;1234&lt;/TD&gt;&lt;TD class="xl63"&gt;Mug&lt;/TD&gt;&lt;TD class="xl63"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;1235&lt;/TD&gt;&lt;TD class="xl63"&gt;Plate&lt;/TD&gt;&lt;TD class="xl63"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;1000&lt;/TD&gt;&lt;TD class="xl63"&gt;Knife&lt;/TD&gt;&lt;TD class="xl63"&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;1001&lt;/TD&gt;&lt;TD class="xl63"&gt;Spoon&lt;/TD&gt;&lt;TD class="xl63"&gt;20&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;1002&lt;/TD&gt;&lt;TD class="xl63"&gt;Knife&lt;/TD&gt;&lt;TD class="xl63"&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I have their Sales Data :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Actual Sales]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 283px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" width="64"&gt;Shop&lt;/TD&gt;&lt;TD class="xl65" width="64"&gt;Item No&lt;/TD&gt;&lt;TD class="xl65" width="64"&gt;Desc&lt;/TD&gt;&lt;TD class="xl65" width="91"&gt;# Purchased&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;A&lt;/TD&gt;&lt;TD class="xl65"&gt;1234&lt;/TD&gt;&lt;TD class="xl65"&gt;Mug&lt;/TD&gt;&lt;TD class="xl65"&gt;15&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;B&lt;/TD&gt;&lt;TD class="xl65"&gt;1000&lt;/TD&gt;&lt;TD class="xl65"&gt;Knife&lt;/TD&gt;&lt;TD class="xl65"&gt;3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;C&lt;/TD&gt;&lt;TD class="xl65"&gt;1234&lt;/TD&gt;&lt;TD class="xl65"&gt;Mug&lt;/TD&gt;&lt;TD class="xl65"&gt;12&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;D&lt;/TD&gt;&lt;TD class="xl65"&gt;1001&lt;/TD&gt;&lt;TD class="xl65"&gt;Spoon&lt;/TD&gt;&lt;TD class="xl65"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;E&lt;/TD&gt;&lt;TD class="xl65"&gt;1000&lt;/TD&gt;&lt;TD class="xl65"&gt;Knife&lt;/TD&gt;&lt;TD class="xl65"&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want to do two things, I want to show [Rec Sales] with a total showing actual sales at the end against recommended sales, and then I want to show the actual % of items from the recommended list actually purchased?&amp;nbsp; Hope this makes it clearer?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 15:14:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Purchased/m-p/559750#M1131282</guid>
      <dc:creator>dmac1971</dc:creator>
      <dc:date>2013-11-21T15:14:43Z</dc:date>
    </item>
    <item>
      <title>Re: % Purchased</title>
      <link>https://community.qlik.com/t5/QlikView/Purchased/m-p/559751#M1131285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is effectively a sales versus target issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expression:&lt;/P&gt;&lt;P&gt;sum(# Purchased) / sum(Rec Qty) would give you the proportion of actual sales to recommended sales. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 15:23:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Purchased/m-p/559751#M1131285</guid>
      <dc:creator>DavidFoster1</dc:creator>
      <dc:date>2013-11-21T15:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: % Purchased</title>
      <link>https://community.qlik.com/t5/QlikView/Purchased/m-p/559752#M1131288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry this is what I am aiming for below :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 384px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" width="64"&gt;Item No&lt;/TD&gt;&lt;TD class="xl65" width="64"&gt;Desc&lt;/TD&gt;&lt;TD class="xl65" width="64"&gt;Req Qty&lt;/TD&gt;&lt;TD class="xl65" width="64"&gt;Act Qty&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;1234&lt;/TD&gt;&lt;TD class="xl65"&gt;Mug&lt;/TD&gt;&lt;TD class="xl65"&gt;5&lt;/TD&gt;&lt;TD class="xl65"&gt;27&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;1235&lt;/TD&gt;&lt;TD class="xl65"&gt;Plate&lt;/TD&gt;&lt;TD class="xl65"&gt;5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;1000&lt;/TD&gt;&lt;TD class="xl65"&gt;Knife&lt;/TD&gt;&lt;TD class="xl65"&gt;10&lt;/TD&gt;&lt;TD class="xl65"&gt;13&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;1001&lt;/TD&gt;&lt;TD class="xl65"&gt;Spoon&lt;/TD&gt;&lt;TD class="xl65"&gt;20&lt;/TD&gt;&lt;TD class="xl65"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20"&gt;1002&lt;/TD&gt;&lt;TD class="xl65"&gt;Knife&lt;/TD&gt;&lt;TD class="xl65"&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="4" height="20"&gt;So 60% of&lt;BR /&gt;&amp;nbsp; Rec Items Purchased&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD colspan="6" height="20"&gt;However only&lt;BR /&gt;&amp;nbsp; 20% actually Purchased the right amount&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 15:23:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Purchased/m-p/559752#M1131288</guid>
      <dc:creator>dmac1971</dc:creator>
      <dc:date>2013-11-21T15:23:33Z</dc:date>
    </item>
    <item>
      <title>Re: % Purchased</title>
      <link>https://community.qlik.com/t5/QlikView/Purchased/m-p/559753#M1131289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; d'oh I got the wrong end of that stick :-).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would do this in the load script left joining the sales to the recommendation script and loading a 1 or 0 in a field called something like 'isrecommmended' and then use a preceding load to compare the sales quantity to the recommended quantity and returning a 1 or 0 in a 'matches recommendation' field. Then the front-end work is a sum of those flag fields compared to the count of all transactions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2013 15:32:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Purchased/m-p/559753#M1131289</guid>
      <dc:creator>DavidFoster1</dc:creator>
      <dc:date>2013-11-21T15:32:14Z</dc:date>
    </item>
  </channel>
</rss>

