<?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 Help with embedded if statement in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-with-embedded-if-statement/m-p/866651#M303168</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me with this? for some reason it won't pull in the 'Billable', and I am thinking it is something to do with the dash. The Bus Dev and the Non- Bus Dev are working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(l&lt;SPAN style="font-size: 13.3333330154419px;"&gt;eft(AccountNumber,7)= '-', 'Billable',if(&lt;SPAN style="font-size: 13.3333330154419px;"&gt;left(AccountNumber,2) = '56', 'Business Development'), 'Non-Business Development')) as [Expense Type]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Jul 2015 19:42:24 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-07-01T19:42:24Z</dc:date>
    <item>
      <title>Help with embedded if statement</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-embedded-if-statement/m-p/866651#M303168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help me with this? for some reason it won't pull in the 'Billable', and I am thinking it is something to do with the dash. The Bus Dev and the Non- Bus Dev are working fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(l&lt;SPAN style="font-size: 13.3333330154419px;"&gt;eft(AccountNumber,7)= '-', 'Billable',if(&lt;SPAN style="font-size: 13.3333330154419px;"&gt;left(AccountNumber,2) = '56', 'Business Development'), 'Non-Business Development')) as [Expense Type]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 19:42:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-embedded-if-statement/m-p/866651#M303168</guid>
      <dc:creator />
      <dc:date>2015-07-01T19:42:24Z</dc:date>
    </item>
    <item>
      <title>Re: Help with embedded if statement</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-embedded-if-statement/m-p/866652#M303169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;le&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;ft(AccountNumber,7)&amp;nbsp; will return the first 7 chartacters at the left of the AccountNumber field.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;The first 7 characters can't be equal to "-"&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 19:44:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-embedded-if-statement/m-p/866652#M303169</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2015-07-01T19:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: Help with embedded if statement</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-embedded-if-statement/m-p/866653#M303170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is the dash in the field or does it represent a null field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if it represents a null try&lt;/P&gt;&lt;P&gt;if(len(l&lt;SPAN style="font-size: 13.33px;"&gt;eft(AccountNumber,7))&amp;gt;0, 'Billable',if(&lt;SPAN style="font-size: 13.33px;"&gt;left(AccountNumber,2) = '56', 'Business Development', 'Non-Business Development')) as [Expense Type]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.33px;"&gt;if the dash is the correct character then you have an extra close bracket&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.33px;"&gt;if(l&lt;SPAN style="font-size: 13.33px;"&gt;eft(AccountNumber,7)= '-', 'Billable',if(&lt;SPAN style="font-size: 13.33px;"&gt;left(AccountNumber,2) = '56', 'Business Development', 'Non-Business Development')) as [Expense Type]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.33px;"&gt;hope this helps&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 19:49:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-embedded-if-statement/m-p/866653#M303170</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-01T19:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: Help with embedded if statement</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-embedded-if-statement/m-p/866654#M303171</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;you should use mid functions and not left.&lt;/P&gt;&lt;P&gt;In your example if(AccountNumber,7,1)='-' ...&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 19:54:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-embedded-if-statement/m-p/866654#M303171</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-01T19:54:26Z</dc:date>
    </item>
    <item>
      <title>Re: Help with embedded if statement</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-embedded-if-statement/m-p/866655#M303172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Makes Sense, but I am trying to pull the first 6 characters as 'Billable' and the account number is 012345-0444. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 20:01:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-embedded-if-statement/m-p/866655#M303172</guid>
      <dc:creator />
      <dc:date>2015-07-01T20:01:22Z</dc:date>
    </item>
    <item>
      <title>Re: Help with embedded if statement</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-embedded-if-statement/m-p/866656#M303173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;If(&lt;STRONG style=": ; color: #ff0000;"&gt;Mid(&lt;/STRONG&gt;AccountNumber,7,1)='-' ...&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jul 2015 21:21:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-embedded-if-statement/m-p/866656#M303173</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2015-07-01T21:21:51Z</dc:date>
    </item>
  </channel>
</rss>

