<?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: Set analysis division in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-division/m-p/803866#M1039276</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If Source is a dimension in your chart, try like:&lt;/P&gt;&lt;P&gt;=Sum(&lt;STRONG&gt;Total&lt;/STRONG&gt; {$&amp;lt;Source={'LBE'}&amp;gt;}Sales) / Sum(&lt;STRONG&gt;Total&lt;/STRONG&gt; {$&amp;lt;Source={'AOP-Ex Factory'}&amp;gt;}Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Dec 2014 13:03:56 GMT</pubDate>
    <dc:creator>tresB</dc:creator>
    <dc:date>2014-12-30T13:03:56Z</dc:date>
    <item>
      <title>Set analysis division</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-division/m-p/803865#M1039275</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;I've created a formula using set analysis in my chart:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({$&amp;lt;Source={'LBE'}&amp;gt;}Sales) / Sum({$&amp;lt;Source={'AOP-Ex Factory'}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm essentially trying to divide sales total under LBE by sales total under 'AOP-Ex Factory' to get a percentage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Individually the numerator and denominator work and produce line graphs. However, doing one divided by the other doesn't work. Where am I going wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2014 12:59:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-division/m-p/803865#M1039275</guid>
      <dc:creator />
      <dc:date>2014-12-30T12:59:22Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis division</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-division/m-p/803866#M1039276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If Source is a dimension in your chart, try like:&lt;/P&gt;&lt;P&gt;=Sum(&lt;STRONG&gt;Total&lt;/STRONG&gt; {$&amp;lt;Source={'LBE'}&amp;gt;}Sales) / Sum(&lt;STRONG&gt;Total&lt;/STRONG&gt; {$&amp;lt;Source={'AOP-Ex Factory'}&amp;gt;}Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2014 13:03:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-division/m-p/803866#M1039276</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-12-30T13:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis division</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-division/m-p/803867#M1039277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Assuming it is a true chart and not a table, then how about creating the 2 expressions &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; &lt;EM&gt;numerator&lt;/EM&gt; and &lt;EM&gt;denominator that &lt;/EM&gt;you say work and setting them on the expression tab to &lt;EM&gt;Invisible&lt;/EM&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then create a 3rd expression:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; = [numerator} / [denominator]&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2014 13:07:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-division/m-p/803867#M1039277</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-30T13:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis division</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-division/m-p/803868#M1039278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi both,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;They both seem to work but I also have 'Month' as a dimension and this formula gives me the total numerator divided by the total numerator for the whole year whereas I want this split by month on a chart. I assumed this formula when shown on a chart with month as dimension would do this automatically but it doesn't...?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2014 13:32:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-division/m-p/803868#M1039278</guid>
      <dc:creator />
      <dc:date>2014-12-30T13:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis division</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-division/m-p/803869#M1039279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kevin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your expression Sum({$&amp;lt;Source={'LBE'}&amp;gt;}Sales) / Sum({$&amp;lt;Source={'AOP-Ex Factory'}&amp;gt;}Sales) should work, can you try taking out the month dimension from the chart and viewing the result?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It sounds like it is the dimension causing you the issue, can you check your underlying data, does source 'LBE' have sales data in the same month as source 'AOP-Ex Factory'? If not your expression will be trying to break the result down on the month and potentially dividing by zero and not displaying due to that&lt;/P&gt;&lt;P&gt;hope that helps&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2014 13:41:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-division/m-p/803869#M1039279</guid>
      <dc:creator />
      <dc:date>2014-12-30T13:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis division</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-division/m-p/803870#M1039280</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;&lt;/P&gt;&lt;P&gt;I've tried removing the month but that doesn't work either. I have checked the raw data too and there is data for LBE and AOP-Ex Factory in all months. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Very odd!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2014 14:32:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-division/m-p/803870#M1039280</guid>
      <dc:creator />
      <dc:date>2014-12-30T14:32:51Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis division</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-division/m-p/803871#M1039281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you knock up an example if possible? Would be easier to help resolve I think.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you also try&lt;/P&gt;&lt;P&gt;Sum({1&amp;lt;Source={'LBE'}&amp;gt;}Sales) / Sum({1&amp;lt;Source={'AOP-Ex Factory'}&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;Just to see if there is some underlying selection you have which is affecting the output&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2014 14:46:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-division/m-p/803871#M1039281</guid>
      <dc:creator />
      <dc:date>2014-12-30T14:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis division</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-division/m-p/803872#M1039282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've tried to replicate this in the attached example...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are two graphs, the first is where I'm attempting to combine a bar graph showing LBE and AOP and add a line graph showing SvT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The second graph is where I've just tried to do the SvT line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a table showing the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2014 15:15:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-division/m-p/803872#M1039282</guid>
      <dc:creator />
      <dc:date>2014-12-30T15:15:10Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis division</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-division/m-p/803873#M1039283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ah I see, you have source as a dimension too, so that division will never work as the results will be split across the source dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Remove source and you get the result&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See attached, you'll need to create a second sales expression and remove the source dimension&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2014 15:27:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-division/m-p/803873#M1039283</guid>
      <dc:creator />
      <dc:date>2014-12-30T15:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis division</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-division/m-p/803874#M1039284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Brilliant! Many thanks, works like a charm!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2014 15:48:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-division/m-p/803874#M1039284</guid>
      <dc:creator />
      <dc:date>2014-12-30T15:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis division</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-division/m-p/803875#M1039285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no problem, glad to help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Dec 2014 16:07:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-division/m-p/803875#M1039285</guid>
      <dc:creator />
      <dc:date>2014-12-30T16:07:04Z</dc:date>
    </item>
  </channel>
</rss>

