<?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: Best way to create an If statement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Best-way-to-create-an-If-statement/m-p/1248746#M869807</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, this worked perfectly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Nov 2016 15:15:36 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-11-30T15:15:36Z</dc:date>
    <item>
      <title>Best way to create an If statement</title>
      <link>https://community.qlik.com/t5/QlikView/Best-way-to-create-an-If-statement/m-p/1248742#M869803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am brand new to Qlik.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a report that reflects Expenditure Types, budgets, actuals, etc.&amp;nbsp; However, the report I need to provide my supervisor has 16 categories and every expenditure type falls in one of those 16 categories. &lt;/P&gt;&lt;P&gt;Example: &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Expenditure Type is &lt;STRONG&gt;FB, Wage Emp &lt;/STRONG&gt; in a new column I want it to fall under my category &lt;STRONG&gt;FB&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Under Expressions I have created a Label of Category and have tried the following scripts.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF([Expenditure Type]=FB Wage Emp,FB,)&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF([Expenditure Type]=FB Wage Emp,FB,'')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/145197_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Best-way-to-create-an-If-statement/m-p/1248742#M869803</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to create an If statement</title>
      <link>https://community.qlik.com/t5/QlikView/Best-way-to-create-an-If-statement/m-p/1248743#M869804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= IF(match([Expenditure Type], 'FB', 'Wage', 'Emp'), 'FB') &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2016 21:56:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Best-way-to-create-an-If-statement/m-p/1248743#M869804</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2016-11-29T21:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to create an If statement</title>
      <link>https://community.qlik.com/t5/QlikView/Best-way-to-create-an-If-statement/m-p/1248744#M869805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I&amp;nbsp; am&amp;nbsp; not sure, I understand your concern.&amp;nbsp; but,&amp;nbsp; for ref it's typo error.&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 style="font-size: 28.6924px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Replace(IF([Expenditure Type]='FB Wage Emp','FB'),'')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2016 00:55:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Best-way-to-create-an-If-statement/m-p/1248744#M869805</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-11-30T00:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to create an If statement</title>
      <link>https://community.qlik.com/t5/QlikView/Best-way-to-create-an-If-statement/m-p/1248745#M869806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tara,&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;check like this&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;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;IF([Expenditure Type]='FB' or &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Expenditure Type]='&lt;/SPAN&gt;Wage Emp',FB,&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Expenditure Type]&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2016 06:31:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Best-way-to-create-an-If-statement/m-p/1248745#M869806</guid>
      <dc:creator>ramasaisaksoft</dc:creator>
      <dc:date>2016-11-30T06:31:06Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to create an If statement</title>
      <link>https://community.qlik.com/t5/QlikView/Best-way-to-create-an-If-statement/m-p/1248746#M869807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, this worked perfectly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2016 15:15:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Best-way-to-create-an-If-statement/m-p/1248746#M869807</guid>
      <dc:creator />
      <dc:date>2016-11-30T15:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to create an If statement</title>
      <link>https://community.qlik.com/t5/QlikView/Best-way-to-create-an-If-statement/m-p/1248747#M869808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the assistance.  I was finally able to make it work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2016 15:16:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Best-way-to-create-an-If-statement/m-p/1248747#M869808</guid>
      <dc:creator />
      <dc:date>2016-11-30T15:16:47Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to create an If statement</title>
      <link>https://community.qlik.com/t5/QlikView/Best-way-to-create-an-If-statement/m-p/1248748#M869809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the assistance.  I was finally able to make it work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2016 15:16:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Best-way-to-create-an-If-statement/m-p/1248748#M869809</guid>
      <dc:creator />
      <dc:date>2016-11-30T15:16:48Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to create an If statement</title>
      <link>https://community.qlik.com/t5/QlikView/Best-way-to-create-an-If-statement/m-p/1248749#M869810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;For what you expect &lt;STRONG&gt;IF&lt;/STRONG&gt; is bullshit.&lt;/P&gt;&lt;P&gt;Simply LOAD a mapping table in your script and add the new field (&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 13.3333px;"&gt;Expenditure Type Aggr&lt;/SPAN&gt;) in your chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;LOAD * INLINE [&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Expenditure Type, Expenditure Type Aggr&lt;/P&gt;
&lt;P&gt;&amp;nbsp; FB, FB&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Wage Emp, FB&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2016 15:22:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Best-way-to-create-an-If-statement/m-p/1248749#M869810</guid>
      <dc:creator>jhamard</dc:creator>
      <dc:date>2016-11-30T15:22:50Z</dc:date>
    </item>
    <item>
      <title>Re: Best way to create an If statement</title>
      <link>https://community.qlik.com/t5/QlikView/Best-way-to-create-an-If-statement/m-p/1248750#M869811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you close the thread. If its working now&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Nov 2016 16:50:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Best-way-to-create-an-If-statement/m-p/1248750#M869811</guid>
      <dc:creator>rupamjyotidas</dc:creator>
      <dc:date>2016-11-30T16:50:47Z</dc:date>
    </item>
  </channel>
</rss>

