<?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 match statment? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/If-match-statment/m-p/982858#M335414</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not really sure how you data is structured, would you be able to prepare a small sample?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Nov 2015 11:25:55 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-11-12T11:25:55Z</dc:date>
    <item>
      <title>If match statment?</title>
      <link>https://community.qlik.com/t5/QlikView/If-match-statment/m-p/982855#M335411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to solve this problem and cant get my head around it,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a statight table that looks like this. I need a calculation that shows the value 1 if a single SSN has the value smoke and snuff on a matching date. Ive tryed a if match statment like this but cant get i right&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;&lt;SPAN style="color: #0000ff; font-size: 18pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt;"&gt;&lt;STRONG style=": ; color: #ff0000;"&gt;(&lt;/STRONG&gt;&lt;SPAN style="color: #0000ff;"&gt;Match&lt;/SPAN&gt;(&lt;SPAN style="color: #800000;"&gt;Signed&lt;/SPAN&gt;,&lt;SPAN style="color: #800000;"&gt;SSN&lt;/SPAN&gt;, &lt;SPAN style="color: #800000;"&gt;Rökare&lt;/SPAN&gt; &lt;SPAN style="color: #0000ff;"&gt;and&lt;/SPAN&gt; &lt;SPAN style="color: #800000;"&gt;Snusare&lt;/SPAN&gt;='1', 1)&amp;nbsp; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 419px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="18" style="border: 0.5pt solid gainsboro; border-image: none; background-color: whitesmoke;" width="102"&gt;&lt;STRONG style="color: #333333; font-family: Tahoma;"&gt;SSN&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD style="border-width: 0.5pt 0.5pt 0.5pt 0px; border-style: solid solid solid none; border-color: gainsboro gainsboro gainsboro #333333; background-color: whitesmoke;" width="113"&gt;&lt;STRONG style="color: #333333; font-family: Tahoma;"&gt;Signed&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD style="border-width: 0.5pt 0.5pt 0.5pt 0px; border-style: solid solid solid none; border-color: gainsboro gainsboro gainsboro #333333; background-color: whitesmoke;" width="102"&gt;&lt;STRONG style="color: #333333; font-family: Tahoma;"&gt;Smoke&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD style="border-width: 0.5pt 0.5pt 0.5pt 0px; border-style: solid solid solid none; border-color: gainsboro gainsboro gainsboro #333333; background-color: whitesmoke;" width="102"&gt;&lt;STRONG style="color: #333333; font-family: Tahoma;"&gt;Snuff&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="18" style="border-width: 0px 0.5pt 0.5pt; border-style: none solid solid; border-color: #333333 gainsboro gainsboro; background-color: white;"&gt;&lt;SPAN style="color: #333333; font-family: Tahoma;"&gt;565656&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #333333 gainsboro gainsboro #333333; background-color: white;"&gt;&lt;SPAN style="color: #333333; font-family: Tahoma;"&gt;2015-07-01 10:38&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #333333 gainsboro gainsboro #333333; background-color: white;"&gt;&lt;SPAN style="color: #333333; font-family: Tahoma;"&gt;1&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #333333 gainsboro gainsboro #333333; background-color: white;"&gt;&lt;SPAN style="color: #333333; font-family: Tahoma;"&gt;-&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="18" style="border-width: 0px 0.5pt 0.5pt; border-style: none solid solid; border-color: #333333 gainsboro gainsboro; background-color: white;"&gt;&lt;SPAN style="color: #333333; font-family: Tahoma;"&gt;565656&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #333333 gainsboro gainsboro #333333; background-color: white;"&gt;&lt;SPAN style="color: #333333; font-family: Tahoma;"&gt;2015-07-01 10:38&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #333333 gainsboro gainsboro #333333; background-color: white;"&gt;&lt;SPAN style="color: #333333; font-family: Tahoma;"&gt;-&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #333333 gainsboro gainsboro #333333; background-color: white;"&gt;&lt;SPAN style="color: #333333; font-family: Tahoma;"&gt;1&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2015 10:57:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-match-statment/m-p/982855#M335411</guid>
      <dc:creator />
      <dc:date>2015-11-12T10:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: If match statment?</title>
      <link>https://community.qlik.com/t5/QlikView/If-match-statment/m-p/982856#M335412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can we try like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 18pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; color: #ff0000;"&gt;(&lt;/STRONG&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #800000;"&gt;Signed='1' &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;or &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #800000;"&gt;SSN='1' or &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #800000;"&gt;Rökare='1' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;or&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #800000;"&gt;Snusare&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;='1', 1) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 18pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 18pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;or depend on what you need&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 18pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 18pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN&gt;&lt;SPAN style="font-size: 18pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 18pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit; color: #ff0000;"&gt;(&lt;/STRONG&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #800000;"&gt;Signed='1' and&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #800000;"&gt;SSN='1' and &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #800000;"&gt;Rökare='1' &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #800000;"&gt;Snusare&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d;"&gt;='1', 1) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2015 11:07:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-match-statment/m-p/982856#M335412</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-12T11:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: If match statment?</title>
      <link>https://community.qlik.com/t5/QlikView/If-match-statment/m-p/982857#M335413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;are u looking for this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="exp.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/105252_exp.PNG" style="height: 294px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2015 11:18:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-match-statment/m-p/982857#M335413</guid>
      <dc:creator>buzzy996</dc:creator>
      <dc:date>2015-11-12T11:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: If match statment?</title>
      <link>https://community.qlik.com/t5/QlikView/If-match-statment/m-p/982858#M335414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not really sure how you data is structured, would you be able to prepare a small sample?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2015 11:25:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-match-statment/m-p/982858#M335414</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-11-12T11:25:55Z</dc:date>
    </item>
    <item>
      <title>Re: If match statment?</title>
      <link>https://community.qlik.com/t5/QlikView/If-match-statment/m-p/982859#M335415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Shiva's proposed solution seems to show the correct answer, but as Sunny has suggested a small data set or QVW would help, as I would suggest looking at the data model, I would normally expect the&amp;nbsp; to see you example as one line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="border: 0px; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;TBODY style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD height="18" style="padding-right: 4px; padding-left: 4px; border: 0.5pt solid gainsboro; font-style: inherit; font-family: inherit; background-color: whitesmoke;" width="102"&gt;&lt;STRONG style="font-style: inherit; font-family: Tahoma; color: #333333;"&gt;SSN&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border-width: 0.5pt 0.5pt 0.5pt 0px; border-style: solid solid solid none; border-color: gainsboro gainsboro gainsboro #333333; font-style: inherit; font-family: inherit; background-color: whitesmoke;" width="113"&gt;&lt;STRONG style="font-style: inherit; font-family: Tahoma; color: #333333;"&gt;Signed&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border-width: 0.5pt 0.5pt 0.5pt 0px; border-style: solid solid solid none; border-color: gainsboro gainsboro gainsboro #333333; font-style: inherit; font-family: inherit; background-color: whitesmoke;" width="102"&gt;&lt;STRONG style="font-style: inherit; font-family: Tahoma; color: #333333;"&gt;Smoke&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border-width: 0.5pt 0.5pt 0.5pt 0px; border-style: solid solid solid none; border-color: gainsboro gainsboro gainsboro #333333; font-style: inherit; font-family: inherit; background-color: whitesmoke;" width="102"&gt;&lt;STRONG style="font-style: inherit; font-family: Tahoma; color: #333333;"&gt;Snuff&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD height="18" style="padding-right: 4px; padding-left: 4px; border-width: 0px 0.5pt 0.5pt; border-style: none solid solid; border-color: #333333 gainsboro gainsboro; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: Tahoma; color: #333333;"&gt;565656&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" style="padding-right: 4px; padding-left: 4px; border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #333333 gainsboro gainsboro #333333; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: Tahoma; color: #333333;"&gt;2015-07-01 10:38&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #333333 gainsboro gainsboro #333333; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: Tahoma; color: #333333;"&gt;1&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD style="padding-right: 4px; padding-left: 4px; border-width: 0px 0.5pt 0.5pt 0px; border-style: none solid solid none; border-color: #333333 gainsboro gainsboro #333333; font-style: inherit; font-family: inherit;"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then the set analysis would be easy, or even script a flag.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Nov 2015 14:39:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-match-statment/m-p/982859#M335415</guid>
      <dc:creator>Mark_Little</dc:creator>
      <dc:date>2015-11-12T14:39:40Z</dc:date>
    </item>
  </channel>
</rss>

