<?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 peek with If condition in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/peek-with-If-condition/m-p/97513#M15627</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;&lt;/P&gt;&lt;P&gt;I have developed&amp;nbsp; the attached QVW file with help from the friends in community. Now I have come the final stage where I do not get the expected output. In otherwords in my data table if the Two Policy nos match and Monthend period match and NEP+NEP (of two policies )is zero NEP amount sholud show Zero in both policies(rows). I have attched my QV docoment. Kindly look into this and help me,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Current output report&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screenshot_1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/211134_Screenshot_1.png" style="height: 93px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Required Output Report&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screenshot_2.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/211135_Screenshot_2.png" style="height: 90px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Aug 2018 10:40:46 GMT</pubDate>
    <dc:creator>upaliwije</dc:creator>
    <dc:date>2018-08-17T10:40:46Z</dc:date>
    <item>
      <title>peek with If condition</title>
      <link>https://community.qlik.com/t5/QlikView/peek-with-If-condition/m-p/97513#M15627</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;&lt;/P&gt;&lt;P&gt;I have developed&amp;nbsp; the attached QVW file with help from the friends in community. Now I have come the final stage where I do not get the expected output. In otherwords in my data table if the Two Policy nos match and Monthend period match and NEP+NEP (of two policies )is zero NEP amount sholud show Zero in both policies(rows). I have attched my QV docoment. Kindly look into this and help me,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Current output report&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screenshot_1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/211134_Screenshot_1.png" style="height: 93px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Required Output Report&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screenshot_2.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/211135_Screenshot_2.png" style="height: 90px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2018 10:40:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/peek-with-If-condition/m-p/97513#M15627</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2018-08-17T10:40:46Z</dc:date>
    </item>
    <item>
      <title>Re: peek with If condition</title>
      <link>https://community.qlik.com/t5/QlikView/peek-with-If-condition/m-p/97514#M15628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="311382.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/211170_311382.JPG" style="height: 79px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are looking for something like this&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;In the sheet Test of your QVW&lt;/LI&gt;&lt;LI&gt;remove the dimensions&lt;UL&gt;&lt;LI&gt;Ref Number&lt;/LI&gt;&lt;LI&gt;Trans Date&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;In the presentation tab of your Pivot table Uncheck suppress zero values&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to keep the dimensions and see 0's then you might have to do the summation in the script itself.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2018 15:35:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/peek-with-If-condition/m-p/97514#M15628</guid>
      <dc:creator>vamsee</dc:creator>
      <dc:date>2018-08-17T15:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: peek with If condition</title>
      <link>https://community.qlik.com/t5/QlikView/peek-with-If-condition/m-p/97515#M15629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;‌ thanks.&lt;/P&gt;&lt;P&gt;i Need both those field in my pivot table. If you can do with two fields pls help me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Aug 2018 06:03:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/peek-with-If-condition/m-p/97515#M15629</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2018-08-18T06:03:06Z</dc:date>
    </item>
    <item>
      <title>Re: peek with If condition</title>
      <link>https://community.qlik.com/t5/QlikView/peek-with-If-condition/m-p/97516#M15630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you substitute the Sum(NEP) expression in your test tab in the pivot table with this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(If(Odd(RowNo(TOTAL)),Sum(NEP)+Below(TOTAL Sum(NEP)),Above(TOTAL Sum(NEP))+Sum(NEP))=0,0,Sum(NEP))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will get this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2018-08-18 10_57_35-QlikView x64 - Evaluation Copy - [C__Users_pts_Downloads_test.qvw_].png" class="jive-image image-1" src="/legacyfs/online/211213_2018-08-18 10_57_35-QlikView x64 - Evaluation Copy - [C__Users_pts_Downloads_test.qvw_].png" style="height: 59px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also set the &lt;STRONG&gt;Populate Missing Cells&lt;/STRONG&gt; to nothing in the &lt;STRONG&gt;Presentation&lt;/STRONG&gt; tab:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2018-08-18 10_51_52-Chart Properties &amp;lt;B&amp;gt;.png" class="jive-image image-2" height="69" src="/legacyfs/online/211226_2018-08-18 10_51_52-Chart Properties &amp;lt;B&amp;gt;.png" style="height: 69.0306px; width: 208px;" width="208" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Aug 2018 08:00:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/peek-with-If-condition/m-p/97516#M15630</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2018-08-18T08:00:31Z</dc:date>
    </item>
    <item>
      <title>Re: peek with If condition</title>
      <link>https://community.qlik.com/t5/QlikView/peek-with-If-condition/m-p/97517#M15631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or you might prefer a more &lt;STRONG&gt;accurate display of the values&lt;/STRONG&gt; versus the missing values by using this expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(If(Odd(RowNo(TOTAL)),Sum(NEP)+Below(TOTAL Sum(NEP)),Above(TOTAL Sum(NEP))+Sum(NEP))=0,&lt;STRONG&gt;Null()&lt;/STRONG&gt;,Sum(NEP))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To get this:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2018-08-18 11_03_43-QlikView x64 - Evaluation Copy - [C__Users_pts_Downloads_test.qvw_].png" class="jive-image image-1" src="/legacyfs/online/211227_2018-08-18 11_03_43-QlikView x64 - Evaluation Copy - [C__Users_pts_Downloads_test.qvw_].png" style="height: 62px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By setting this:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2018-08-18 11_04_01-Chart Properties [Sum NEP].png" class="jive-image image-2" height="50" src="/legacyfs/online/211228_2018-08-18 11_04_01-Chart Properties [Sum NEP].png" style="height: 50.2803px; width: 147px;" width="147" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Aug 2018 08:07:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/peek-with-If-condition/m-p/97517#M15631</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2018-08-18T08:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: peek with If condition</title>
      <link>https://community.qlik.com/t5/QlikView/peek-with-If-condition/m-p/97518#M15632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;‌Thanks Petter. &lt;/P&gt;&lt;P&gt;IT solves my issue except&amp;nbsp; does not show values in total column in some rows. If you can pls also give a solution for that also. &lt;/P&gt;&lt;P&gt;THanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Aug 2018 13:08:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/peek-with-If-condition/m-p/97518#M15632</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2018-08-18T13:08:02Z</dc:date>
    </item>
    <item>
      <title>Re: peek with If condition</title>
      <link>https://community.qlik.com/t5/QlikView/peek-with-If-condition/m-p/97519#M15633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not able to find a way to calculate the correct total with the Pivot Table. However it is easy to do it with a Straight Table instead:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2018-08-19 01_59_13-QlikView x64 - Evaluation Copy - [C__Users_pts_Documents_test2.qvw].png" class="jive-image image-1" height="67" src="/legacyfs/online/211230_2018-08-19 01_59_13-QlikView x64 - Evaluation Copy - [C__Users_pts_Documents_test2.qvw].png" style="height: 67px; width: 692.333px;" width="692" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And to get the straight table's expressions and labels to be easier to handle I created these three variables:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vMonthEnd, vNEP and vTotal. They all take parameters as to how many months ago the expression should be calculated for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also a small helper table to get the months dynamic is needed. I just called it Cal. See attached QVW.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Aug 2018 23:04:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/peek-with-If-condition/m-p/97519#M15633</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2018-08-18T23:04:30Z</dc:date>
    </item>
    <item>
      <title>Re: peek with If condition</title>
      <link>https://community.qlik.com/t5/QlikView/peek-with-If-condition/m-p/97520#M15634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot Petter,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is excatly what I was looking for. But If I am not disturbing you pls help me with futher development I require on the output report. In this report I want to show one row (postive or negative) which has higher value. I have shown&amp;nbsp; my requrement in image below. pls also pay your attention tovalue in total column. Appreciate If you kindly help me . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screenshot_1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/211262_Screenshot_1.png" style="height: 161px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Aug 2018 13:49:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/peek-with-If-condition/m-p/97520#M15634</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2018-08-19T13:49:18Z</dc:date>
    </item>
    <item>
      <title>Re: peek with If condition</title>
      <link>https://community.qlik.com/t5/QlikView/peek-with-If-condition/m-p/97521#M15635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt; Maybe you should close this thread now - continously raising the bar is not how this forum is supposed to work &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Aug 2018 16:29:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/peek-with-If-condition/m-p/97521#M15635</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2018-08-19T16:29:03Z</dc:date>
    </item>
    <item>
      <title>Re: peek with If condition</title>
      <link>https://community.qlik.com/t5/QlikView/peek-with-If-condition/m-p/97522#M15636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry If I disturb you. Thank you for your great help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2018 03:00:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/peek-with-If-condition/m-p/97522#M15636</guid>
      <dc:creator>upaliwije</dc:creator>
      <dc:date>2018-08-20T03:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: peek with If condition</title>
      <link>https://community.qlik.com/t5/QlikView/peek-with-If-condition/m-p/97523#M15637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is doable like you can see here. But the expressions and the tweaking that is necessary really make me think that we are stretching the limits on how far one should go to emulate a Spreadsheet oriented way of calculating in QlikView. It is much better to rethink the calculation model and come up with a model that is natural for QlikView's way of working.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2018-08-20 09_36_41-QlikView x64 - Evaluation Copy - [C__Users_pts_Documents_test2.qvw_].png" class="jive-image image-2" height="81" src="/legacyfs/online/211275_2018-08-20 09_36_41-QlikView x64 - Evaluation Copy - [C__Users_pts_Documents_test2.qvw_].png" style="height: 81px; width: 749.552px;" width="749" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2018 06:49:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/peek-with-If-condition/m-p/97523#M15637</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2018-08-20T06:49:59Z</dc:date>
    </item>
  </channel>
</rss>

