<?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: Bar Chart limit condition in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Bar-Chart-limit-condition/m-p/608107#M1117149</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this,&lt;/P&gt;&lt;P&gt;if(product A,1,if((product A and product B),1,0)) and similar for product B&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Feb 2014 18:25:27 GMT</pubDate>
    <dc:creator>santharubban</dc:creator>
    <dc:date>2014-02-19T18:25:27Z</dc:date>
    <item>
      <title>Bar Chart limit condition</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-Chart-limit-condition/m-p/608105#M1117147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a bar chart with two expression showing the sales of the products A and B in columns. Moreover I have a list box with these two products.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want the bar chart to display the products I select in the list box, so:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt; If I select product A I just want product A to be displayed in the bar chart.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt; If I select product B I just want product B to be displayed in the bar chart.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;gt; If I select product A and B I want product A and B to be displayed in the bar chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which is the conditional I should use in the conditional expression ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;dani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 17:59:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-Chart-limit-condition/m-p/608105#M1117147</guid>
      <dc:creator>danialier</dc:creator>
      <dc:date>2014-02-19T17:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: Bar Chart limit condition</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-Chart-limit-condition/m-p/608106#M1117148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why can't you add the Products dimension to your bar chart? That way you won't need to mess around with conditional expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could use this if you do need/want to use conditional expressions and your products dimension is named Product:&lt;/P&gt;&lt;P&gt;For product A: if(substringcount(concat(distinct Product &amp;amp; '~', ','), 'A~')),1,0)&lt;/P&gt;&lt;P&gt;For product B: if(substringcount(concat(distinct Product &amp;amp; '~', ','), 'B~')),1,0)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 18:03:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-Chart-limit-condition/m-p/608106#M1117148</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-02-19T18:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: Bar Chart limit condition</title>
      <link>https://community.qlik.com/t5/QlikView/Bar-Chart-limit-condition/m-p/608107#M1117149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this,&lt;/P&gt;&lt;P&gt;if(product A,1,if((product A and product B),1,0)) and similar for product B&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 18:25:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Bar-Chart-limit-condition/m-p/608107#M1117149</guid>
      <dc:creator>santharubban</dc:creator>
      <dc:date>2014-02-19T18:25:27Z</dc:date>
    </item>
  </channel>
</rss>

