<?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 create a new column on basis of other columns string in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-create-a-new-column-on-basis-of-other-columns-string/m-p/1892376#M73553</link>
    <description>&lt;P&gt;You could combine it with an alt() or coalesce() like this.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;alt(pick(match(Flag,'HUB','NON HUB'),[Date 2],[Date 1]), today())&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 14 Feb 2022 07:25:35 GMT</pubDate>
    <dc:creator>Vegar</dc:creator>
    <dc:date>2022-02-14T07:25:35Z</dc:date>
    <item>
      <title>How to create a new column on basis of other columns string</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-create-a-new-column-on-basis-of-other-columns-string/m-p/1892316#M73540</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;
&lt;P&gt;I want to create new Column which is based on one different fields&lt;/P&gt;
&lt;P&gt;eg.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Table:&lt;/P&gt;
&lt;TABLE style="width: 680px;" width="680"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="70.9896px"&gt;NUMBER&lt;/TD&gt;
&lt;TD width="73.7292px"&gt;Flag&lt;/TD&gt;
&lt;TD width="78.6979px"&gt;Date 1&lt;/TD&gt;
&lt;TD width="78.6979px"&gt;Date 2&lt;/TD&gt;
&lt;TD width="78.8854px"&gt;Closed Date&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="70.9896px"&gt;Number 1&lt;/TD&gt;
&lt;TD width="73.7292px"&gt;HUB&lt;/TD&gt;
&lt;TD width="78.6979px"&gt;01-12-2020&lt;/TD&gt;
&lt;TD width="78.6979px"&gt;11-01-2021&lt;/TD&gt;
&lt;TD width="78.8854px"&gt;
&lt;P&gt;11-01-2021(Date 2)&lt;/P&gt;
&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="70.9896px"&gt;Number 2&lt;/TD&gt;
&lt;TD width="73.7292px"&gt;HUB&lt;/TD&gt;
&lt;TD width="78.6979px"&gt;11-12-2020&lt;/TD&gt;
&lt;TD width="78.6979px"&gt;12-02-2021&lt;/TD&gt;
&lt;TD width="78.8854px"&gt;12-02-2021(Date 2)&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="70.9896px"&gt;Number 3&lt;/TD&gt;
&lt;TD width="73.7292px"&gt;NON HUB&lt;/TD&gt;
&lt;TD width="78.6979px"&gt;13-12-2020&lt;/TD&gt;
&lt;TD width="78.6979px"&gt;03-01-2021&lt;/TD&gt;
&lt;TD width="78.8854px"&gt;13-12-2020(Date 1)&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="70.9896px"&gt;Number 4&lt;/TD&gt;
&lt;TD width="73.7292px"&gt;NON HUB&lt;/TD&gt;
&lt;TD width="78.6979px"&gt;24-12-2020&lt;/TD&gt;
&lt;TD width="78.6979px"&gt;14-01-2021&lt;/TD&gt;
&lt;TD width="78.8854px"&gt;24-12-2020(Date 1)&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD width="70.9896px"&gt;Number 5&lt;/TD&gt;
&lt;TD width="73.7292px"&gt;HUB&lt;/TD&gt;
&lt;TD width="78.6979px"&gt;05-12-2020&lt;/TD&gt;
&lt;TD width="78.6979px"&gt;05-02-2021&lt;/TD&gt;
&lt;TD width="78.8854px"&gt;05-02-2021(Date 2)&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the above table I want to create column closed date on the basis of,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if flag against Number Column is HUB then show date of Date 2 field&lt;/P&gt;
&lt;P&gt;if flag against Number Column is NON HUB then show date of Date 1 field&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How I can achieve this?&lt;/P&gt;
&lt;P&gt;Thanks In advance!!!&lt;/P&gt;
&lt;P&gt;#qlik sense&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Feb 2022 04:50:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-create-a-new-column-on-basis-of-other-columns-string/m-p/1892316#M73540</guid>
      <dc:creator>akshay_chavan</dc:creator>
      <dc:date>2022-02-14T04:50:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a new column on basis of other columns string</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-create-a-new-column-on-basis-of-other-columns-string/m-p/1892349#M73548</link>
      <description>&lt;P&gt;Try an pick match approach for this. Like below.&lt;/P&gt;
&lt;P&gt;pick(match(Flag,'HUB','NON HUB'),[Date 2],[Date 1])&lt;/P&gt;</description>
      <pubDate>Mon, 14 Feb 2022 05:39:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-create-a-new-column-on-basis-of-other-columns-string/m-p/1892349#M73548</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2022-02-14T05:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a new column on basis of other columns string</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-create-a-new-column-on-basis-of-other-columns-string/m-p/1892373#M73552</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/25001"&gt;@Vegar&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for solution. dates are showing as required.&lt;/P&gt;
&lt;P&gt;but In this I also want that if there&amp;nbsp; is no date in Date1 or Date2 then show the todays date in the closed date column.&lt;/P&gt;
&lt;P&gt;how to achieve this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;regards&lt;/P&gt;</description>
      <pubDate>Mon, 14 Feb 2022 07:19:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-create-a-new-column-on-basis-of-other-columns-string/m-p/1892373#M73552</guid>
      <dc:creator>akshay_chavan</dc:creator>
      <dc:date>2022-02-14T07:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a new column on basis of other columns string</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-create-a-new-column-on-basis-of-other-columns-string/m-p/1892376#M73553</link>
      <description>&lt;P&gt;You could combine it with an alt() or coalesce() like this.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;alt(pick(match(Flag,'HUB','NON HUB'),[Date 2],[Date 1]), today())&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Feb 2022 07:25:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-create-a-new-column-on-basis-of-other-columns-string/m-p/1892376#M73553</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2022-02-14T07:25:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a new column on basis of other columns string</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-create-a-new-column-on-basis-of-other-columns-string/m-p/1892421#M73559</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/25001"&gt;@Vegar&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;today date display like this -&amp;nbsp;2/14/2022&lt;/P&gt;
&lt;P&gt;but I want it into this format -&amp;nbsp;2020-02-14 09:45:40.0000000&lt;/P&gt;
&lt;P&gt;I tried it with Now(), but not get expected result.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Mon, 14 Feb 2022 08:54:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-create-a-new-column-on-basis-of-other-columns-string/m-p/1892421#M73559</guid>
      <dc:creator>akshay_chavan</dc:creator>
      <dc:date>2022-02-14T08:54:12Z</dc:date>
    </item>
  </channel>
</rss>

