<?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: Multiple If Statements in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Multiple-If-Statements/m-p/1005684#M946748</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think that your expression &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;EM&gt;sum({&amp;lt;[Transaction Status] = {'Request Completed'},&lt;/EM&gt;&lt;/SPAN&gt;&lt;EM style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[Transaction Status] = {'Held'}&lt;/EM&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;EM&gt;,[Transaction Sold Flag]={'N'},[Active Flag]={'Active'}&amp;gt;}USD)&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;will consider both transaction status values, I believe there should be only one field selection per set modifier (i.e. only a one time appearance of &lt;EM&gt;[Transaction Status] =&lt;/EM&gt; ... within &lt;EM&gt;&amp;lt;....&amp;gt;&lt;/EM&gt; ).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;Have you tried your expression? And have you tried a field selection with an element set&lt;EM&gt; {&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;'Request Completed',&lt;/SPAN&gt;&lt;/EM&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;'Held'}&lt;/EM&gt; ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Dec 2015 17:14:02 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2015-12-30T17:14:02Z</dc:date>
    <item>
      <title>Multiple If Statements</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-If-Statements/m-p/1005680#M946744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the need to add a condition to a report.&amp;nbsp; Currently there are multiple conditions on the report but for one of the fields I need to add another status type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently it looks like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;[Transaction Status] = {'Request Completed'},[Transaction Sold Flag]={'N'},[Active Flag]={'Active'}&amp;gt;}USD)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to also include the Transaction status of Held, could I just do this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;sum({&amp;lt;[Transaction Status] = {'Request Completed'},&lt;SPAN style="font-size: 13.3333px;"&gt;[Transaction Status] = {'Held'}&lt;/SPAN&gt;,[Transaction Sold Flag]={'N'},[Active Flag]={'Active'}&amp;gt;}USD)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Dec 2015 16:34:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-If-Statements/m-p/1005680#M946744</guid>
      <dc:creator />
      <dc:date>2015-12-30T16:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple If Statements</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-If-Statements/m-p/1005681#M946745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;sum({&amp;lt;[Transaction Status] = &lt;STRONG&gt;{'Request Completed',&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;'Held'}&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;, [Transaction Sold Flag]={'N'},[Active Flag]={'Active'}&amp;gt;}USD)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Dec 2015 16:39:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-If-Statements/m-p/1005681#M946745</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-12-30T16:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple If Statements</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-If-Statements/m-p/1005682#M946746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;sum({&amp;lt;[Transaction Status] = {'Request Completed',&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;'Held'&lt;/SPAN&gt;},&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;[Transaction Sold Flag]={'N'},[Active Flag]={'Active'}&amp;gt;}USD)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Dec 2015 16:39:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-If-Statements/m-p/1005682#M946746</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2015-12-30T16:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple If Statements</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-If-Statements/m-p/1005683#M946747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jason,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes, you can.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you'll find any difficulties with set analysis then try with normal if condition with "or" function.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Dec 2015 16:40:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-If-Statements/m-p/1005683#M946747</guid>
      <dc:creator />
      <dc:date>2015-12-30T16:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple If Statements</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-If-Statements/m-p/1005684#M946748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think that your expression &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;EM&gt;sum({&amp;lt;[Transaction Status] = {'Request Completed'},&lt;/EM&gt;&lt;/SPAN&gt;&lt;EM style="color: #3d3d3d; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[Transaction Status] = {'Held'}&lt;/EM&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;EM&gt;,[Transaction Sold Flag]={'N'},[Active Flag]={'Active'}&amp;gt;}USD)&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;will consider both transaction status values, I believe there should be only one field selection per set modifier (i.e. only a one time appearance of &lt;EM&gt;[Transaction Status] =&lt;/EM&gt; ... within &lt;EM&gt;&amp;lt;....&amp;gt;&lt;/EM&gt; ).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;Have you tried your expression? And have you tried a field selection with an element set&lt;EM&gt; {&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;'Request Completed',&lt;/SPAN&gt;&lt;/EM&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM&gt;'Held'}&lt;/EM&gt; ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Dec 2015 17:14:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-If-Statements/m-p/1005684#M946748</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-12-30T17:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple If Statements</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-If-Statements/m-p/1005685#M946749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Agree with swuehl, who's syntax appears valid the first time.&amp;nbsp; This 'correct' answer needs an NFL's coach's review flag. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/laugh.png" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Dec 2015 17:26:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-If-Statements/m-p/1005685#M946749</guid>
      <dc:creator>evan_kurowski</dc:creator>
      <dc:date>2015-12-30T17:26:20Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple If Statements</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-If-Statements/m-p/1005686#M946750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;LOL, love that the challenge flag just got thrown in on a QlikView community thread.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will play with the data and see how it works with both.&amp;nbsp; I added the statement that I had first entered in and the data never changed, after further review I found deep in the script that the value 'N" for Transaction Sold Flag is set to N if the Transaction Status is 'Held', so the request from the user was redundant. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which is why when I entered the new syntax in the results didn't change.&amp;nbsp; Either way I will play with some data and get back to the thread and see which way works, maybe both do.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Dec 2015 17:32:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-If-Statements/m-p/1005686#M946750</guid>
      <dc:creator />
      <dc:date>2015-12-30T17:32:44Z</dc:date>
    </item>
  </channel>
</rss>

