<?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 straight table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/straight-table/m-p/996661#M955387</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;my expression values for a column is 0.00000 and some are null.&lt;/P&gt;&lt;P&gt;I need a condition in the expression where if the column is null or 0.0000 then populate the value from another column&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;price ¦ net&lt;/P&gt;&lt;P&gt;0.00000 ¦ 1.24&lt;/P&gt;&lt;P&gt;0.00000 ¦ 1.25&lt;/P&gt;&lt;P&gt;null ¦ 1.26&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my expected output should be..so if the price value is null or 0.0000 then it should take value from the net column&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;price ¦ net&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff6600;"&gt;1.24 &lt;/SPAN&gt;¦ 1.24&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff6600;"&gt;1.25 &lt;/SPAN&gt;¦ 1.25&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff6600;"&gt;1.26&lt;/SPAN&gt;¦ 1.26&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 14 Nov 2015 21:39:59 GMT</pubDate>
    <dc:creator>raadwiptec</dc:creator>
    <dc:date>2015-11-14T21:39:59Z</dc:date>
    <item>
      <title>straight table</title>
      <link>https://community.qlik.com/t5/QlikView/straight-table/m-p/996661#M955387</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;my expression values for a column is 0.00000 and some are null.&lt;/P&gt;&lt;P&gt;I need a condition in the expression where if the column is null or 0.0000 then populate the value from another column&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;price ¦ net&lt;/P&gt;&lt;P&gt;0.00000 ¦ 1.24&lt;/P&gt;&lt;P&gt;0.00000 ¦ 1.25&lt;/P&gt;&lt;P&gt;null ¦ 1.26&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my expected output should be..so if the price value is null or 0.0000 then it should take value from the net column&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;price ¦ net&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff6600;"&gt;1.24 &lt;/SPAN&gt;¦ 1.24&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff6600;"&gt;1.25 &lt;/SPAN&gt;¦ 1.25&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff6600;"&gt;1.26&lt;/SPAN&gt;¦ 1.26&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Nov 2015 21:39:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/straight-table/m-p/996661#M955387</guid>
      <dc:creator>raadwiptec</dc:creator>
      <dc:date>2015-11-14T21:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: straight table</title>
      <link>https://community.qlik.com/t5/QlikView/straight-table/m-p/996662#M955388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(price = 0 or Len(Trim(price)) = 0, net, price)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Nov 2015 22:26:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/straight-table/m-p/996662#M955388</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-11-14T22:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: straight table</title>
      <link>https://community.qlik.com/t5/QlikView/straight-table/m-p/996663#M955389</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;one solution could be:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="QlikCommunity_Thread_191479_Pic1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/105517_QlikCommunity_Thread_191479_Pic1.JPG" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro _jivemacro_uid_14475505075598134" jivemacro_uid="_14475505075598134"&gt;
&lt;P&gt;SET NullInterpret='null';&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;table1:&lt;/P&gt;
&lt;P&gt;LOAD If(price,price,net) as price,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; net&lt;/P&gt;
&lt;P&gt;INLINE [&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; price, net&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.00000, 1.24&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.00000, 1.25&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; null, 1.26&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.00001, 1.27&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10, 1.28&lt;/P&gt;
&lt;P&gt;];&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Nov 2015 01:22:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/straight-table/m-p/996663#M955389</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2015-11-15T01:22:16Z</dc:date>
    </item>
  </channel>
</rss>

