<?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 Else expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/If-Else-expression/m-p/1370075#M418832</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You would need this for Pick Match....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Pick(WildMatch&lt;/STRONG&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(A, 'B', 'C*', 'D*') + 1, 'E', 'B','C','D')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Aug 2017 14:01:10 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2017-08-08T14:01:10Z</dc:date>
    <item>
      <title>If Else expression</title>
      <link>https://community.qlik.com/t5/QlikView/If-Else-expression/m-p/1370072#M418829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an expression which goes like this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;P&gt;If(A like 'B', 'B', &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(A like 'C*', 'C',&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(A like 'D*', 'D',&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;null())))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I want to change it to also give a title to all other possible entries &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So something like this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;=&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;If(A like 'B', 'B', &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;If(A like 'C*', 'C',&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;If(A like 'D*', 'D',&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Else ('E',&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;null()))))&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;So if A isnt like B,C or D it is presented as E&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;If there is a way to do this it would be appreciated &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 13:52:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Else-expression/m-p/1370072#M418829</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-08-08T13:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: If Else expression</title>
      <link>https://community.qlik.com/t5/QlikView/If-Else-expression/m-p/1370073#M418830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;=If(A like 'B', 'B',&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;If(A like 'C*', 'C',&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;If(A like 'D*', 'D', &lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;'E')))&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 13:55:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Else-expression/m-p/1370073#M418830</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-08-08T13:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: If Else expression</title>
      <link>https://community.qlik.com/t5/QlikView/If-Else-expression/m-p/1370074#M418831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Pick(Match(A, 'B', 'C*', 'D*'), 'B','C','D', 'E')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;OR&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Match(A, 'B'), 'B', &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Match(A, 'C*'), 'C', &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Match(A, 'D*'), 'D', 'E')))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note - I am not sure i understand about Null() part&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 13:57:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Else-expression/m-p/1370074#M418831</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-08-08T13:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: If Else expression</title>
      <link>https://community.qlik.com/t5/QlikView/If-Else-expression/m-p/1370075#M418832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You would need this for Pick Match....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Pick(WildMatch&lt;/STRONG&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(A, 'B', 'C*', 'D*') + 1, 'E', 'B','C','D')&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 14:01:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Else-expression/m-p/1370075#M418832</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-08-08T14:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: If Else expression</title>
      <link>https://community.qlik.com/t5/QlikView/If-Else-expression/m-p/1370076#M418833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;WildMatch is good one, But what does the use of +1 here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 14:05:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Else-expression/m-p/1370076#M418833</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-08-08T14:05:16Z</dc:date>
    </item>
    <item>
      <title>Re: If Else expression</title>
      <link>https://community.qlik.com/t5/QlikView/If-Else-expression/m-p/1370077#M418834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Basically&lt;/P&gt;&lt;P&gt;when A = B, WildMatch will give 1 + 1 = 2&lt;/P&gt;&lt;P&gt;when A = C*, WildMatch will give 2 + 1 = 3&lt;/P&gt;&lt;P&gt;when A = D*, WildMatch will give 3 + 1 = 4&lt;/P&gt;&lt;P&gt;when A = E, WildMatch will give 0 + 1 = 1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The way you wrote the expression, for E to show up, its value needs to be 4, but E can never equal 4, so its better to put it as the first clause....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does that make sense?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 14:16:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Else-expression/m-p/1370077#M418834</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-08-08T14:16:40Z</dc:date>
    </item>
    <item>
      <title>Re: If Else expression</title>
      <link>https://community.qlik.com/t5/QlikView/If-Else-expression/m-p/1370078#M418835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, LOT sense now. May be i miss this concept. I need to endorse this part. Thanks Bhai &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 14:22:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-Else-expression/m-p/1370078#M418835</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-08-08T14:22:58Z</dc:date>
    </item>
  </channel>
</rss>

