<?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: Help with understanding this code in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-with-understanding-this-code/m-p/1339990#M615995</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ajinkya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per the code that you have posted, you should either get '&lt;STRONG&gt;legit close&lt;/STRONG&gt;' or '&lt;STRONG&gt;past MR&lt;/STRONG&gt;' as dimension values for &lt;STRONG&gt;LM_TAL_FLAG&lt;/STRONG&gt;. So as per your code, you will never get '&lt;STRONG&gt;Rejected&lt;/STRONG&gt;' as value under &lt;STRONG&gt;LM_TAL_FLAG&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Coming back to the question, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;LM_TAL_Flag -= {'Rejected'}&lt;/STRONG&gt; would yield you all the data where &lt;STRONG&gt;LM_TAL_FLAG={'legit close','past MR'}&lt;/STRONG&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;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&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;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;Shashidhar Nadiger&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Jun 2017 04:23:24 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-06-09T04:23:24Z</dc:date>
    <item>
      <title>Help with understanding this code</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-understanding-this-code/m-p/1339989#M615994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to QlikSense and I am trying to understand this code. Can you help:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; If((WildMatch([Lead_Status_Reason__c], '*Do Not Contact*','*Duplicate*','*Incorrect Contact Info*','*Wrong*','*Reseller*') = 0 and &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Match([Lead_Status__c],'7. Closed')=1 ),'legit close',&lt;/P&gt;&lt;P&gt;If (WildMatch([Lead_Status__c],'*Nurture*','*Qualified*','*Sales*') = 0,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(WildMatch([Lead_Status_Reason__c], '*Do Not Contact*','*Duplicate*','*Incorrect Contact Info*','*Wrong*','*Reseller*') = 0 and &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Lead_Status__c &amp;lt;&amp;gt;'0. Outbound Call List','Legit','Rejected'),'past MR')) AS LM_TAL_Flag,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What happens if&amp;nbsp; LM_TAL_Flag -= {'Rejected'} ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jun 2017 22:00:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-understanding-this-code/m-p/1339989#M615994</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-08T22:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: Help with understanding this code</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-understanding-this-code/m-p/1339990#M615995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ajinkya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per the code that you have posted, you should either get '&lt;STRONG&gt;legit close&lt;/STRONG&gt;' or '&lt;STRONG&gt;past MR&lt;/STRONG&gt;' as dimension values for &lt;STRONG&gt;LM_TAL_FLAG&lt;/STRONG&gt;. So as per your code, you will never get '&lt;STRONG&gt;Rejected&lt;/STRONG&gt;' as value under &lt;STRONG&gt;LM_TAL_FLAG&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Coming back to the question, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;LM_TAL_Flag -= {'Rejected'}&lt;/STRONG&gt; would yield you all the data where &lt;STRONG&gt;LM_TAL_FLAG={'legit close','past MR'}&lt;/STRONG&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;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&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;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;Shashidhar Nadiger&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jun 2017 04:23:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-understanding-this-code/m-p/1339990#M615995</guid>
      <dc:creator />
      <dc:date>2017-06-09T04:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: Help with understanding this code</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-understanding-this-code/m-p/1339991#M615996</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;Suppose we analyze the current record of a table with many fields. A new field &lt;SPAN style="color: #ff0000;"&gt;[&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;LM_TAL_Flag]&lt;/SPAN&gt; is added&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;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG style="color: #0000ff; text-decoration: underline;"&gt;If((&lt;SPAN style="text-decoration: underline;"&gt;WildMatch([Lead_Status_Reason__c], '*Do Not Contact*','*Duplicate*','*Incorrect Contact Info*','*Wrong*','*Reseller*') = 0 and&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&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;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;&lt;SPAN style="color: #0000ff; text-decoration: underline;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Match([Lead_Status__c],'7. Closed')=1 ),'legit close'&lt;/SPAN&gt;,&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="color: #0000ff;"&gt;1) Checked condition: If in the value of field [Lead_Status_Reason__c], regardless of the case of letters, there are not fragments of the listed text (Do Not Contact etc.) and &lt;/EM&gt;&lt;EM style=": ; color: #0000ff; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;in the value of field [&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Lead_Status__c&lt;/STRONG&gt;], with the case of the letters, there a text (&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;7. Closed&lt;/STRONG&gt;) is the first, the value of field [&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;LM_TAL_Flag]&lt;/STRONG&gt; is '&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;legit close&lt;/STRONG&gt;'. Otherwise&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style=": ; color: #339966;"&gt;If (WildMatch([Lead_Status__c],'*Nurture*','*Qualified*','*Sales*') = 0,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #339966;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #00ff00;"&gt;&lt;SPAN style="color: #339966;"&gt;2) The following condition is verified: &lt;/SPAN&gt;&lt;EM style=": ; color: #339966; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;in the value of field [&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Lead_Status__c&lt;/STRONG&gt;], regardless of the case of letters, there are not fragments of the listed text (&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Nurture &lt;/STRONG&gt;etc.). If the condition is fulfilled, then the following conditions are checked, otherwise the field [&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;LM_TAL_Flag]&lt;/STRONG&gt; takes the value &lt;STRONG style=": ; color: #339966; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;'past MR'.&lt;/STRONG&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #00ff00;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&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;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&amp;nbsp; &lt;SPAN style="color: #ff00ff;"&gt; If(WildMatch([Lead_Status_Reason__c], '*Do Not Contact*','*Duplicate*','*Incorrect Contact Info*','*Wrong*','*Reseller*') = 0 and&lt;/SPAN&gt;&lt;/STRONG&gt;&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;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;SPAN style="color: #ff00ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Lead_Status__c &amp;lt;&amp;gt;'0. Outbound Call List','Legit','Rejected')&lt;/SPAN&gt;,&lt;SPAN style="color: #339966;"&gt;'past MR'&lt;/SPAN&gt;)) AS &lt;SPAN style="color: #ff0000;"&gt;LM_TAL_Flag&lt;/SPAN&gt;,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff00ff;"&gt;3) &lt;/SPAN&gt;&lt;EM style="color: #0000ff; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;SPAN style="color: #ff00ff;"&gt;Checked condition: If in the value of field [&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Lead_Status_Reason__c&lt;/STRONG&gt;], regardless of the case of letters, there are not fragments of the listed text (&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Do Not Contact&lt;/STRONG&gt; etc.) and &lt;/SPAN&gt;&lt;EM style="color: #0000ff; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;SPAN style="color: #ff00ff;"&gt;value of field [&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Lead_Status__c&lt;/STRONG&gt;] not equal &lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;'0. Outbound Call List'. &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #ff00ff;"&gt;If the condition is fulfilled, then the field [&lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;LM_TAL_Flag]&lt;/STRONG&gt; takes the value &lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;'Legit'&lt;/STRONG&gt;, otherwise &lt;STRONG style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;'Rejected'&lt;/STRONG&gt;. It should be emphasized that condition 3) is checked only if condition 2).&lt;/SPAN&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #0000ff; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;EM style="color: #ff00ff; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;It is difficult to answer question "What happens if&amp;nbsp; LM_TAL_Flag -= {'Rejected'} ?", we just do not see your data.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #575757;"&gt;I explained how I could, I hope it's clear &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #0000ff; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;EM style=": ; color: #575757; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Andrey&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #0000ff; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;EM style="color: #ff00ff; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="color: #0000ff; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;EM style="color: #ff00ff; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jun 2017 07:48:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-understanding-this-code/m-p/1339991#M615996</guid>
      <dc:creator>ahaahaaha</dc:creator>
      <dc:date>2017-06-09T07:48:10Z</dc:date>
    </item>
  </channel>
</rss>

