<?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: If statement in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/If-statement/m-p/64210#M375</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No it doesnt work &lt;/P&gt;&lt;P&gt;here is the formula from qlik sense&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF ( [Chargable weight/PTasab_cont_]=30000, "Megatruck", IF ( [Chargable weight/PTasab_cont_]=27000, "standard", "error" ))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It gives "megatruck","standard","error"is not valid&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Feb 2018 11:27:58 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-02-07T11:27:58Z</dc:date>
    <item>
      <title>If statement</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/If-statement/m-p/64208#M373</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please help me in the formula for IF statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a column with three numbers Column A = 30000; 27000; 23600 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to make column out of this data using IF statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like (IF(ColumnA=30000), "Megatruck", IF((ColumnA=27000), "standard", error))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sachin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2018 10:37:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/If-statement/m-p/64208#M373</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-07T10:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: If statement</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/If-statement/m-p/64209#M374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Looks like the brackets are wrong, maybe try something like this :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM style="color: #993300;"&gt;&lt;STRONG&gt; IF ( ColumnA=30000&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;STRONG style="color: #993300;"&gt;&lt;EM&gt;, "Megatruck"&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 60px;"&gt;&lt;STRONG style="color: #993300;"&gt;&lt;EM&gt;, IF ( ColumnA=27000&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;&lt;STRONG style="color: #993300;"&gt;&lt;EM&gt;, "standard"&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 90px;"&gt;&lt;STRONG style="color: #993300;"&gt;&lt;EM&gt;, error )&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;EM style="color: #993300;"&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2018 11:24:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/If-statement/m-p/64209#M374</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-07T11:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: If statement</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/If-statement/m-p/64210#M375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No it doesnt work &lt;/P&gt;&lt;P&gt;here is the formula from qlik sense&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF ( [Chargable weight/PTasab_cont_]=30000, "Megatruck", IF ( [Chargable weight/PTasab_cont_]=27000, "standard", "error" ))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It gives "megatruck","standard","error"is not valid&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2018 11:27:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/If-statement/m-p/64210#M375</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-07T11:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: If statement</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/If-statement/m-p/64211#M376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is you first &lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;field &lt;/SPAN&gt;actually called&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; [Chargable weight/PTasab_cont_]&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Or do you need to divide one field by another like this :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;[Chargable weight] / [PTasab_cont_]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2018 11:32:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/If-statement/m-p/64211#M376</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-07T11:32:50Z</dc:date>
    </item>
    <item>
      <title>Re: If statement</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/If-statement/m-p/64212#M377</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The field is called &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Chargable weight/PTasab_cont_] &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;its a column name &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2018 11:36:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/If-statement/m-p/64212#M377</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-07T11:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: If statement</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/If-statement/m-p/64213#M378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In that case I don't know what is adrift, could you post full load statement from the script ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sometimes a typo elsewhere can cause an ok bit to error out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2018 11:47:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/If-statement/m-p/64213#M378</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-07T11:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: If statement</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/If-statement/m-p/64214#M379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="Captura.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/192705_Captura.PNG" style="height: 161px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;From the column (chargable weight) which has numbers, I need to create a new column, it can be dimension od measure. Where i need to get or show 30000=megatruck, 27000 standard &amp;amp; 23400=&amp;nbsp; error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2018 11:54:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/If-statement/m-p/64214#M379</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-07T11:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: If statement</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/If-statement/m-p/64215#M380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Personally I would create a new field for it in the back end script.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Feb 2018 12:01:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/If-statement/m-p/64215#M380</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-07T12:01:56Z</dc:date>
    </item>
  </channel>
</rss>

