<?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: Straight Table Issue in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Straight-Table-Issue/m-p/673408#M1077705</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Max,&lt;/P&gt;&lt;P&gt;It is not working.&lt;/P&gt;&lt;P&gt;As still it is not giving result for&lt;/P&gt;&lt;P&gt;A,Y,19300-R,0,130&lt;/P&gt;&lt;P&gt;It must show 0%.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kamal Naithani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Jul 2014 05:45:13 GMT</pubDate>
    <dc:creator>kamalqlik</dc:creator>
    <dc:date>2014-07-15T05:45:13Z</dc:date>
    <item>
      <title>Straight Table Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-Issue/m-p/673405#M1077700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;I have a table as mention below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;&lt;SPAN style="color: #575757;"&gt;load * inline [&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SPD, SRD, SKU, SRD Selling, SRD Actual Sales&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A,X,19300-B,100,70&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A,X,19300-W,110,130&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A,Y,19300-B,200,70&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A,Y,19300-W,50,30&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A,Y,19300-R,0,130&lt;BR /&gt;&lt;BR /&gt;]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;I want the solution as like this to be calculated in Pivot table:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;1)An expression ACC that will give the result in the following calculation as per excel...(IFERROR(Max(1-ABS(D-E)/D,0),0).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;In case of Qlikview we have to use fabs in place abs...so the expression will be something like this&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[SRD Selling]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)=0,0,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;max&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(1-&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;fabs&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[SRD Selling]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[SRD Actual Sales]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[SRD Selling]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)),'#,##0%') &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;But it will give the correct result for all row but not for the last row ,as it has [SRD Selling] value as 0.So what I want is that whenever SRD Selling is having 0 value it should gives the value as o.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;2) Second what I want is that...&lt;/P&gt;&lt;P&gt;After getting expression values ACC we want the result as..&lt;/P&gt;&lt;P&gt;SPD, SRD, SKU, SRD Selling, SRD Actual Sales,ACC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A,X,19300-B,100,70,70%&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A,X,19300-W,110,130,82%&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A,Y,19300-B,200,70,35%&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A,Y,19300-W,50,30,60%&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; A,Y,19300-R,0,130,0%.&lt;/P&gt;&lt;P&gt;So new expression will be for SRD X forecast...which will be..&lt;/P&gt;&lt;P&gt;100*70+110*130/100+110=76%&lt;/P&gt;&lt;P&gt;and for y SRD it will be 40%.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide solution for this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kamal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2014 03:50:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-Issue/m-p/673405#M1077700</guid>
      <dc:creator>kamalqlik</dc:creator>
      <dc:date>2014-07-15T03:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: Straight Table Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-Issue/m-p/673406#M1077702</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 this in your 1st expression&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[SRD Selling]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;=0,0,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;max&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(1-&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;fabs&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[SRD Selling]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;-&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[SRD Actual Sales]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)/&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[SRD Selling]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)),'#,##0%') &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2014 04:40:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-Issue/m-p/673406#M1077702</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2014-07-15T04:40:16Z</dc:date>
    </item>
    <item>
      <title>Re: Straight Table Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-Issue/m-p/673407#M1077704</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;To achieve 2nd expression.&lt;/P&gt;&lt;P&gt;Look for &lt;STRONG&gt;below(), &lt;/STRONG&gt;It might solve your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2014 04:42:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-Issue/m-p/673407#M1077704</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2014-07-15T04:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: Straight Table Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-Issue/m-p/673408#M1077705</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Max,&lt;/P&gt;&lt;P&gt;It is not working.&lt;/P&gt;&lt;P&gt;As still it is not giving result for&lt;/P&gt;&lt;P&gt;A,Y,19300-R,0,130&lt;/P&gt;&lt;P&gt;It must show 0%.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Kamal Naithani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2014 05:45:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-Issue/m-p/673408#M1077705</guid>
      <dc:creator>kamalqlik</dc:creator>
      <dc:date>2014-07-15T05:45:13Z</dc:date>
    </item>
    <item>
      <title>Re: Straight Table Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-Issue/m-p/673409#M1077706</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Friends,&lt;/P&gt;&lt;P&gt;I am still looking for the solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kamal Naithani&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2014 06:10:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-Issue/m-p/673409#M1077706</guid>
      <dc:creator>kamalqlik</dc:creator>
      <dc:date>2014-07-15T06:10:56Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Straight Table Issue</title>
      <link>https://community.qlik.com/t5/QlikView/Straight-Table-Issue/m-p/673410#M1077707</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;I am not understanding why 1st expression is not working at your end.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am attaching my test application where i am implementing same Code as you provided.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find attachement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jul 2014 15:11:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Straight-Table-Issue/m-p/673410#M1077707</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2014-07-15T15:11:33Z</dc:date>
    </item>
  </channel>
</rss>

