<?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: Sales percentage in ranges by product in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sales-percentage-in-ranges-by-product/m-p/895310#M311659</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure if my approach gives you a starting point. However, here is my approach:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/89512_Capture.PNG" style="height: 173px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;For each percentage bucket, I created different expressions and I just labeled columns based on the percentage brackets. If an expression falls into a percentage bucket, then I counted the distinct number of stores.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 15 Jun 2015 18:22:51 GMT</pubDate>
    <dc:creator>sinanozdemir</dc:creator>
    <dc:date>2015-06-15T18:22:51Z</dc:date>
    <item>
      <title>Sales percentage in ranges by product</title>
      <link>https://community.qlik.com/t5/QlikView/Sales-percentage-in-ranges-by-product/m-p/895307#M311656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to create a table that show the follow:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; border-image: none; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Product&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;&amp;lt; 20%&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;20% - 50%&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;51% - 80%&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;&amp;gt; 90%&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Product A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;8&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;25&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;80&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;20&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Product B&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;30&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;70&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;15&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Product C&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;55&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;15&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;15&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;7&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Others&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;45&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;100&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;25&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;15&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In 8 stores the Product A represent less than 20% of the total sales&lt;/P&gt;&lt;P&gt;In 70 stores the Product B represent between 20 and 50 percent of the total sales&lt;/P&gt;&lt;P&gt;In 7 stores the Product C represent more than 90 percent of the sales&lt;/P&gt;&lt;P&gt;etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the Database I have a Fact Table with the detailed transacctions, the fact table is like this:&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; border-image: none; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Date&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Store&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Product&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Transacction ID&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Amount&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;15/06/2015&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Store 1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Product A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;00000001&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;$ 10.75&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;10/04/2015&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Store 3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Product B&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;00000002&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;$ 28.35&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;14/03/2015&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Store 2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Product A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;00000003&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;$ 50.38&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;10/04/2015&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Store 1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Product C&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;00000004&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;$ 45.22&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Someone know how can I elaborate this kind of anlaysis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2015 16:00:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sales-percentage-in-ranges-by-product/m-p/895307#M311656</guid>
      <dc:creator />
      <dc:date>2015-06-15T16:00:11Z</dc:date>
    </item>
    <item>
      <title>Re: Sales percentage in ranges by product</title>
      <link>https://community.qlik.com/t5/QlikView/Sales-percentage-in-ranges-by-product/m-p/895308#M311657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Can you post a Qlikview document that demonstrates the problem?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2015 16:27:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sales-percentage-in-ranges-by-product/m-p/895308#M311657</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-06-15T16:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: Sales percentage in ranges by product</title>
      <link>https://community.qlik.com/t5/QlikView/Sales-percentage-in-ranges-by-product/m-p/895309#M311658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't have the document already, I only have the fact table and the dimnensions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I'm tring at this point to bulid the analysis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2015 16:45:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sales-percentage-in-ranges-by-product/m-p/895309#M311658</guid>
      <dc:creator />
      <dc:date>2015-06-15T16:45:30Z</dc:date>
    </item>
    <item>
      <title>Re: Sales percentage in ranges by product</title>
      <link>https://community.qlik.com/t5/QlikView/Sales-percentage-in-ranges-by-product/m-p/895310#M311659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure if my approach gives you a starting point. However, here is my approach:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/89512_Capture.PNG" style="height: 173px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;For each percentage bucket, I created different expressions and I just labeled columns based on the percentage brackets. If an expression falls into a percentage bucket, then I counted the distinct number of stores.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2015 18:22:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sales-percentage-in-ranges-by-product/m-p/895310#M311659</guid>
      <dc:creator>sinanozdemir</dc:creator>
      <dc:date>2015-06-15T18:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: Sales percentage in ranges by product</title>
      <link>https://community.qlik.com/t5/QlikView/Sales-percentage-in-ranges-by-product/m-p/895311#M311660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry I made wrong my question:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All is based in the transacctions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let say The Store A make 200 transacctions: 10 of Product A, 140 of Product B and 50 of Product C. This store make lees than 20% of transacctions of the Product A.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My analysis need to tell me how many of this stores I have (Stores that sells less than 20% of transacctions of certain product and the same for the others ranges.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this a Little bit clear??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2015 20:03:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sales-percentage-in-ranges-by-product/m-p/895311#M311660</guid>
      <dc:creator />
      <dc:date>2015-06-15T20:03:21Z</dc:date>
    </item>
    <item>
      <title>Re: Sales percentage in ranges by product</title>
      <link>https://community.qlik.com/t5/QlikView/Sales-percentage-in-ranges-by-product/m-p/895312#M311661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, in this case we can change the function to count transaction IDs. Please see the below screenshot:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/89526_Capture.PNG" style="height: 183px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this gives you an idea of how to approach your problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2015 20:23:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sales-percentage-in-ranges-by-product/m-p/895312#M311661</guid>
      <dc:creator>sinanozdemir</dc:creator>
      <dc:date>2015-06-15T20:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: Sales percentage in ranges by product</title>
      <link>https://community.qlik.com/t5/QlikView/Sales-percentage-in-ranges-by-product/m-p/895313#M311662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Is not working because Is not making the Formula by each store, is making a global formula&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2015 21:18:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sales-percentage-in-ranges-by-product/m-p/895313#M311662</guid>
      <dc:creator />
      <dc:date>2015-06-15T21:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: Sales percentage in ranges by product</title>
      <link>https://community.qlik.com/t5/QlikView/Sales-percentage-in-ranges-by-product/m-p/895314#M311663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It seems like I had a flaw in my formula. How about the below:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/89538_Capture.PNG" style="height: 138px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Jun 2015 23:44:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sales-percentage-in-ranges-by-product/m-p/895314#M311663</guid>
      <dc:creator>sinanozdemir</dc:creator>
      <dc:date>2015-06-15T23:44:48Z</dc:date>
    </item>
    <item>
      <title>Re: Sales percentage in ranges by product</title>
      <link>https://community.qlik.com/t5/QlikView/Sales-percentage-in-ranges-by-product/m-p/895315#M311664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can I send you a file with the detail??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2015 22:06:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sales-percentage-in-ranges-by-product/m-p/895315#M311664</guid>
      <dc:creator />
      <dc:date>2015-06-16T22:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: Sales percentage in ranges by product</title>
      <link>https://community.qlik.com/t5/QlikView/Sales-percentage-in-ranges-by-product/m-p/895316#M311665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi I publish the file with the datail of this case under &lt;A _jive_internal="true" href="https://community.qlik.com/thread/168652?sr=inbox"&gt;&lt;SPAN style="color: #0066cc; text-decoration: underline;"&gt;Porcentage transacctions by store (Attachment)&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2015 22:14:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sales-percentage-in-ranges-by-product/m-p/895316#M311665</guid>
      <dc:creator />
      <dc:date>2015-06-16T22:14:48Z</dc:date>
    </item>
    <item>
      <title>Re: Sales percentage in ranges by product</title>
      <link>https://community.qlik.com/t5/QlikView/Sales-percentage-in-ranges-by-product/m-p/895317#M311666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alright, I am giving another shot to this problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I did was I took your spreadsheet and used "Table Look Like" tab because I couldn't find any connection between Provider# and Provider name, and also Store name. I cleaned up "Table Look Like" data, please see attached.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I then imported that spreadsheet to QlikView.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As you can see, I first summed all transactions by STORE then left joined to Temp table.&lt;/P&gt;&lt;P&gt;In the second "Main" table, I divided each individual transaction by the summed of transactions by each store.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="89779" alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/89779_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the front end, I took the average of the new field "Product Store %" and for each percentage bucket I placed below expression.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="89783" alt="Capture.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/89783_Capture.PNG" style="height: 230px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At this point, this is my approach. I am sure there is a more efficient way to do this without all this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2015 15:04:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sales-percentage-in-ranges-by-product/m-p/895317#M311666</guid>
      <dc:creator>sinanozdemir</dc:creator>
      <dc:date>2015-06-17T15:04:22Z</dc:date>
    </item>
  </channel>
</rss>

