<?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: Using Data From Different Alternate States In The Same Chart Expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-Data-From-Different-Alternate-States-In-The-Same-Chart/m-p/376334#M572674</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Brilliant, thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I modified it slightly, changing the first $ to a 1 so it would not be affected by other selections:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;({1&amp;lt;&lt;SPAN style="color: #800000;"&gt;Client&lt;/SPAN&gt;={'$(=Only({BandwidthA}Client ))' , '$(=Only({BandwidthB}Client ))'} &amp;gt; } &lt;SPAN style="color: #800000;"&gt;Volume&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other than that, it's perfect.&amp;nbsp; Thanks again!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Aug 2012 13:59:11 GMT</pubDate>
    <dc:creator>billbois</dc:creator>
    <dc:date>2012-08-09T13:59:11Z</dc:date>
    <item>
      <title>Using Data From Different Alternate States In The Same Chart Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Data-From-Different-Alternate-States-In-The-Same-Chart/m-p/376332#M572672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm working on a huge app and this is my current stumbling block.&amp;nbsp; It's sort of difficult to explain so I've put together a sample file that shows it pretty well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically, I need to compare Clients in both total Sales and total Volume.&amp;nbsp; I do this by having charts in two different alternate states.&amp;nbsp; There are also two drop-down lists, each in those same alternate states, so the user can specify which two Clients to compare.&amp;nbsp; I've also got a button that will automatically select the top 2 Clients, by either Sales or Volume.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All of that works.&amp;nbsp; What I need now is a pie chart with two slices, one for each Client, showing the total Volume.&amp;nbsp; This is tricky because the expression will have to grab the Clients from the two alternate states.&amp;nbsp; My current attempt at it is broken, but none of my other attempts worked either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My real application will have six Clients in the pie chart (and six drop-downs and six tables), so this example is really stripped down.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Bill&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2012 21:05:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Data-From-Different-Alternate-States-In-The-Same-Chart/m-p/376332#M572672</guid>
      <dc:creator>billbois</dc:creator>
      <dc:date>2012-08-08T21:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: Using Data From Different Alternate States In The Same Chart Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Data-From-Different-Alternate-States-In-The-Same-Chart/m-p/376333#M572673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Please, try this expression on your pie chart. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({$&amp;lt;Client={'$(=Only({BandwidthA}Client ))' , '$(=Only({BandwidthB}Client ))'} &amp;gt;&amp;nbsp; } Volume)&lt;/P&gt;&lt;P&gt;Regards, &lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2012 03:50:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Data-From-Different-Alternate-States-In-The-Same-Chart/m-p/376333#M572673</guid>
      <dc:creator>erichshiino</dc:creator>
      <dc:date>2012-08-09T03:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: Using Data From Different Alternate States In The Same Chart Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Using-Data-From-Different-Alternate-States-In-The-Same-Chart/m-p/376334#M572674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Brilliant, thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I modified it slightly, changing the first $ to a 1 so it would not be affected by other selections:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;({1&amp;lt;&lt;SPAN style="color: #800000;"&gt;Client&lt;/SPAN&gt;={'$(=Only({BandwidthA}Client ))' , '$(=Only({BandwidthB}Client ))'} &amp;gt; } &lt;SPAN style="color: #800000;"&gt;Volume&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Other than that, it's perfect.&amp;nbsp; Thanks again!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2012 13:59:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-Data-From-Different-Alternate-States-In-The-Same-Chart/m-p/376334#M572674</guid>
      <dc:creator>billbois</dc:creator>
      <dc:date>2012-08-09T13:59:11Z</dc:date>
    </item>
  </channel>
</rss>

