<?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 assign same values to Nulls which is having primary key in Qlikview script while loading in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-assign-same-values-to-Nulls-which-is-having-primary-key/m-p/1587874#M738426</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN class="lia-link-navigation child-thread lia-link-disabled"&gt;lironbaram,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-link-navigation child-thread lia-link-disabled"&gt;Thanks for quick reply.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-link-navigation child-thread lia-link-disabled"&gt;But Its not working . I am getting blanks(-) only&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-link-navigation child-thread lia-link-disabled"&gt;Please help me.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-link-navigation child-thread lia-link-disabled"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-link-navigation child-thread lia-link-disabled"&gt;Jay&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 04 Jun 2019 06:21:01 GMT</pubDate>
    <dc:creator>djaykumar</dc:creator>
    <dc:date>2019-06-04T06:21:01Z</dc:date>
    <item>
      <title>How to assign same values to Nulls which is having primary key in Qlikview script while loading</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-assign-same-values-to-Nulls-which-is-having-primary-key/m-p/1587859#M738424</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am facing some issue with the following . I am having data set like&lt;/P&gt;&lt;P&gt;Customer_ID&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Department&lt;/P&gt;&lt;P&gt;Customer1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Finance&lt;/P&gt;&lt;P&gt;Customer1&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Customer2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; HR&lt;/P&gt;&lt;P&gt;Customer2&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Customer3&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the above data set&amp;nbsp; &amp;nbsp; for Customer1&amp;nbsp; and Customer2 where the Department is empty I have to assign Finance and HR.&lt;/P&gt;&lt;P&gt;And in the same way for Customer3 I have to assign 'Not Assigned' in the Department field.&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is one scenario and there are thousands of customers and around 30 Departments are there.&lt;/P&gt;&lt;P&gt;Please help me in this.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Jay&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 20:43:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-assign-same-values-to-Nulls-which-is-having-primary-key/m-p/1587859#M738424</guid>
      <dc:creator>djaykumar</dc:creator>
      <dc:date>2024-11-16T20:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to assign same values to Nulls which is having primary key in Qlikview script while loading</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-assign-same-values-to-Nulls-which-is-having-primary-key/m-p/1587860#M738425</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;/P&gt;&lt;P&gt;you can add to your load script this expression:&amp;nbsp;&lt;/P&gt;&lt;P&gt;LOAD&amp;nbsp;&lt;SPAN&gt;Customer_ID&amp;nbsp; &amp;nbsp;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Department,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; if(Customer_ID&amp;nbsp; &amp;nbsp;=previous(Customer_ID&amp;nbsp; ) and isnull(Department), peek('DepartmentFull'),Department) as&amp;nbsp;DepartmentFull&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;From&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2019 05:34:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-assign-same-values-to-Nulls-which-is-having-primary-key/m-p/1587860#M738425</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2019-06-04T05:34:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to assign same values to Nulls which is having primary key in Qlikview script while loading</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-assign-same-values-to-Nulls-which-is-having-primary-key/m-p/1587874#M738426</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;SPAN class="lia-link-navigation child-thread lia-link-disabled"&gt;lironbaram,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-link-navigation child-thread lia-link-disabled"&gt;Thanks for quick reply.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-link-navigation child-thread lia-link-disabled"&gt;But Its not working . I am getting blanks(-) only&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-link-navigation child-thread lia-link-disabled"&gt;Please help me.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-link-navigation child-thread lia-link-disabled"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-link-navigation child-thread lia-link-disabled"&gt;Jay&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2019 06:21:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-assign-same-values-to-Nulls-which-is-having-primary-key/m-p/1587874#M738426</guid>
      <dc:creator>djaykumar</dc:creator>
      <dc:date>2019-06-04T06:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to assign same values to Nulls which is having primary key in Qlikview script while loading</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-assign-same-values-to-Nulls-which-is-having-primary-key/m-p/1587878#M738427</link>
      <description>&lt;P&gt;Try this?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt; if(Customer_ID   =previous(Customer_ID  ) and len(trim(Department))=0, peek('DepartmentFull'),if(len(trim(Department))=0,'Not Assigned', Department)) as DepartmentFull&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2019 06:32:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-assign-same-values-to-Nulls-which-is-having-primary-key/m-p/1587878#M738427</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2019-06-04T06:32:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to assign same values to Nulls which is having primary key in Qlikview script while loading</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-assign-same-values-to-Nulls-which-is-having-primary-key/m-p/1588152#M738428</link>
      <description>&lt;P&gt;Hi Tresesco,&lt;/P&gt;&lt;P&gt;Now its working,&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jay&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jun 2019 12:50:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-assign-same-values-to-Nulls-which-is-having-primary-key/m-p/1588152#M738428</guid>
      <dc:creator>djaykumar</dc:creator>
      <dc:date>2019-06-04T12:50:25Z</dc:date>
    </item>
  </channel>
</rss>

