<?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 How change Expression with a Definition in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-change-Expression-with-a-Definition/m-p/970197#M332263</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a Problem with my Chart. I Need to have a Chart that change the Expression when the value of the variable change. The Problem is that I Need to Show 2 Expression in the same Chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex. vView is my variable. when vView = 'Yes' so my Expression will be A and B,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; when vView = 'No'&amp;nbsp; my Expression will be C and D,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try to put in Definitio of Expression this:&lt;/P&gt;&lt;P&gt;=if(vView='Yes', A and B, if(vView='NO',C and D))&amp;nbsp; .... The Format of the Expression is ok but dosn't work well...&lt;/P&gt;&lt;P&gt;Someone have an advance?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Nov 2015 08:48:46 GMT</pubDate>
    <dc:creator>pascos88</dc:creator>
    <dc:date>2015-11-24T08:48:46Z</dc:date>
    <item>
      <title>How change Expression with a Definition</title>
      <link>https://community.qlik.com/t5/QlikView/How-change-Expression-with-a-Definition/m-p/970197#M332263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a Problem with my Chart. I Need to have a Chart that change the Expression when the value of the variable change. The Problem is that I Need to Show 2 Expression in the same Chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex. vView is my variable. when vView = 'Yes' so my Expression will be A and B,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; when vView = 'No'&amp;nbsp; my Expression will be C and D,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try to put in Definitio of Expression this:&lt;/P&gt;&lt;P&gt;=if(vView='Yes', A and B, if(vView='NO',C and D))&amp;nbsp; .... The Format of the Expression is ok but dosn't work well...&lt;/P&gt;&lt;P&gt;Someone have an advance?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Nov 2015 08:48:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-change-Expression-with-a-Definition/m-p/970197#M332263</guid>
      <dc:creator>pascos88</dc:creator>
      <dc:date>2015-11-24T08:48:46Z</dc:date>
    </item>
  </channel>
</rss>

