<?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 then in a select...help in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/If-then-in-a-select-help/m-p/396479#M147838</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;&lt;/P&gt;&lt;P&gt; Len(trim(salesstatus)) = 0 , not solve ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you post a sample file?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 02 Nov 2012 16:12:21 GMT</pubDate>
    <dc:creator>MayilVahanan</dc:creator>
    <dc:date>2012-11-02T16:12:21Z</dc:date>
    <item>
      <title>If then in a select...help</title>
      <link>https://community.qlik.com/t5/QlikView/If-then-in-a-select-help/m-p/396476#M147835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I'm loading these data and I want to check if the fiel SALESSTATUS is "" the wrtite "1" else leave as it is...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I load the table as you can see, but I don't knot how to do these if then condition...thank's everyone!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eduard&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SALESLINE:&lt;/P&gt;&lt;P&gt;Load UPPER(ITEMID)AS ITEMID,SALESSTATUS,SALESID,QTYORDERED,INVENTTRANSID,CUSTACCOUNT,EVE_AMOUNTMSTEXCLTAX, year(CREATEDDATETIME)AS ANO, Month(CREATEDDATETIME)AS Mes;&lt;/P&gt;&lt;P&gt;SQL SELECT SALESID,ITEMID,SALESSTATUS,QTYORDERED,INVENTTRANSID,CUSTACCOUNT,CREATEDDATETIME,EVE_AMOUNTMSTEXCLTAX&lt;/P&gt;&lt;P&gt;from DynamicsAx.dbo.SALESLINE;&lt;/P&gt;&lt;P&gt;Concatenate (SALESLINE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD UPPER(ITEMID) AS ITEMID,SALESID,COSTAMOUNTPOSTED,year(INVOICEDATE)AS ANO, Month(INVOICEDATE)AS Mes;&lt;/P&gt;&lt;P&gt;SQL SELECT ITEMID,SALESID,COSTAMOUNTPOSTED,INVOICEDATE&lt;/P&gt;&lt;P&gt;FROM DynamicsAx.dbo.EVE_CUSTINVOICETRANS;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2012 15:05:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-then-in-a-select-help/m-p/396476#M147835</guid>
      <dc:creator>ecabanas</dc:creator>
      <dc:date>2012-11-02T15:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: If then in a select...help</title>
      <link>https://community.qlik.com/t5/QlikView/If-then-in-a-select-help/m-p/396477#M147836</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;Try like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load *, if(Len(trim(SALESSTATUS)) = 0 or IsNull(SALESSTATUS),1,SALESSTATUS) as SALESSTATUS from tablename;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2012 15:21:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-then-in-a-select-help/m-p/396477#M147836</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2012-11-02T15:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: If then in a select...help</title>
      <link>https://community.qlik.com/t5/QlikView/If-then-in-a-select-help/m-p/396478#M147837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all!!! this does not work.....grrrrrrrr&amp;nbsp;&amp;nbsp; I'm very tired and I want to solve the problem!!! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2012 15:41:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-then-in-a-select-help/m-p/396478#M147837</guid>
      <dc:creator>ecabanas</dc:creator>
      <dc:date>2012-11-02T15:41:11Z</dc:date>
    </item>
    <item>
      <title>Re: If then in a select...help</title>
      <link>https://community.qlik.com/t5/QlikView/If-then-in-a-select-help/m-p/396479#M147838</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;&lt;/P&gt;&lt;P&gt; Len(trim(salesstatus)) = 0 , not solve ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you post a sample file?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2012 16:12:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/If-then-in-a-select-help/m-p/396479#M147838</guid>
      <dc:creator>MayilVahanan</dc:creator>
      <dc:date>2012-11-02T16:12:21Z</dc:date>
    </item>
  </channel>
</rss>

