<?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 Show Values for Total and for Selection in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Show-Values-for-Total-and-for-Selection/m-p/408734#M151976</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I hope someone can provde some guidance. I am develping an application in whihc the user can select a branch (or more) and a series of comm,on charts are creted. This is pretty standard stuff and typicl in qview. In addition the charts have a dimension of type of customers and we show the measures for each type) - attaching&amp;nbsp; sample chart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The client also wants me to show the same measures for the entire set of customers - not only those that have to do with that branch - so in my chart I would likely show values on the axis (and no bars) for all the customers (these are in fact what thebars would show if I had not selected any branch) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The question is that I do not seem to know if I can calculate the figures for all the data records overriding the selection, and how to do it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the percentages shown are calculated using sum(hh) / sum(total&amp;lt;hh&amp;gt; hh) (HH is a dummy variable that has 1 for every row), thereare likely other ways but this is the one I used this time&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the 2 dimensions I show are defined as follows, the distance to branch is a set of nested if statements that convert a continuous variable to the ranges I show, the type of customer is data I load, each HH on the main table i slinked to one or more rowsa that shows the branches it touches with how they touch it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that table looks like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HHID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Branch&amp;nbsp;&amp;nbsp;&amp;nbsp; Type&lt;/P&gt;&lt;P&gt;xxxxx&amp;nbsp;&amp;nbsp;&amp;nbsp; 00017&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 001&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(I also have a aux table that converts vlue slike 001, 010, etcd to the names you see)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so when I select a branch in a selction box it take sonly those HHs that touch that branch and&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, 06 Nov 2012 17:27:30 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-11-06T17:27:30Z</dc:date>
    <item>
      <title>Show Values for Total and for Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Values-for-Total-and-for-Selection/m-p/408734#M151976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I hope someone can provde some guidance. I am develping an application in whihc the user can select a branch (or more) and a series of comm,on charts are creted. This is pretty standard stuff and typicl in qview. In addition the charts have a dimension of type of customers and we show the measures for each type) - attaching&amp;nbsp; sample chart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The client also wants me to show the same measures for the entire set of customers - not only those that have to do with that branch - so in my chart I would likely show values on the axis (and no bars) for all the customers (these are in fact what thebars would show if I had not selected any branch) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The question is that I do not seem to know if I can calculate the figures for all the data records overriding the selection, and how to do it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the percentages shown are calculated using sum(hh) / sum(total&amp;lt;hh&amp;gt; hh) (HH is a dummy variable that has 1 for every row), thereare likely other ways but this is the one I used this time&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the 2 dimensions I show are defined as follows, the distance to branch is a set of nested if statements that convert a continuous variable to the ranges I show, the type of customer is data I load, each HH on the main table i slinked to one or more rowsa that shows the branches it touches with how they touch it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that table looks like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HHID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Branch&amp;nbsp;&amp;nbsp;&amp;nbsp; Type&lt;/P&gt;&lt;P&gt;xxxxx&amp;nbsp;&amp;nbsp;&amp;nbsp; 00017&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 001&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(I also have a aux table that converts vlue slike 001, 010, etcd to the names you see)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so when I select a branch in a selction box it take sonly those HHs that touch that branch and&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, 06 Nov 2012 17:27:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Values-for-Total-and-for-Selection/m-p/408734#M151976</guid>
      <dc:creator />
      <dc:date>2012-11-06T17:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: Show Values for Total and for Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Values-for-Total-and-for-Selection/m-p/408735#M151977</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;Just two words can help you: set analysis (look at help).&lt;/P&gt;&lt;P&gt;For example to calculate the sum discarding all selctions you could use Sum({1} Value).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2012 18:06:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Values-for-Total-and-for-Selection/m-p/408735#M151977</guid>
      <dc:creator>whiteline</dc:creator>
      <dc:date>2012-11-06T18:06:34Z</dc:date>
    </item>
    <item>
      <title>Re: Show Values for Total and for Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Values-for-Total-and-for-Selection/m-p/408736#M151978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;will look into that. Much appreciated&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2012 18:38:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Values-for-Total-and-for-Selection/m-p/408736#M151978</guid>
      <dc:creator />
      <dc:date>2012-11-06T18:38:41Z</dc:date>
    </item>
    <item>
      <title>Re: Show Values for Total and for Selection</title>
      <link>https://community.qlik.com/t5/QlikView/Show-Values-for-Total-and-for-Selection/m-p/408737#M151979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;will look into that. Much appreciated&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2012 18:49:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-Values-for-Total-and-for-Selection/m-p/408737#M151979</guid>
      <dc:creator />
      <dc:date>2012-11-06T18:49:27Z</dc:date>
    </item>
  </channel>
</rss>

