<?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 on result current selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-on-result-current-selection/m-p/1232961#M516647</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much. This was very helpful!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Feb 2017 12:35:41 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-02-21T12:35:41Z</dc:date>
    <item>
      <title>Set Analysis on result current selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-on-result-current-selection/m-p/1232959#M516645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good morning,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using a chart where I compare the sales per client per Business Unit with the sales per client total.&lt;/P&gt;&lt;P&gt;In my current selections properties I have chosen a particular Business Unit and it gives me a result. I use Set Analysis in a new expression to exclude the 'Business Unit' selection and provide me with the total sales per client.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using this expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;BusinessUnit=&amp;gt;} Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is: I have two columns. The sales per client per Business Unit (column 1) and the total sales per client (column 2). I want to compare only the sales per business unit/client with the total sales per client where there is a result in column 1. With my current expression I have also results in column 2 where there aren't any sales in column 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a simple solution for this problem? I'm a beginner with Qlikview so excuse me if the explanation is a little bit unclear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Timo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2017 10:12:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-on-result-current-selection/m-p/1232959#M516645</guid>
      <dc:creator />
      <dc:date>2017-02-21T10:12:00Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis on result current selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-on-result-current-selection/m-p/1232960#M516646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be just this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Column(1) &amp;gt; 0, S&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;um({&amp;lt;BusinessUnit=&amp;gt;} Sales))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Sum({&amp;lt;BusinessUnit=&amp;gt;} Sales) * Avg(1)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2017 11:05:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-on-result-current-selection/m-p/1232960#M516646</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-02-21T11:05:48Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis on result current selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-on-result-current-selection/m-p/1232961#M516647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much. This was very helpful!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Feb 2017 12:35:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-on-result-current-selection/m-p/1232961#M516647</guid>
      <dc:creator />
      <dc:date>2017-02-21T12:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis on result current selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-on-result-current-selection/m-p/1232962#M516648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a simple solution to embed this code into the code beneath. With the code beneath I select last year's sales. How do I add an Set Analysis expression to this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Jaar=, Maandnaam={'&amp;gt;=$(#=AddMonths(min(Maandnaam),-12))&amp;nbsp; &amp;lt;=$(#=AddMonths(max(Maandnaam),-12))'}, Maand = ,Dag = &amp;gt;} Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2017 12:45:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-on-result-current-selection/m-p/1232962#M516648</guid>
      <dc:creator />
      <dc:date>2017-02-22T12:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis on result current selection</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-on-result-current-selection/m-p/1232963#M516649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Sum({&amp;lt;Jaar =, Maandnaam = {'&amp;gt;=$(#=AddMonths(min(Maandnaam),-12))&amp;lt;=$(#=AddMonths(max(Maandnaam),-12))'}, Maand = , Dag = , BusinessUnit = &amp;gt;} Sales)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or this if you need the same logic of making this 0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Sum({&amp;lt;Jaar =, Maandnaam = {'&amp;gt;=$(#=AddMonths(min(Maandnaam),-12))&amp;lt;=$(#=AddMonths(max(Maandnaam),-12))'}, Maand = , Dag = , BusinessUnit = &amp;gt;} Sales) * Avg({&amp;lt;&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Jaar =, Maandnaam = {'&amp;gt;=$(#=AddMonths(min(Maandnaam),-12))&amp;lt;=$(#=AddMonths(max(Maandnaam),-12))'}, Maand = , Dag = &lt;/STRONG&gt;&amp;gt;} 1)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Feb 2017 14:08:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-on-result-current-selection/m-p/1232963#M516649</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-02-22T14:08:44Z</dc:date>
    </item>
  </channel>
</rss>

