<?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: Calculation based on dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculation-based-on-dimension/m-p/1706917#M455614</link>
    <description>&lt;P&gt;You didn't show your raw data so I'll guess that having sales means the field Sales&amp;gt;0&lt;/P&gt;&lt;P&gt;Dimension:&lt;BR /&gt;Group Segment&lt;/P&gt;&lt;P&gt;Measures:&lt;BR /&gt;1. Count(Distinct StoreId)&lt;BR /&gt;2.&amp;nbsp;Count({&amp;lt;Sales={"&amp;gt;0"}&amp;gt;}Distinct StoreId)&lt;BR /&gt;3. Column(2) / Column(1)&lt;/P&gt;&lt;P&gt;-Rob&lt;BR /&gt;&lt;A href="http://masterssummit.com" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://qlikviewcookbook.com" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.easyqlik.com" target="_blank"&gt;http://www.easyqlik.com&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 31 May 2020 17:19:34 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2020-05-31T17:19:34Z</dc:date>
    <item>
      <title>Calculation based on dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Calculation-based-on-dimension/m-p/1706861#M455613</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;I have multiple group segment each with designated stores. I want to calculate the percentage of store with sales for each group segment&lt;/P&gt;&lt;P&gt;e.g.&lt;/P&gt;&lt;P&gt;Corporate Segment has 10 store in total, 7 stores made sales in April so 70% strike rate&lt;/P&gt;&lt;P&gt;Now I want to present this in a chat showing only Group Segment and Strike rate for the month (Calculation is based on stores but I don’t want to show store in the table/dimension)&lt;/P&gt;&lt;P&gt;i.e.&lt;/P&gt;&lt;TABLE width="403"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="167"&gt;&lt;P&gt;&lt;STRONG&gt;Group Segment&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD width="79"&gt;&lt;P&gt;&lt;STRONG&gt;Store&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD width="79"&gt;&lt;P&gt;&lt;STRONG&gt;Strike&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD width="79"&gt;&lt;P&gt;&lt;STRONG&gt;Strike Rate&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="167"&gt;&lt;P&gt;Corporate&lt;/P&gt;&lt;/TD&gt;&lt;TD width="79"&gt;&lt;P&gt;26&lt;/P&gt;&lt;/TD&gt;&lt;TD width="79"&gt;&lt;P&gt;22&lt;/P&gt;&lt;/TD&gt;&lt;TD width="79"&gt;&lt;P&gt;85%&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="167"&gt;&lt;P&gt;Corporate Budget&lt;/P&gt;&lt;/TD&gt;&lt;TD width="79"&gt;&lt;P&gt;27&lt;/P&gt;&lt;/TD&gt;&lt;TD width="79"&gt;&lt;P&gt;23&lt;/P&gt;&lt;/TD&gt;&lt;TD width="79"&gt;&lt;P&gt;85%&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="167"&gt;&lt;P&gt;Hyper&lt;/P&gt;&lt;/TD&gt;&lt;TD width="79"&gt;&lt;P&gt;20&lt;/P&gt;&lt;/TD&gt;&lt;TD width="79"&gt;&lt;P&gt;18&lt;/P&gt;&lt;/TD&gt;&lt;TD width="79"&gt;&lt;P&gt;90%&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="167"&gt;&lt;P&gt;Mini Market&lt;/P&gt;&lt;/TD&gt;&lt;TD width="79"&gt;&lt;P&gt;13&lt;/P&gt;&lt;/TD&gt;&lt;TD width="79"&gt;&lt;P&gt;7&lt;/P&gt;&lt;/TD&gt;&lt;TD width="79"&gt;&lt;P&gt;54%&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="167"&gt;&lt;P&gt;Family&lt;/P&gt;&lt;/TD&gt;&lt;TD width="79"&gt;&lt;P&gt;21&lt;/P&gt;&lt;/TD&gt;&lt;TD width="79"&gt;&lt;P&gt;19&lt;/P&gt;&lt;/TD&gt;&lt;TD width="79"&gt;&lt;P&gt;90%&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="167"&gt;&lt;P&gt;Family Budget&lt;/P&gt;&lt;/TD&gt;&lt;TD width="79"&gt;&lt;P&gt;22&lt;/P&gt;&lt;/TD&gt;&lt;TD width="79"&gt;&lt;P&gt;21&lt;/P&gt;&lt;/TD&gt;&lt;TD width="79"&gt;&lt;P&gt;95%&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 31 May 2020 08:55:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculation-based-on-dimension/m-p/1706861#M455613</guid>
      <dc:creator>Neo</dc:creator>
      <dc:date>2020-05-31T08:55:56Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation based on dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Calculation-based-on-dimension/m-p/1706917#M455614</link>
      <description>&lt;P&gt;You didn't show your raw data so I'll guess that having sales means the field Sales&amp;gt;0&lt;/P&gt;&lt;P&gt;Dimension:&lt;BR /&gt;Group Segment&lt;/P&gt;&lt;P&gt;Measures:&lt;BR /&gt;1. Count(Distinct StoreId)&lt;BR /&gt;2.&amp;nbsp;Count({&amp;lt;Sales={"&amp;gt;0"}&amp;gt;}Distinct StoreId)&lt;BR /&gt;3. Column(2) / Column(1)&lt;/P&gt;&lt;P&gt;-Rob&lt;BR /&gt;&lt;A href="http://masterssummit.com" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://qlikviewcookbook.com" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.easyqlik.com" target="_blank"&gt;http://www.easyqlik.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 31 May 2020 17:19:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculation-based-on-dimension/m-p/1706917#M455614</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2020-05-31T17:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation based on dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Calculation-based-on-dimension/m-p/1707199#M455615</link>
      <description>&lt;P&gt;thank you Rob works perfectly&lt;/P&gt;&lt;P&gt;How would I only&amp;nbsp;&lt;SPAN&gt;count storeID where sales 2019 &amp;gt; sales 2018&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Jun 2020 16:23:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculation-based-on-dimension/m-p/1707199#M455615</guid>
      <dc:creator>Neo</dc:creator>
      <dc:date>2020-06-01T16:23:19Z</dc:date>
    </item>
  </channel>
</rss>

