<?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 Filtering by Chart Selection with Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Filtering-by-Chart-Selection-with-Set-Analysis/m-p/56586#M767049</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello - I have two pie charts on one sheet, each use different set analyses to limit the scope of what is being shown. When a user clicks on a slice of either pie, the sheet filters based on the corresponding dimension, but does not filter based on the set analysis underlying the pie chart data. Is there a way to have the whole sheet filter on the selected dimension, plus consider the set analysis used to create the chart?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case that doesn't make sense, here's an example...&lt;/P&gt;&lt;P&gt;One pie chart shows the count of cars by color, and another pie chart shows the count of trucks by color. The set analysis for the car chart is: =Count({&amp;lt;Vehicle_type={'Car'}&amp;gt;} Vehicle_ID), and for the truck chart it's &lt;SPAN style="font-size: 13.3333px;"&gt;=Count({&amp;lt;Vehicle_type={'Truck'}&amp;gt;} Vehicle_ID).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I click on a slice of the pie chart for cars (let's say Red), it filters the rest of the sheet for Red vehicles, but not just red cars (as that's in the set analysis). Is there any way to have this happen?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Filtering by Chart Selection with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-by-Chart-Selection-with-Set-Analysis/m-p/56586#M767049</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello - I have two pie charts on one sheet, each use different set analyses to limit the scope of what is being shown. When a user clicks on a slice of either pie, the sheet filters based on the corresponding dimension, but does not filter based on the set analysis underlying the pie chart data. Is there a way to have the whole sheet filter on the selected dimension, plus consider the set analysis used to create the chart?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In case that doesn't make sense, here's an example...&lt;/P&gt;&lt;P&gt;One pie chart shows the count of cars by color, and another pie chart shows the count of trucks by color. The set analysis for the car chart is: =Count({&amp;lt;Vehicle_type={'Car'}&amp;gt;} Vehicle_ID), and for the truck chart it's &lt;SPAN style="font-size: 13.3333px;"&gt;=Count({&amp;lt;Vehicle_type={'Truck'}&amp;gt;} Vehicle_ID).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I click on a slice of the pie chart for cars (let's say Red), it filters the rest of the sheet for Red vehicles, but not just red cars (as that's in the set analysis). Is there any way to have this happen?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-by-Chart-Selection-with-Set-Analysis/m-p/56586#M767049</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering by Chart Selection with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-by-Chart-Selection-with-Set-Analysis/m-p/56587#M767050</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Easiest way to achieve your end behavior goal is to go back into the Script and Create purpose use dimensions for these charts.&lt;/P&gt;&lt;P&gt;Assuming the Chart dimensions are &lt;SPAN style="font-size: 13.3333px;"&gt;Vehicle_Color&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load &lt;SPAN style="font-size: 13.3333px;"&gt;Vehicle_Color &lt;/SPAN&gt;as &lt;SPAN style="font-size: 13.3333px;"&gt;Vehicle_Color&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;_Car, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Vehicle_ID &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;resident &amp;lt;Table&amp;gt;&amp;nbsp; where &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Vehicle_type = 'Car';&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Load &lt;SPAN style="font-size: 13.3333px;"&gt;Vehicle_Color &lt;/SPAN&gt;as &lt;SPAN style="font-size: 13.3333px;"&gt;Vehicle_Color&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;_&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Truck, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Vehicle_ID &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;resident &amp;lt;Table&amp;gt;&amp;nbsp; where &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Vehicle_type = 'Truck';&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Your expression for the Truck Chart becomes&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Count({&amp;lt;&lt;SPAN style="font-size: 13.3333px;"&gt;Vehicle_Color&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;_Car&lt;/SPAN&gt;=&amp;gt;} Vehicle_ID)&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Which ignores any selection based on the other charts dimension.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;The Car one the same except &lt;SPAN style="font-size: 13.3333px;"&gt;Vehicle_Color&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;_Car becomes &lt;SPAN style="font-size: 13.3333px;"&gt;Vehicle_Color_Truck&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;and eliminate the nulls using the appropriate option in the dimensions Tab on both charts&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;with the new dimension as &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Vehicle_Color&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;_&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Truck and&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;Vehicle_Color&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;_Car&amp;nbsp; respectively&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Additional Dress up&amp;nbsp; can be&amp;nbsp; adding the changing the expressions to use&amp;nbsp; both&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;Count({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Vehicle_Color&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;_Car&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;=,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;Vehicle_Color_Truck&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;=&lt;/SPAN&gt;&amp;gt;} Vehicle_ID)&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;and then adding a&amp;nbsp; dimension to the Color tab of each expression to put the value of the color in place and half briting the other options&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;see this &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;A href="http://qlikviewcookbook.com/2014/01/a-color-trick/" title="http://qlikviewcookbook.com/2014/01/a-color-trick/"&gt;A Color Trick | Qlikview Cookbook&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;I think the same idea can be applied to create a offset on the pie for the selected slice as well.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2018 18:10:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-by-Chart-Selection-with-Set-Analysis/m-p/56587#M767050</guid>
      <dc:creator>tmackay2015</dc:creator>
      <dc:date>2018-06-20T18:10:20Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering by Chart Selection with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Filtering-by-Chart-Selection-with-Set-Analysis/m-p/56588#M767051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Excellent solution, it's simple and works perfectly. Thank you Thomas!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jun 2018 18:57:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filtering-by-Chart-Selection-with-Set-Analysis/m-p/56588#M767051</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-06-20T18:57:57Z</dc:date>
    </item>
  </channel>
</rss>

