<?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: Simple If condition in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Simple-If-condition-in-set-analysis/m-p/410901#M152972</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find attached file for solution, for Actions -&amp;gt; Set Variable -&amp;gt; MF/MA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should not give 'MF' or 'MA' with single quotes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Feb 2013 19:51:46 GMT</pubDate>
    <dc:creator>jagan</dc:creator>
    <dc:date>2013-02-06T19:51:46Z</dc:date>
    <item>
      <title>Simple If condition in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-If-condition-in-set-analysis/m-p/410899#M152970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I am trying use below expression to derive sales for different vehicles:&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;STRONG&gt;IF(vSelectedVehicle = 'MF','SUM({&amp;lt;vehicle={'MFV}&amp;gt;}sales')','SUM({&amp;lt;vehicle={'MAV'}&amp;gt;}sales)').&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;It is not computing the value. QVW has been attached&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Dasu.G&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2013 17:09:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-If-condition-in-set-analysis/m-p/410899#M152970</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-06T17:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: Simple If condition in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-If-condition-in-set-analysis/m-p/410900#M152971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this is the correct expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;IF&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;vSelectedVehicle&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; = 'MF',&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;SUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;vehicle&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'MFV'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;sales&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;SUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;vehicle&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={'MAV'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;sales&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2013 17:13:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-If-condition-in-set-analysis/m-p/410900#M152971</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2013-02-06T17:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: Simple If condition in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-If-condition-in-set-analysis/m-p/410901#M152972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find attached file for solution, for Actions -&amp;gt; Set Variable -&amp;gt; MF/MA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should not give 'MF' or 'MA' with single quotes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2013 19:51:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-If-condition-in-set-analysis/m-p/410901#M152972</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2013-02-06T19:51:46Z</dc:date>
    </item>
  </channel>
</rss>

