<?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 Sql to expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Sql-to-expression/m-p/1337205#M412356</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This has to be achived in the straight table expresion&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(CASE WHEN ((table1.lastname IS NOT NULL) OR (table1.firstname IS NOT NULL)) THEN ISNULL(&lt;SPAN style="font-size: 13.3333px;"&gt;table1&lt;/SPAN&gt;.&lt;SPAN style="font-size: 13.3333px;"&gt;lastname &lt;/SPAN&gt;,'') + ', ' + &lt;/P&gt;&lt;P&gt;ISNULL(&lt;SPAN style="font-size: 13.3333px;"&gt;table1&lt;/SPAN&gt;.&lt;SPAN style="font-size: 13.3333px;"&gt;firstname &lt;/SPAN&gt;,'') ELSE table2.namemodify by END) AS modifiedname,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to achive this in the qlikiew straight table expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Jul 2017 15:26:25 GMT</pubDate>
    <dc:creator>manoranjan_d</dc:creator>
    <dc:date>2017-07-19T15:26:25Z</dc:date>
    <item>
      <title>Sql to expression</title>
      <link>https://community.qlik.com/t5/QlikView/Sql-to-expression/m-p/1337205#M412356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This has to be achived in the straight table expresion&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(CASE WHEN ((table1.lastname IS NOT NULL) OR (table1.firstname IS NOT NULL)) THEN ISNULL(&lt;SPAN style="font-size: 13.3333px;"&gt;table1&lt;/SPAN&gt;.&lt;SPAN style="font-size: 13.3333px;"&gt;lastname &lt;/SPAN&gt;,'') + ', ' + &lt;/P&gt;&lt;P&gt;ISNULL(&lt;SPAN style="font-size: 13.3333px;"&gt;table1&lt;/SPAN&gt;.&lt;SPAN style="font-size: 13.3333px;"&gt;firstname &lt;/SPAN&gt;,'') ELSE table2.namemodify by END) AS modifiedname,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to achive this in the qlikiew straight table expression&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2017 15:26:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sql-to-expression/m-p/1337205#M412356</guid>
      <dc:creator>manoranjan_d</dc:creator>
      <dc:date>2017-07-19T15:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: Sql to expression</title>
      <link>https://community.qlik.com/t5/QlikView/Sql-to-expression/m-p/1337206#M412357</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this may be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= IF( ISNULL(lastname) &amp;lt;&amp;gt; -1 OR ISNULL(firstname) &amp;lt;&amp;gt; -1, lastname &amp;amp; ', ' &amp;amp; firstname, namemodifyby)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2017 15:32:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sql-to-expression/m-p/1337206#M412357</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-07-19T15:32:22Z</dc:date>
    </item>
    <item>
      <title>Re: Sql to expression</title>
      <link>https://community.qlik.com/t5/QlikView/Sql-to-expression/m-p/1337207#M412358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;-1 why this has been defined in the if loop wht is purpose can explain me&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2017 15:36:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sql-to-expression/m-p/1337207#M412358</guid>
      <dc:creator>manoranjan_d</dc:creator>
      <dc:date>2017-07-19T15:36:22Z</dc:date>
    </item>
    <item>
      <title>Re: Sql to expression</title>
      <link>https://community.qlik.com/t5/QlikView/Sql-to-expression/m-p/1337208#M412359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;actually in the when condition sql we had given not null and for the condition we given is null, but in the if loop there is only is null&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2017 15:38:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sql-to-expression/m-p/1337208#M412359</guid>
      <dc:creator>manoranjan_d</dc:creator>
      <dc:date>2017-07-19T15:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: Sql to expression</title>
      <link>https://community.qlik.com/t5/QlikView/Sql-to-expression/m-p/1337209#M412360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Isnull in QV returns -1 if there are any Nulls. &lt;/P&gt;&lt;P&gt;From Ref Guide help:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="syntax"&gt;&lt;A name="kanchor888"&gt;&lt;/A&gt;&lt;A name="IsNull"&gt;&lt;/A&gt;&lt;SPAN class="Bold"&gt;IsNull(&lt;/SPAN&gt;&lt;SPAN class="Italic"&gt;expr&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt; )&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;Returns -1 (true) if expr returns NULL, otherwise 0 (false). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Quite did not get you what exactly you mean by below:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;"&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;&lt;EM&gt;actually in the when condition sql we had given not null and for the condition we given is null, but in the if loop there is only is null"&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2017 15:43:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sql-to-expression/m-p/1337209#M412360</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-07-19T15:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: Sql to expression</title>
      <link>https://community.qlik.com/t5/QlikView/Sql-to-expression/m-p/1337210#M412361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in sql&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when is not null(firstname) or is not null(lastname)&amp;nbsp; then take the isnull(&lt;SPAN style="font-size: 13.3333px;"&gt;firstname&lt;/SPAN&gt;) concatenate with &lt;SPAN style="font-size: 13.3333px;"&gt; isnull(&lt;SPAN style="font-size: 13.3333px;"&gt;lastname&lt;/SPAN&gt;) else&amp;nbsp; take &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;namemodify&amp;nbsp; by&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;this is meeting in the&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;qlikview if expression?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2017 15:48:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sql-to-expression/m-p/1337210#M412361</guid>
      <dc:creator>manoranjan_d</dc:creator>
      <dc:date>2017-07-19T15:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: Sql to expression</title>
      <link>https://community.qlik.com/t5/QlikView/Sql-to-expression/m-p/1337211#M412362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok try this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;= IF( ISNULL(lastname) &amp;lt;&amp;gt; -1 OR ISNULL(firstname) &amp;lt;&amp;gt; -1,&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Alt(lastname, '')&amp;nbsp; &amp;amp; ', ' &amp;amp; Alt(firstname, ''), namemodifyby&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jul 2017 15:54:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Sql-to-expression/m-p/1337211#M412362</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-07-19T15:54:19Z</dc:date>
    </item>
  </channel>
</rss>

