<?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 function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/If-function/m-p/1168075#M912917</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if I understand your request, but maybe like this?&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: 16px;"&gt;=Sum( {$&amp;lt;Process_Gruppe = {'Frysere' }, varegruppe= {'APP'} &amp;gt;} Salgsantal)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 May 2016 09:41:25 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2016-05-30T09:41:25Z</dc:date>
    <item>
      <title>If function</title>
      <link>https://community.qlik.com/t5/QlikView/If-function/m-p/1168074#M912916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;I have a Qlikview &lt;/SPAN&gt;&lt;SPAN style="font-size: 16px;"&gt;table&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; containing&amp;nbsp; various products. All products are in pieces . All products have an extra code&amp;nbsp; ' APP ' ' RES ' ' FOR' or ' SUB * . In one column called ' Frysere ' I only &lt;/SPAN&gt;&lt;SPAN style="font-size: 16px;"&gt;want&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; products of the type ' APP ' .I can't just select APP &lt;/SPAN&gt;&lt;SPAN style="font-size: 16px;"&gt;because&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; the other &lt;/SPAN&gt;&lt;SPAN style="font-size: 16px;"&gt;columns&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt;"&gt; contains other then APP and i need it to be like that.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-size: 12pt; font-family: arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-size: 12pt; font-family: arial, sans-serif;"&gt; I have tried this line in properties in the column. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 12pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #212121; font-family: arial, sans-serif; font-size: 12pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;if(match(varegruppe,'APP' = Sum( {$&amp;lt;Process_Gruppe = {'Frysere' } &amp;gt;}Salgsantal))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;The part of the line works fine &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 12pt;"&gt;Sum( {$&amp;lt;Process_Gruppe = {'Frysere' } &amp;gt;}Salgsantal))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;Do &lt;/SPAN&gt;&lt;SPAN style="color: #212121; font-size: 12pt; font-family: arial, sans-serif;"&gt;you have some some good ideas&lt;/SPAN&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/If-function/m-p/1168074#M912916</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: If function</title>
      <link>https://community.qlik.com/t5/QlikView/If-function/m-p/1168075#M912917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if I understand your request, but maybe like this?&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: 16px;"&gt;=Sum( {$&amp;lt;Process_Gruppe = {'Frysere' }, varegruppe= {'APP'} &amp;gt;} Salgsantal)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 May 2016 09:41:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-function/m-p/1168075#M912917</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-05-30T09:41:25Z</dc:date>
    </item>
    <item>
      <title>Re: If function</title>
      <link>https://community.qlik.com/t5/QlikView/If-function/m-p/1168076#M912918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry it doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 10 columns and 3 of the columns need to be restricted to *APP' I have added the column varegrupper to show you that i doesn't work. &lt;IMG alt="Capture.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/126194_Capture.JPG" style="height: auto;" /&gt;&lt;IMG alt="expres.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/126195_expres.JPG" style="height: 304px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Frysere.JPG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/126196_Frysere.JPG" style="height: 335px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 May 2016 10:13:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-function/m-p/1168076#M912918</guid>
      <dc:creator />
      <dc:date>2016-05-30T10:13:03Z</dc:date>
    </item>
    <item>
      <title>Re: If function</title>
      <link>https://community.qlik.com/t5/QlikView/If-function/m-p/1168077#M912919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi swuehl&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You made me look in the right direction. The line that works is&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: blue;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: blue;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;Process_Gruppe&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;='Frysere' &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: blue;"&gt;And&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;VareRabatGr&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;='APP',&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: maroon;"&gt;Salgsantal&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Arial','sans-serif'; color: black;"&gt;Best regards&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 May 2016 10:27:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-function/m-p/1168077#M912919</guid>
      <dc:creator />
      <dc:date>2016-05-30T10:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: If function</title>
      <link>https://community.qlik.com/t5/QlikView/If-function/m-p/1168078#M912920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have spaces before and after the word APP? May be this if you do:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum( {$&amp;lt;Process_Gruppe = {'Frysere' }, varegruppe = {'&lt;SPAN style="color: #ff0000;"&gt;*&lt;/SPAN&gt;APP&lt;SPAN style="color: #ff0000;"&gt;*&lt;/SPAN&gt;'}&amp;gt;}Salgsantal))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 May 2016 11:02:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-function/m-p/1168078#M912920</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-30T11:02:01Z</dc:date>
    </item>
    <item>
      <title>Re: If function</title>
      <link>https://community.qlik.com/t5/QlikView/If-function/m-p/1168079#M912921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;In Set Analysis just write&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum({&amp;lt;&lt;SPAN style="color: #800000; font-family: Arial, sans-serif; font-size: 12px;"&gt;Process_Gruppe&lt;/SPAN&gt;= {'Frysere' }, &lt;SPAN style="color: #800000; font-family: Arial, sans-serif; font-size: 12px;"&gt;VareRabatGr&lt;/SPAN&gt;= {'APP'}&amp;gt;}&lt;SPAN style="color: #800000; font-family: Arial, sans-serif; font-size: 12px;"&gt;Salgsantal&lt;/SPAN&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Regards&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Mohit&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 May 2016 11:05:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-function/m-p/1168079#M912921</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2016-05-30T11:05:13Z</dc:date>
    </item>
    <item>
      <title>Re: If function</title>
      <link>https://community.qlik.com/t5/QlikView/If-function/m-p/1168080#M912922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This should work as well and should be better performing then the if statement:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;Process_Gruppe = {'Frysere'}, VareRabatGr = {'APP'}&amp;gt;} Salgsantal)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 May 2016 11:06:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-function/m-p/1168080#M912922</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-05-30T11:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: If function</title>
      <link>https://community.qlik.com/t5/QlikView/If-function/m-p/1168081#M912923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Glad that you found your solution, always double check field names in set modifiers or expressions in general, Qlik is case sensitive with regard to field names (and the field name must exist in you model &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 May 2016 11:46:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-function/m-p/1168081#M912923</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-05-30T11:46:08Z</dc:date>
    </item>
  </channel>
</rss>

