<?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: How to write condition by using mutiple columns to create one column in script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-write-condition-by-using-mutiple-columns-to-create-one/m-p/1592088#M738653</link>
    <description>&lt;P&gt;To be able to help you with that it's better to provide a concrete example.&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I can say now, is that you break down the problem into several Flags in the loading script as follow&lt;/P&gt;&lt;P&gt;If(wildmatch([Description], "*Widthrawn*"), '&lt;SPAN&gt;Withdrawn&lt;/SPAN&gt;') As Flag&lt;SPAN&gt;Withdrawn&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;now using this flag in another resident load you create the other conditions, but personally I need concrete examples to be able to build the logic that generalizes over the cases you provide.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Mohamed&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 14 Jun 2019 13:34:48 GMT</pubDate>
    <dc:creator>lazurens</dc:creator>
    <dc:date>2019-06-14T13:34:48Z</dc:date>
    <item>
      <title>How to write condition by using mutiple columns to create one column in script</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-condition-by-using-mutiple-columns-to-create-one/m-p/1589326#M738652</link>
      <description>&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;I need help to create new column by using mutiple column conditions. Actually i have few columns like ID,&lt;/P&gt;&lt;P&gt;Comments, Withdrawn Description, Status and Withdrawn Reason. By using these columns i need to create new Column as Categroy. In Category columns we need to define three values i.e. Code, Lack, Reason.&lt;/P&gt;&lt;P&gt;I am giving conditions to create a New column Category by using below points.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1)Categorize as Code, if “Withdrawn” is not in the Comments and/or Withdrawn Description.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2)Categorize as Lack, if Null and/or N/A are in the Comments and Withdrawn Description&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3) Categorize as Reason, if keyword match in the comments and/or withdrawn description does not align with Withdrawn reason&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;a) ID was submitted&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;“ID submitted in error”, ”Mistake”, ”Working Fine” or “Invalid”&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;b) Business Option&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;“business” , ”lower priority”, ”workaround”, ”accept”&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;c) Not reproducible&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;“Not repeatable”, “Efford”&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Can any one help me on this how to write a condition.Thanks in Advance&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-condition-by-using-mutiple-columns-to-create-one/m-p/1589326#M738652</guid>
      <dc:creator>shabarish0587</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to write condition by using mutiple columns to create one column in script</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-write-condition-by-using-mutiple-columns-to-create-one/m-p/1592088#M738653</link>
      <description>&lt;P&gt;To be able to help you with that it's better to provide a concrete example.&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I can say now, is that you break down the problem into several Flags in the loading script as follow&lt;/P&gt;&lt;P&gt;If(wildmatch([Description], "*Widthrawn*"), '&lt;SPAN&gt;Withdrawn&lt;/SPAN&gt;') As Flag&lt;SPAN&gt;Withdrawn&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;now using this flag in another resident load you create the other conditions, but personally I need concrete examples to be able to build the logic that generalizes over the cases you provide.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Mohamed&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jun 2019 13:34:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-write-condition-by-using-mutiple-columns-to-create-one/m-p/1592088#M738653</guid>
      <dc:creator>lazurens</dc:creator>
      <dc:date>2019-06-14T13:34:48Z</dc:date>
    </item>
  </channel>
</rss>

