<?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: Filtering Line on a combo chart based on variables in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Filtering-Line-on-a-combo-chart-based-on-variables/m-p/1861713#M71109</link>
    <description>&lt;P&gt;Hi, maybe with a combniation of pick and match to show the expression you want, like:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Pick(Match('$(varName)','Yes','No')
  ,[ExpressionForYes]
  ,[ExpressionForNo]
)&lt;/LI-CODE&gt;
&lt;P&gt;So if the variable stores 'Yes', Match() returns '1', and Pick uses the 1st expression. If the variable stores No, Match() returns 2 and Pick goes to the 2nd expression.&lt;/P&gt;</description>
    <pubDate>Sat, 20 Nov 2021 09:23:22 GMT</pubDate>
    <dc:creator>rubenmarin</dc:creator>
    <dc:date>2021-11-20T09:23:22Z</dc:date>
    <item>
      <title>Filtering Line on a combo chart based on variables</title>
      <link>https://community.qlik.com/t5/App-Development/Filtering-Line-on-a-combo-chart-based-on-variables/m-p/1861469#M71095</link>
      <description>&lt;P&gt;I have a combo chart (bar &amp;amp; line). The bars change based on the variable selection I have. I also want the lines to change but it seems difficult to accomplish. The line represents a goal, when I switch the variable to yes I want a certain goal to display and when I switch it to no I want another goal to display. I'm not sure how to go about this.&amp;nbsp; I can't go the flag method as the goals are not fixed, I use set analysis to calculate the goal.&lt;/P&gt;
&lt;P&gt;Is this even possible? If not do you have any alternatives? I was thinking about adding an alternative line on the chart and it seem viable for one sheet, but on the next sheet we have 5 charts. It would be tedious to have the user switch to the alternative on each chart. Hopefully I am explaining this well.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any help I can receive is much appreciated.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Nov 2021 16:25:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Filtering-Line-on-a-combo-chart-based-on-variables/m-p/1861469#M71095</guid>
      <dc:creator>CrysiiD_BI</dc:creator>
      <dc:date>2021-11-30T16:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering Line on a combo chart based on variables</title>
      <link>https://community.qlik.com/t5/App-Development/Filtering-Line-on-a-combo-chart-based-on-variables/m-p/1861713#M71109</link>
      <description>&lt;P&gt;Hi, maybe with a combniation of pick and match to show the expression you want, like:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Pick(Match('$(varName)','Yes','No')
  ,[ExpressionForYes]
  ,[ExpressionForNo]
)&lt;/LI-CODE&gt;
&lt;P&gt;So if the variable stores 'Yes', Match() returns '1', and Pick uses the 1st expression. If the variable stores No, Match() returns 2 and Pick goes to the 2nd expression.&lt;/P&gt;</description>
      <pubDate>Sat, 20 Nov 2021 09:23:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Filtering-Line-on-a-combo-chart-based-on-variables/m-p/1861713#M71109</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2021-11-20T09:23:22Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering Line on a combo chart based on variables</title>
      <link>https://community.qlik.com/t5/App-Development/Filtering-Line-on-a-combo-chart-based-on-variables/m-p/1864934#M71390</link>
      <description>&lt;P&gt;That worked! Thank you!!!!&lt;/P&gt;</description>
      <pubDate>Tue, 30 Nov 2021 14:08:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Filtering-Line-on-a-combo-chart-based-on-variables/m-p/1864934#M71390</guid>
      <dc:creator>CrysiiD_BI</dc:creator>
      <dc:date>2021-11-30T14:08:08Z</dc:date>
    </item>
  </channel>
</rss>

