<?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 Filter Legends help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Filter-Legends-help/m-p/1430779#M513080</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm having below Line chart , what I'm looking for is any easy way of doing filtering on Legends:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="177960" alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/177960_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose I just want to filter for Legends : SP_Time_PinchLine_L_1_Max and SP_Time_PinchLine_L_1_MIN , just to compare these two.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions how this can be possible!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried just selecting my mouse these 2 , but it's not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm thinking of creating list box with these legends on right side of above chart, so that users can select anyone to compare, but no sure if this is possible as all these are $Field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here my Dim = Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expressions are :&lt;/P&gt;&lt;P&gt;Exp1 :AV_Tmp_PinchLine_L_1&lt;/P&gt;&lt;P&gt;Exp2 :SP_Tmp_PinchLine_L_1_MAX&lt;/P&gt;&lt;P&gt;Exp3 :SP_Tmp_PinchLine_L_1_MIN&lt;/P&gt;&lt;P&gt;Exp4 :AV_Tmp_PinchLine_L_2&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and so on&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;AS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Sep 2017 08:20:22 GMT</pubDate>
    <dc:creator>amit_saini</dc:creator>
    <dc:date>2017-09-28T08:20:22Z</dc:date>
    <item>
      <title>Filter Legends help</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-Legends-help/m-p/1430779#M513080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm having below Line chart , what I'm looking for is any easy way of doing filtering on Legends:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="177960" alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/177960_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suppose I just want to filter for Legends : SP_Time_PinchLine_L_1_Max and SP_Time_PinchLine_L_1_MIN , just to compare these two.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions how this can be possible!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried just selecting my mouse these 2 , but it's not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm thinking of creating list box with these legends on right side of above chart, so that users can select anyone to compare, but no sure if this is possible as all these are $Field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here my Dim = Date&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expressions are :&lt;/P&gt;&lt;P&gt;Exp1 :AV_Tmp_PinchLine_L_1&lt;/P&gt;&lt;P&gt;Exp2 :SP_Tmp_PinchLine_L_1_MAX&lt;/P&gt;&lt;P&gt;Exp3 :SP_Tmp_PinchLine_L_1_MIN&lt;/P&gt;&lt;P&gt;Exp4 :AV_Tmp_PinchLine_L_2&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and so on&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;AS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2017 08:20:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-Legends-help/m-p/1430779#M513080</guid>
      <dc:creator>amit_saini</dc:creator>
      <dc:date>2017-09-28T08:20:22Z</dc:date>
    </item>
    <item>
      <title>Re: Filter Legends help</title>
      <link>https://community.qlik.com/t5/QlikView/Filter-Legends-help/m-p/1430780#M513081</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi AS&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create an inline where you have something like this&lt;/P&gt;&lt;P&gt;Tab;&lt;/P&gt;&lt;P&gt;Load * Inline [&lt;/P&gt;&lt;P&gt;Dim&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;AV_Tmp_PinchLine_L_1&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SP_Tmp_PinchLine_L_1_MAX&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;SP_Tmp_PinchLine_L_1_MIN&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;AV_Tmp_PinchLine_L_2&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;];&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;so you can have a listbox where you can choose which line charts to show up.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Now create a listbox with Dim as your field&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;and then go into your line chart, where you'll have Conditional option for each expression&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Type this for your first expression:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;GetSelectedCount(&lt;SPAN style="font-size: 13.3333px;"&gt;Dim&lt;/SPAN&gt;)=0 or substringcount(GetFieldSelections(Dim),'&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;AV_Tmp_PinchLine_L_1&lt;/SPAN&gt;')&amp;gt;0&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;and so on for all the expressions and you're good to play with the chart.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;Regards&lt;BR /&gt;Pratyush&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Sep 2017 08:30:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Filter-Legends-help/m-p/1430780#M513081</guid>
      <dc:creator>prat1507</dc:creator>
      <dc:date>2017-09-28T08:30:42Z</dc:date>
    </item>
  </channel>
</rss>

