<?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: Need to combine two field values to one field with condition. in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Need-to-combine-two-field-values-to-one-field-with-condition/m-p/1812227#M66270</link>
    <description>&lt;P&gt;Best to do this in the load script.&amp;nbsp;&lt;/P&gt;&lt;P&gt;if(len(&lt;SPAN&gt;orderID1) &amp;gt; 0,&amp;nbsp;orderID1, orderID2) as SalesOrderId&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If the fields are in different tables and you have questions about how to go about it, please post an image of your data model.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-Rob&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 01 Jun 2021 19:47:17 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2021-06-01T19:47:17Z</dc:date>
    <item>
      <title>Need to combine two field values to one field with condition.</title>
      <link>https://community.qlik.com/t5/App-Development/Need-to-combine-two-field-values-to-one-field-with-condition/m-p/1812202#M66264</link>
      <description>&lt;P&gt;Hello Team,&lt;/P&gt;&lt;P&gt;Can any one help me on this, I have 2 fields present in my dataset, Please find the below example,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Correct_Answer_0-1622570774423.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/56091i38B69873B59743CD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Correct_Answer_0-1622570774423.png" alt="Correct_Answer_0-1622570774423.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and I want to make it as one field like if (Order ID1 is not blank then orderID1 else orderID2.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;expecting output like below.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Correct_Answer_1-1622571142845.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/56092i3BF73BF6F7EA1727/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Correct_Answer_1-1622571142845.png" alt="Correct_Answer_1-1622571142845.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in Advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Nov 2021 18:17:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Need-to-combine-two-field-values-to-one-field-with-condition/m-p/1812202#M66264</guid>
      <dc:creator>Correct_Answer</dc:creator>
      <dc:date>2021-11-30T18:17:33Z</dc:date>
    </item>
    <item>
      <title>Re: Need to combine two field values to one field with condition.</title>
      <link>https://community.qlik.com/t5/App-Development/Need-to-combine-two-field-values-to-one-field-with-condition/m-p/1812227#M66270</link>
      <description>&lt;P&gt;Best to do this in the load script.&amp;nbsp;&lt;/P&gt;&lt;P&gt;if(len(&lt;SPAN&gt;orderID1) &amp;gt; 0,&amp;nbsp;orderID1, orderID2) as SalesOrderId&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If the fields are in different tables and you have questions about how to go about it, please post an image of your data model.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-Rob&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jun 2021 19:47:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Need-to-combine-two-field-values-to-one-field-with-condition/m-p/1812227#M66270</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2021-06-01T19:47:17Z</dc:date>
    </item>
    <item>
      <title>Re: Need to combine two field values to one field with condition.</title>
      <link>https://community.qlik.com/t5/App-Development/Need-to-combine-two-field-values-to-one-field-with-condition/m-p/2032450#M85069</link>
      <description>&lt;P&gt;Thank you so much, you solved my problem in such a simple way, thank you Rob.&lt;/P&gt;
&lt;P&gt;Wish you all the best, cheers.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2023 20:21:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Need-to-combine-two-field-values-to-one-field-with-condition/m-p/2032450#M85069</guid>
      <dc:creator>Nolgath</dc:creator>
      <dc:date>2023-01-31T20:21:06Z</dc:date>
    </item>
  </channel>
</rss>

