<?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 statement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Simple-If-statement/m-p/133707#M603148</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also, I am not sure why are you using 4 IFs when you want to return the same value for all. I would suggest something like this -&lt;/P&gt;&lt;P&gt;If(Match(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Ops Month], 'Jan'&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;, 'Feb',&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;'Mar',&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;'Apr'), &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;'Revenue 56M of Goal 53M', &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;'Other')&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 29 Aug 2018 14:09:08 GMT</pubDate>
    <dc:creator>neelamsaroha157</dc:creator>
    <dc:date>2018-08-29T14:09:08Z</dc:date>
    <item>
      <title>Simple If statement</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-If-statement/m-p/133702#M603143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I need to build out a simple if statement, but I am having issues and don't see where my error could be, I have to continue to December but I cant get this to work, can anyone see where my error is?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;P&gt;(&lt;/P&gt;&lt;P&gt;if([Ops Month], 'Jan', 'Revenue 56M of Goal 53M'),&lt;/P&gt;&lt;P&gt;if([Ops Month], 'Feb', 'Revenue 56M of Goal 53M'),&lt;/P&gt;&lt;P&gt;if([Ops Month], 'Mar', 'Revenue 56M of Goal 53M'),&lt;/P&gt;&lt;P&gt;if([Ops Month], 'Apr', 'Revenue 56M of Goal 53M'),&lt;/P&gt;&lt;P&gt;'Other'&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2018 13:57:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-If-statement/m-p/133702#M603143</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-29T13:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: Simple If statement</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-If-statement/m-p/133703#M603144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please explain the condition in words, as above syntax is not appropriate. &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: 13px;"&gt;IF( Condition&amp;nbsp; , True, If( Condition , True) ) &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: 13px;"&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: 13px;"&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Scripting/ConditionalFunctions/if.htm" title="https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Scripting/ConditionalFunctions/if.htm"&gt;https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Scripting/ConditionalFunctions/if.htm&lt;/A&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: 13px;"&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: 13px;"&gt;Hope this helps.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2018 14:05:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-If-statement/m-p/133703#M603144</guid>
      <dc:creator>vamsee</dc:creator>
      <dc:date>2018-08-29T14:05:12Z</dc:date>
    </item>
    <item>
      <title>Re: Simple If statement</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-If-statement/m-p/133704#M603145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;it's wrong the nesting&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;( //useless &lt;SPAN style="font-size: 13.3333px;"&gt;parenthesis &lt;/SPAN&gt;?&lt;/P&gt;&lt;P&gt;if([Ops Month]= 'Jan', 'Revenue 56M of Goal 53M',&lt;/P&gt;&lt;P&gt;if([Ops Month]= 'Feb', 'Revenue 56M of Goal 53M',&lt;/P&gt;&lt;P&gt;if([Ops Month]= 'Mar', 'Revenue 56M of Goal 53M',&lt;/P&gt;&lt;P&gt;if([Ops Month]= 'Apr', 'Revenue 56M of Goal 53M',&lt;/P&gt;&lt;P&gt;'Other'))))&lt;/P&gt;&lt;P&gt;) &lt;SPAN style="font-size: 13.3333px;"&gt;//useless parenthesis?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Simone&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2018 14:06:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-If-statement/m-p/133704#M603145</guid>
      <dc:creator>simospa</dc:creator>
      <dc:date>2018-08-29T14:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: Simple If statement</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-If-statement/m-p/133705#M603146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if([Ops Month], 'Jan', 'Revenue 56M of Goal 53M',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if([Ops Month], 'Feb', 'Revenue 56M of Goal 53M',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if([Ops Month], 'Mar', 'Revenue 56M of Goal 53M',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;if([Ops Month], 'Apr', 'Revenue 56M of Goal 53M',&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;'Other'&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;))))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2018 14:06:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-If-statement/m-p/133705#M603146</guid>
      <dc:creator>neelamsaroha157</dc:creator>
      <dc:date>2018-08-29T14:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: Simple If statement</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-If-statement/m-p/133706#M603147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello and thank you for the reply.&lt;/P&gt;&lt;P&gt;I have a selection of month and based on the selection I want the script to pop up, so if they select Jan then i want the phrase 'Revenue 123M of Goal 123M' to be displayed &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2018 14:07:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-If-statement/m-p/133706#M603147</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-29T14:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: Simple If statement</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-If-statement/m-p/133707#M603148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also, I am not sure why are you using 4 IFs when you want to return the same value for all. I would suggest something like this -&lt;/P&gt;&lt;P&gt;If(Match(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Ops Month], 'Jan'&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;, 'Feb',&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;'Mar',&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;'Apr'), &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;'Revenue 56M of Goal 53M', &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;'Other')&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2018 14:09:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-If-statement/m-p/133707#M603148</guid>
      <dc:creator>neelamsaroha157</dc:creator>
      <dc:date>2018-08-29T14:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: Simple If statement</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-If-statement/m-p/133708#M603149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You will be able to achieve this in a single IF statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF( Match(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;([Ops Month],&amp;nbsp; 'Jan', 'Feb', 'Mar', 'Apr'), &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; 'Revenue 123M of Goal 123M'&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;, 'Other')&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Aug 2018 14:15:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-If-statement/m-p/133708#M603149</guid>
      <dc:creator>vamsee</dc:creator>
      <dc:date>2018-08-29T14:15:10Z</dc:date>
    </item>
  </channel>
</rss>

