<?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: Pivot table problem in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Pivot-table-problem/m-p/1373029#M419380</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny provide expression as well, I am not changing anything from UI. I just use this?&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Aux:&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD * INLINE [&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID, Amount1, Type&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, 100, A&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, 130, B&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, 230, A&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, 130, A&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, 140, B&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3, 100, A&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3, 200, A&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3, 300, A&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3, 500, A&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4, 200, A&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4, 300, B&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4, 500, A&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;] &lt;STRONG&gt;Where Type = 'B'&lt;/STRONG&gt;;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Main:&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD * INLINE [&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID, Amount2&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, 100&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, 230&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3, 300&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4, 500&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;];&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Oct 2017 12:06:20 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2017-10-16T12:06:20Z</dc:date>
    <item>
      <title>Pivot table problem</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-problem/m-p/1373023#M419374</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Here is my data set&lt;/P&gt;&lt;P&gt;Aux:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID, Amount1, Type&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, 100, A&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, 130, B&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, 230, A&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, 130, A&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, 140, B&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3, 100, A&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3, 200, A&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3, 300, A&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3, 500, A&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4, 200, A&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4, 300, B&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4, 500, A&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Main:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID, Amount2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, 100&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, 230&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3, 300&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4, 500&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am creating a Pivot table and the purpose of this table is to show&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Amount&lt;/STRONG&gt; from &lt;STRONG&gt;Amount1&lt;/STRONG&gt; Column if there is &lt;STRONG&gt;Type B&lt;/STRONG&gt; associated with the particular ID else take the amount from &lt;STRONG&gt;Main&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Dimension: &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;ID&lt;/P&gt;&lt;P&gt;Type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Expression:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;ID={2,3,4}&amp;gt;}if(Match(Type,'B'),Amount1,Amount2))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The output looks like this. &lt;SPAN style="font-size: 13.3333px;"&gt;I do not need the Type column. It is there to just to show where the amount is coming from.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screen Shot 2017-10-16 at 4.25.08 AM.png" class="jive-image image-1" src="/legacyfs/online/179767_Screen Shot 2017-10-16 at 4.25.08 AM.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;My data should like this&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="99" style="border: 1px solid #000000; width: 259px; height: 70px;" width="257"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;ID&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Amount&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;140&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;300&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;300&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;ID 2 should show amount 140 becasue it is associated with Type B in the Table Aux.&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;ID 3 should show amount 300 becasue there is no Type B's amount in Table Aux so it should take amount 300 from from Table Main's Amount2 column.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;ID 4 should show amount 300 becasue it is associated with Type B in the Table Aux.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2017 11:36:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-problem/m-p/1373023#M419374</guid>
      <dc:creator>jduluc12</dc:creator>
      <dc:date>2017-10-16T11:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table problem</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-problem/m-p/1373024#M419375</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(Sum({&amp;lt;ID = {"=Only(TOTAL &amp;lt;ID&amp;gt; {&amp;lt;Type = {'B'}&amp;gt;} Type) = 'B'"}*{2,3,4}, Type = {'B'}&amp;gt;}Amount1) &amp;gt; 0,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;ID = {"=Only(TOTAL &amp;lt;ID&amp;gt; {&amp;lt;Type = {'B'}&amp;gt;} Type) = 'B'"}*{2,3,4}, Type = {'B'}&amp;gt;}Amount1),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;ID = {2,3,4}, Type -= {'B'}&amp;gt;}Amount2))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With ID as dimension&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/179772_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2017 11:53:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-problem/m-p/1373024#M419375</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-10-16T11:53:47Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table problem</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-problem/m-p/1373025#M419376</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PFA&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2017 11:53:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-problem/m-p/1373025#M419376</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-10-16T11:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table problem</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-problem/m-p/1373026#M419377</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;as i thought 1 also qualify and should have value 130 i have added that too. If you don;t you can exclude that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PFA&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Pradosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2017 12:00:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-problem/m-p/1373026#M419377</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2017-10-16T12:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table problem</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-problem/m-p/1373027#M419378</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can You please paste the expression here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2017 12:03:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-problem/m-p/1373027#M419378</guid>
      <dc:creator>jduluc12</dc:creator>
      <dc:date>2017-10-16T12:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table problem</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-problem/m-p/1373028#M419379</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please paste the expression here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2017 12:04:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-problem/m-p/1373028#M419379</guid>
      <dc:creator>jduluc12</dc:creator>
      <dc:date>2017-10-16T12:04:21Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table problem</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-problem/m-p/1373029#M419380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sunny provide expression as well, I am not changing anything from UI. I just use this?&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Aux:&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD * INLINE [&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID, Amount1, Type&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, 100, A&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, 130, B&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, 230, A&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, 130, A&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, 140, B&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3, 100, A&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3, 200, A&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3, 300, A&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3, 500, A&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4, 200, A&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4, 300, B&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4, 500, A&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;] &lt;STRONG&gt;Where Type = 'B'&lt;/STRONG&gt;;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Main:&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;LOAD * INLINE [&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID, Amount2&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, 100&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, 230&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3, 300&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4, 500&lt;/P&gt;
&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;];&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2017 12:06:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-problem/m-p/1373029#M419380</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-10-16T12:06:20Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table problem</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-problem/m-p/1373030#M419381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i can not change the load script. I have to do it in Expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2017 12:08:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-problem/m-p/1373030#M419381</guid>
      <dc:creator>jduluc12</dc:creator>
      <dc:date>2017-10-16T12:08:32Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table problem</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-problem/m-p/1373031#M419382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I gave you an expression? No response to what I gave?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2017 12:09:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-problem/m-p/1373031#M419382</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-10-16T12:09:51Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table problem</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-problem/m-p/1373032#M419383</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then look for Talwar expression? seems working..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;If(Sum({&amp;lt;ID = {"=Only(TOTAL &amp;lt;ID&amp;gt; {&amp;lt;Type = {'B'}&amp;gt;} Type) = 'B'"}*{2,3,4}, Type = {'B'}&amp;gt;}Amount1) &amp;gt; 0,&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Sum({&amp;lt;ID = {"=Only(TOTAL &amp;lt;ID&amp;gt; {&amp;lt;Type = {'B'}&amp;gt;} Type) = 'B'"}*{2,3,4}, Type = {'B'}&amp;gt;}Amount1),&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Sum({&amp;lt;ID = {2,3,4}, Type -= {'B'}&amp;gt;}Amount2))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2017 12:10:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-problem/m-p/1373032#M419383</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-10-16T12:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table problem</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-problem/m-p/1373033#M419384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this works for this sample data set and i am trying to see if i can incorporate this logic in the main data set.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2017 12:11:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-problem/m-p/1373033#M419384</guid>
      <dc:creator>jduluc12</dc:creator>
      <dc:date>2017-10-16T12:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table problem</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-problem/m-p/1373034#M419385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;IF(sum({&amp;lt;ID=,Type={'B'}&amp;gt;}(if(Match(Type,'B')&amp;gt;0,Amount1,Amount2)))=0,sum(Amount2),sum({&amp;lt;ID=,Type={'B'}&amp;gt;}(if(Match(Type,'B')&amp;gt;0,Amount1,Amount2))))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if you want only for [id ]2,3,4 please use ID={2,3,4} &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Pradosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2017 12:14:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-problem/m-p/1373034#M419385</guid>
      <dc:creator>pradosh_thakur</dc:creator>
      <dc:date>2017-10-16T12:14:12Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table problem</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-problem/m-p/1373035#M419386</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 with a if condition : if(sum({&amp;lt;ID={2,3,4},Type={"B"}&amp;gt;}Amount1)=0,sum({&amp;lt;ID={2,3,4}&amp;gt;}Amount2),sum({&amp;lt;ID={2,3,4},Type={"B"}&amp;gt;}Amount1))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2017 12:14:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-problem/m-p/1373035#M419386</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-16T12:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table problem</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-problem/m-p/1373036#M419387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just responded to it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2017 12:14:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-problem/m-p/1373036#M419387</guid>
      <dc:creator>jduluc12</dc:creator>
      <dc:date>2017-10-16T12:14:49Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table problem</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-problem/m-p/1373037#M419388</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please explain the If condition? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2017 12:18:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-problem/m-p/1373037#M419388</guid>
      <dc:creator>jduluc12</dc:creator>
      <dc:date>2017-10-16T12:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table problem</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-problem/m-p/1373038#M419389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is another one you can try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(SubStringCount(Concat(DISTINCT '|' &amp;amp; Type &amp;amp; '|'), '|B|') = 1, Sum({&amp;lt;Type = {'B'}, ID = {2,3,4}&amp;gt;}Amount1), Sum({&amp;lt;ID = {2,3,4}&amp;gt;}Amount2))&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2017 12:18:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-problem/m-p/1373038#M419389</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-10-16T12:18:29Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table problem</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-problem/m-p/1373039#M419390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used a simpler version of it&lt;/P&gt;&lt;P&gt;IF(sum({&amp;lt;ID=,Type={'B'}&amp;gt;}(if(Match(Type,'B')&amp;gt;0,Amount1)))=0,&lt;/P&gt;&lt;P&gt;sum(Amount2),&lt;/P&gt;&lt;P&gt;sum({&amp;lt;ID=,Type={'B'}&amp;gt;}(if(Match(Type,'B')&amp;gt;0,Amount1))))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Oct 2017 12:41:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-problem/m-p/1373039#M419390</guid>
      <dc:creator>jduluc12</dc:creator>
      <dc:date>2017-10-16T12:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: Pivot table problem</title>
      <link>https://community.qlik.com/t5/QlikView/Pivot-table-problem/m-p/1373040#M419391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One issue:&lt;/P&gt;&lt;P&gt;When i do partial sum then the sum does not include the amount for ID 3.&lt;/P&gt;&lt;P&gt;Why is that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Oct 2017 11:55:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Pivot-table-problem/m-p/1373040#M419391</guid>
      <dc:creator>jduluc12</dc:creator>
      <dc:date>2017-10-17T11:55:24Z</dc:date>
    </item>
  </channel>
</rss>

