<?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: Creating a new field based on Grouping in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Creating-a-new-field-based-on-Grouping/m-p/18786#M775773</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jaume&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&amp;nbsp; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;Nayan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 May 2018 07:46:06 GMT</pubDate>
    <dc:creator>nayanqlik</dc:creator>
    <dc:date>2018-05-11T07:46:06Z</dc:date>
    <item>
      <title>Creating a new field based on Grouping</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-new-field-based-on-Grouping/m-p/18784#M775771</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;I have the following table below, Customer and Type of Accounts.&amp;nbsp; Some customers have either &lt;STRONG&gt;Overdrafts&lt;/STRONG&gt; only, some have &lt;STRONG&gt;Cheque Accounts&lt;/STRONG&gt; only and others have both.&amp;nbsp; I want to create a field to reflect this, see second table below&amp;nbsp; How do I do this in the backend?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;Nayan &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 315px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" width="136"&gt;&lt;SPAN style="text-decoration: underline;"&gt;Customer&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="179"&gt;&lt;SPAN style="text-decoration: underline;"&gt;Type of Account&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;587&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;OVERDRAFTS &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;589&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;OVERDRAFTS &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;591&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;CHEQUE ACCOUNTS&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;594&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;CHEQUE ACCOUNTS&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;595&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;CHEQUE ACCOUNTS&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;604&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;CHEQUE ACCOUNTS&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;604&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;OVERDRAFTS &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;605&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;OVERDRAFTS &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;612&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;CHEQUE ACCOUNTS&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;612&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;OVERDRAFTS &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;617&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;CHEQUE ACCOUNTS&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;617&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;OVERDRAFTS&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;620&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;CHEQUE ACCOUNTS&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;620&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;OVERDRAFTS&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 546px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl67" height="17" width="136"&gt;&lt;SPAN style="text-decoration: underline;"&gt;Customer&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="231"&gt;&lt;SPAN style="text-decoration: underline;"&gt;Type of Account&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="179"&gt;&lt;SPAN style="text-decoration: underline;"&gt;New Field&lt;/SPAN&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;587&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;OVERDRAFTS &lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Overdrafts Only&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;589&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;OVERDRAFTS &lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Overdrafts Only&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;591&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;CHEQUE ACCOUNTS&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Cheque Accounts Only&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;594&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;CHEQUE ACCOUNTS&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Cheque Accounts Only&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;595&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;CHEQUE ACCOUNTS&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Cheque Accounts Only&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;604&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;CHEQUE ACCOUNTS&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Both&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;604&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;OVERDRAFTS &lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Both&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;605&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;OVERDRAFTS &lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Overdrafts Only&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;612&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;CHEQUE ACCOUNTS&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Both&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;612&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;OVERDRAFTS &lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Both&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;617&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;CHEQUE ACCOUNTS&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Both&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;617&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;OVERDRAFTS&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Both&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;620&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;CHEQUE ACCOUNTS&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Both&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="17" style="border-top: none;"&gt;620&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;OVERDRAFTS&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;Both&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&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/Creating-a-new-field-based-on-Grouping/m-p/18784#M775771</guid>
      <dc:creator>nayanqlik</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a new field based on Grouping</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-new-field-based-on-Grouping/m-p/18785#M775772</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;Attached you can find a solution of your problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2018 07:41:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-new-field-based-on-Grouping/m-p/18785#M775772</guid>
      <dc:creator>jaumecf23</dc:creator>
      <dc:date>2018-05-11T07:41:35Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a new field based on Grouping</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-new-field-based-on-Grouping/m-p/18786#M775773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jaume&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&amp;nbsp; &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;Nayan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2018 07:46:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-new-field-based-on-Grouping/m-p/18786#M775773</guid>
      <dc:creator>nayanqlik</dc:creator>
      <dc:date>2018-05-11T07:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a new field based on Grouping</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-new-field-based-on-Grouping/m-p/18787#M775774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please close this thread by marking any helpful and a correct answer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2018 08:03:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-new-field-based-on-Grouping/m-p/18787#M775774</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2018-05-11T08:03:50Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a new field based on Grouping</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-new-field-based-on-Grouping/m-p/18788#M775775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sasidhar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have done that already.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;Nayan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2018 08:09:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-new-field-based-on-Grouping/m-p/18788#M775775</guid>
      <dc:creator>nayanqlik</dc:creator>
      <dc:date>2018-05-11T08:09:20Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a new field based on Grouping</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-new-field-based-on-Grouping/m-p/18789#M775776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jaume / Nayan Lalla,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please provide the answer in the steps which function you used.we don't have access to get it download and see the attached &lt;SPAN style="font-size: 13.3333px;"&gt;qvw &lt;/SPAN&gt;file &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sonysree&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2018 08:34:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-new-field-based-on-Grouping/m-p/18789#M775776</guid>
      <dc:creator>sonysree88</dc:creator>
      <dc:date>2018-05-11T08:34:39Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a new field based on Grouping</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-new-field-based-on-Grouping/m-p/18790#M775777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sonygot&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As requested.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;Nayan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Customer, Type of Account&lt;/P&gt;&lt;P&gt;587, OVERDRAFTS&lt;/P&gt;&lt;P&gt;589, OVERDRAFTS&lt;/P&gt;&lt;P&gt;591, CHEQUE ACCOUNTS&lt;/P&gt;&lt;P&gt;594, CHEQUE ACCOUNTS&lt;/P&gt;&lt;P&gt;595, CHEQUE ACCOUNTS&lt;/P&gt;&lt;P&gt;604, CHEQUE ACCOUNTS&lt;/P&gt;&lt;P&gt;604, OVERDRAFTS&lt;/P&gt;&lt;P&gt;605, OVERDRAFTS&lt;/P&gt;&lt;P&gt;612, CHEQUE ACCOUNTS&lt;/P&gt;&lt;P&gt;612, OVERDRAFTS&lt;/P&gt;&lt;P&gt;617, CHEQUE ACCOUNTS&lt;/P&gt;&lt;P&gt;617, OVERDRAFTS&lt;/P&gt;&lt;P&gt;620, CHEQUE ACCOUNTS&lt;/P&gt;&lt;P&gt;620, OVERDRAFTS&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Map_Overdrafts:&lt;/P&gt;&lt;P&gt;Mapping LOAD&lt;/P&gt;&lt;P&gt;Customer,&lt;/P&gt;&lt;P&gt;'Y'&lt;/P&gt;&lt;P&gt;Resident Table1&lt;/P&gt;&lt;P&gt;Where [Type of Account]='OVERDRAFTS';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Map_Cheques:&lt;/P&gt;&lt;P&gt;Mapping LOAD&lt;/P&gt;&lt;P&gt;Customer,&lt;/P&gt;&lt;P&gt;'Y'&lt;/P&gt;&lt;P&gt;Resident Table1&lt;/P&gt;&lt;P&gt;Where [Type of Account]='CHEQUE ACCOUNTS';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;Final_Table:&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;Customer,&lt;/P&gt;&lt;P&gt;[Type of Account],&lt;/P&gt;&lt;P&gt;if(ApplyMap('Map_Overdrafts',Customer,'N')='Y' and ApplyMap('Map_Cheques',Customer,'N')='Y','Both',&lt;/P&gt;&lt;P&gt;&amp;nbsp; if(ApplyMap('Map_Overdrafts',Customer,'N')='Y','Overdrafts Only','Cheque Accounts Only')) as [New Field]&lt;/P&gt;&lt;P&gt;Resident Table1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Table Table1;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 May 2018 08:38:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-new-field-based-on-Grouping/m-p/18790#M775777</guid>
      <dc:creator>nayanqlik</dc:creator>
      <dc:date>2018-05-11T08:38:14Z</dc:date>
    </item>
  </channel>
</rss>

