<?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: Split logic in straight table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Split-logic-in-straight-table/m-p/1042676#M935669</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shikha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your query seems confusing. You better load a sample data(a few rows with values changed) and attach the document here to gain much attention.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Naresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Feb 2016 12:04:10 GMT</pubDate>
    <dc:creator>NareshGuntur</dc:creator>
    <dc:date>2016-02-16T12:04:10Z</dc:date>
    <item>
      <title>Split logic in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Split-logic-in-straight-table/m-p/1042673#M935666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I am using a straight table with dimensions and expressions.&amp;nbsp; &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I am comparing two fields ’ &lt;STRONG&gt;vendor_split and ID vendor&lt;/STRONG&gt; from two different table, and replacing Proforma Invoice NO with id row if it is NULL.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="split.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/114789_split.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;My expression for &lt;STRONG style="text-decoration: underline;"&gt;Amount LCY with Split&lt;/STRONG&gt; column is&amp;nbsp; :-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF(([Proforma Invoice No] = 'Null' and Vendor_Split = 0) ,(split*total_amount_fct)/100&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;,if(([&lt;SPAN style="font-size: 13.3333px;"&gt;Proforma Invoice No&lt;/SPAN&gt; ]= 'Null' and Vendor_Split = idvendor), (split*total_amount_fct)/100&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;Required o/p:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1&amp;gt; if vendor_split=idvendor then only that particular row should come .means only one row&lt;/P&gt;&lt;P&gt;2&amp;gt; if vendor_split&amp;lt;&amp;gt; idvendor then records with zero value from vendor_split should come.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2016 10:24:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-logic-in-straight-table/m-p/1042673#M935666</guid>
      <dc:creator>abc_18</dc:creator>
      <dc:date>2016-02-16T10:24:36Z</dc:date>
    </item>
    <item>
      <title>Re: Split logic in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Split-logic-in-straight-table/m-p/1042674#M935667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you share sample application?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2016 11:26:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-logic-in-straight-table/m-p/1042674#M935667</guid>
      <dc:creator>PradeepReddy</dc:creator>
      <dc:date>2016-02-16T11:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: Split logic in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Split-logic-in-straight-table/m-p/1042675#M935668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First, you cannot use &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; [&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Proforma Invoice No&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; ]= 'Null'&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;&lt;BR /&gt;&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;Instead you should use one of the following&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;&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; IsNull([&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Proforma Invoice No&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; ])&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;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; Len(Trim([&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Proforma Invoice No&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; ]))= 0&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Secondly, you should not use naked field references. The calculations are aggregations, so you need to wrap field references in aggregation functions. See &lt;A href="https://community.qlik.com/qlik-blogpost/3779"&gt;Use Aggregation Functions!&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2016 11:56:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-logic-in-straight-table/m-p/1042675#M935668</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2016-02-16T11:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: Split logic in straight table</title>
      <link>https://community.qlik.com/t5/QlikView/Split-logic-in-straight-table/m-p/1042676#M935669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shikha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your query seems confusing. You better load a sample data(a few rows with values changed) and attach the document here to gain much attention.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Naresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2016 12:04:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Split-logic-in-straight-table/m-p/1042676#M935669</guid>
      <dc:creator>NareshGuntur</dc:creator>
      <dc:date>2016-02-16T12:04:10Z</dc:date>
    </item>
  </channel>
</rss>

