<?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: IF statement - Multiple criteria in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/IF-statement-Multiple-criteria/m-p/1639194#M732220</link>
    <description>&lt;P&gt;What exactly is your condition here?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;If(Year2Date(PERIOD, -1, If(Month(LatestDate) &amp;gt; 11, 1, Month(LatestDate)+1),LatestDate)&lt;/LI-CODE&gt;&lt;P&gt;What are you checking Year2Date to?&lt;/P&gt;</description>
    <pubDate>Wed, 23 Oct 2019 19:29:48 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2019-10-23T19:29:48Z</dc:date>
    <item>
      <title>IF statement - Multiple criteria</title>
      <link>https://community.qlik.com/t5/QlikView/IF-statement-Multiple-criteria/m-p/1639179#M732219</link>
      <description>&lt;P&gt;Dear community&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need some help with the following:sum(if(Year2Date(PERIOD,-1,if(MONTH(LatestDate)&amp;gt;11,1,MONTH(LatestDate)+1),LatestDate),IF(BRAND='Pr1' , 'Pr2',$(vMeasure))))/1000&lt;/P&gt;&lt;P&gt;I have the above formula, I am struggling to get the multiple IF criteria to function correctly. What would be the correct syntax.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-statement-Multiple-criteria/m-p/1639179#M732219</guid>
      <dc:creator>george456</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement - Multiple criteria</title>
      <link>https://community.qlik.com/t5/QlikView/IF-statement-Multiple-criteria/m-p/1639194#M732220</link>
      <description>&lt;P&gt;What exactly is your condition here?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;If(Year2Date(PERIOD, -1, If(Month(LatestDate) &amp;gt; 11, 1, Month(LatestDate)+1),LatestDate)&lt;/LI-CODE&gt;&lt;P&gt;What are you checking Year2Date to?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2019 19:29:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-statement-Multiple-criteria/m-p/1639194#M732220</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2019-10-23T19:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement - Multiple criteria</title>
      <link>https://community.qlik.com/t5/QlikView/IF-statement-Multiple-criteria/m-p/1639195#M732221</link>
      <description>&lt;P&gt;Dear Community&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have sorted the problem with the below formula:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;SUM({&amp;lt;BRAND={'Pr1','PR 2'}&amp;gt;}if(Year2Date(PERIOD,-1,if(MONTH(LatestDate)&amp;gt;11,1,MONTH(LatestDate)+1),LatestDate),$(vMeasure)))/1000&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2019 19:31:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-statement-Multiple-criteria/m-p/1639195#M732221</guid>
      <dc:creator>george456</dc:creator>
      <dc:date>2019-10-23T19:31:02Z</dc:date>
    </item>
    <item>
      <title>Re: IF statement - Multiple criteria</title>
      <link>https://community.qlik.com/t5/QlikView/IF-statement-Multiple-criteria/m-p/1639196#M732222</link>
      <description>&lt;P&gt;Thanks for quick reply, I managed to sort it out.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2019 19:32:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/IF-statement-Multiple-criteria/m-p/1639196#M732222</guid>
      <dc:creator>george456</dc:creator>
      <dc:date>2019-10-23T19:32:09Z</dc:date>
    </item>
  </channel>
</rss>

