<?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: Create new calculated column (If, Else statement) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Create-new-calculated-column-If-Else-statement/m-p/1216749#M849779</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively as variant, you can simply sort the field you need in the properties of the chart or list and all the empty values will be either at the beginning or at the end of the list, depending on the type of sorting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Andrey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Mar 2017 07:47:40 GMT</pubDate>
    <dc:creator>ahaahaaha</dc:creator>
    <dc:date>2017-03-16T07:47:40Z</dc:date>
    <item>
      <title>Create new calculated column (If, Else statement)</title>
      <link>https://community.qlik.com/t5/QlikView/Create-new-calculated-column-If-Else-statement/m-p/1216746#M849776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm new to QlikView and I'm hoping someone can point me in the right direction. I'm working with your typical HR data (EmpID, First Name, Last Name, etc) and I'm in need to start creating a dashboard where I can monitor gaps in my data, such as when an Active Employee has an Invalid or Null value for Manager ID, Job Grade and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand that there are different ways to accomplish this through the script load as well as through a conditional variable, so I'm confused as to how to go about achieving this in the most efficient way. Perhaps by creating a new column in my dataset through a calculated If, Else statement?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance for any assistance you can provide!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Andrew&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/Create-new-calculated-column-If-Else-statement/m-p/1216746#M849776</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Create new calculated column (If, Else statement)</title>
      <link>https://community.qlik.com/t5/QlikView/Create-new-calculated-column-If-Else-statement/m-p/1216747#M849777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you explain a little what exactly you want to create and use this new column in? &lt;/P&gt;&lt;P&gt;You can create a flag in your load script like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD ...,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF(Len(Trim(ManagerID)) = 0 AND Len(Trim(JobGrade)) = 0, 0, 1) AS NullFlag&lt;/P&gt;&lt;P&gt;FROM yourdatasource; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Mar 2017 21:55:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-new-calculated-column-If-Else-statement/m-p/1216747#M849777</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-03-15T21:55:58Z</dc:date>
    </item>
    <item>
      <title>Re: Create new calculated column (If, Else statement)</title>
      <link>https://community.qlik.com/t5/QlikView/Create-new-calculated-column-If-Else-statement/m-p/1216748#M849778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I hope i've understood your question, you can use a condition in the data load, indicating that if some field is empty, a new column specify that the data is incomplete;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if( len(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;EmpID&lt;/SPAN&gt;)=0 or len(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;First Name&lt;/SPAN&gt;]&lt;/SPAN&gt;)=0 or len(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Last Name&lt;/SPAN&gt;)=0 ,'Incomplete','Complete') as &lt;SPAN style="font-size: 10pt;"&gt;Detail&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;len&lt;/STRONG&gt; count the number of characters, if the data is empty then count 0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Mar 2017 23:43:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-new-calculated-column-If-Else-statement/m-p/1216748#M849778</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-03-15T23:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: Create new calculated column (If, Else statement)</title>
      <link>https://community.qlik.com/t5/QlikView/Create-new-calculated-column-If-Else-statement/m-p/1216749#M849779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alternatively as variant, you can simply sort the field you need in the properties of the chart or list and all the empty values will be either at the beginning or at the end of the list, depending on the type of sorting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Andrey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Mar 2017 07:47:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-new-calculated-column-If-Else-statement/m-p/1216749#M849779</guid>
      <dc:creator>ahaahaaha</dc:creator>
      <dc:date>2017-03-16T07:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: Create new calculated column (If, Else statement)</title>
      <link>https://community.qlik.com/t5/QlikView/Create-new-calculated-column-If-Else-statement/m-p/1216750#M849780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Vishwarath, my intention is to be able to create a chart where I can highlight all employee records without an assigned Level 1 Manager (same as direct supervisor) by Country and Region so I can easily point to locations where missing manager is a recurring problem. In your opinion, what would be the best way to approach this? Through a new 'AS' column in the load script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks so much again for your assistance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Mar 2017 18:06:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-new-calculated-column-If-Else-statement/m-p/1216750#M849780</guid>
      <dc:creator />
      <dc:date>2017-03-21T18:06:40Z</dc:date>
    </item>
  </channel>
</rss>

