<?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: Using &amp;quot;if statement&amp;quot; in load statement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-quot-if-statement-quot-in-load-statement/m-p/866067#M302972</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try writting &lt;STRONG&gt;Null()&lt;/STRONG&gt; in your expresion.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Jun 2015 22:01:27 GMT</pubDate>
    <dc:creator>ecolomer</dc:creator>
    <dc:date>2015-06-19T22:01:27Z</dc:date>
    <item>
      <title>Using "if statement" in load statement</title>
      <link>https://community.qlik.com/t5/QlikView/Using-quot-if-statement-quot-in-load-statement/m-p/866066#M302971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using a panel dataset which contain two separate categories.&amp;nbsp; I would like to separate out by one of the categories.&amp;nbsp; For instance,&amp;nbsp; I have one category which is region, and the other as employment type.&amp;nbsp; I would like to write an if statement to only load the regions for a single employment type.&amp;nbsp; I tried using the following, but it keeps causing an error- "Field not found"&amp;nbsp;&amp;nbsp; I think this statement implies that "management_occupations" is a field, but it's a value.&amp;nbsp; How should I change this so that it only pulls the regions where OCC_TITLE = "Management_Occupations"? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AREA_NAME as MSA,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "LOC QUOTIENT" as LQ_MSA,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; H_MEDIAN,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If("OCC_TITLE" = [Management Occupations], "OCC_TITLE", NULL) as Management_Occupation&lt;/P&gt;&lt;P&gt;FROM [lib://Employment/MSA_M2014_dl.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is MSA_dl);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2015 21:55:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-quot-if-statement-quot-in-load-statement/m-p/866066#M302971</guid>
      <dc:creator>jleefjcapital</dc:creator>
      <dc:date>2015-06-19T21:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: Using "if statement" in load statement</title>
      <link>https://community.qlik.com/t5/QlikView/Using-quot-if-statement-quot-in-load-statement/m-p/866067#M302972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try writting &lt;STRONG&gt;Null()&lt;/STRONG&gt; in your expresion.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2015 22:01:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-quot-if-statement-quot-in-load-statement/m-p/866067#M302972</guid>
      <dc:creator>ecolomer</dc:creator>
      <dc:date>2015-06-19T22:01:27Z</dc:date>
    </item>
    <item>
      <title>Re: Using "if statement" in load statement</title>
      <link>https://community.qlik.com/t5/QlikView/Using-quot-if-statement-quot-in-load-statement/m-p/866068#M302973</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 style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AREA_NAME as MSA,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "LOC QUOTIENT" as LQ_MSA,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; H_MEDIAN,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If("OCC_TITLE" = 'Management Occupations', "OCC_TITLE", NULL() ) as "Management_Occupation"&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;FROM [lib://Employment/MSA_M2014_dl.xlsx]&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(ooxml, embedded labels, table is MSA_dl);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2015 22:06:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-quot-if-statement-quot-in-load-statement/m-p/866068#M302973</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-06-19T22:06:54Z</dc:date>
    </item>
    <item>
      <title>Re: Using "if statement" in load statement</title>
      <link>https://community.qlik.com/t5/QlikView/Using-quot-if-statement-quot-in-load-statement/m-p/866069#M302974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is the same I said&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2015 22:08:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-quot-if-statement-quot-in-load-statement/m-p/866069#M302974</guid>
      <dc:creator>ecolomer</dc:creator>
      <dc:date>2015-06-19T22:08:21Z</dc:date>
    </item>
    <item>
      <title>Re: Using "if statement" in load statement</title>
      <link>https://community.qlik.com/t5/QlikView/Using-quot-if-statement-quot-in-load-statement/m-p/866070#M302975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I added also single quotes around the literal 'Management Occupations'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2015 22:17:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-quot-if-statement-quot-in-load-statement/m-p/866070#M302975</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-06-19T22:17:38Z</dc:date>
    </item>
    <item>
      <title>Re: Using "if statement" in load statement</title>
      <link>https://community.qlik.com/t5/QlikView/Using-quot-if-statement-quot-in-load-statement/m-p/866071#M302976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, I'm sorry&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2015 22:18:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-quot-if-statement-quot-in-load-statement/m-p/866071#M302976</guid>
      <dc:creator>ecolomer</dc:creator>
      <dc:date>2015-06-19T22:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: Using "if statement" in load statement</title>
      <link>https://community.qlik.com/t5/QlikView/Using-quot-if-statement-quot-in-load-statement/m-p/866072#M302977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;If(OCC_TITLE = 'Management Occupations', OCC_TITLE) as Management_Occupation&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;should also work.&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;regards&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;Marco&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Jun 2015 00:14:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-quot-if-statement-quot-in-load-statement/m-p/866072#M302977</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2015-06-20T00:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: Using "if statement" in load statement</title>
      <link>https://community.qlik.com/t5/QlikView/Using-quot-if-statement-quot-in-load-statement/m-p/866073#M302978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2015 15:27:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-quot-if-statement-quot-in-load-statement/m-p/866073#M302978</guid>
      <dc:creator>jleefjcapital</dc:creator>
      <dc:date>2015-06-22T15:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: Using "if statement" in load statement</title>
      <link>https://community.qlik.com/t5/QlikView/Using-quot-if-statement-quot-in-load-statement/m-p/866074#M302979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank&amp;nbsp; you! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2015 15:29:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-quot-if-statement-quot-in-load-statement/m-p/866074#M302979</guid>
      <dc:creator>jleefjcapital</dc:creator>
      <dc:date>2015-06-22T15:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: Using "if statement" in load statement</title>
      <link>https://community.qlik.com/t5/QlikView/Using-quot-if-statement-quot-in-load-statement/m-p/866075#M302980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Jun 2015 15:30:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-quot-if-statement-quot-in-load-statement/m-p/866075#M302980</guid>
      <dc:creator>jleefjcapital</dc:creator>
      <dc:date>2015-06-22T15:30:03Z</dc:date>
    </item>
    <item>
      <title>Re: Using "if statement" in load statement</title>
      <link>https://community.qlik.com/t5/QlikView/Using-quot-if-statement-quot-in-load-statement/m-p/866076#M302981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you're welcome&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2015 06:14:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-quot-if-statement-quot-in-load-statement/m-p/866076#M302981</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2015-06-23T06:14:09Z</dc:date>
    </item>
  </channel>
</rss>

