<?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: Removing the rows based on if condition in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Removing-the-rows-based-on-if-condition/m-p/772252#M1027802</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try Expression Total&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Mar 2015 11:00:38 GMT</pubDate>
    <dc:creator>awhitfield</dc:creator>
    <dc:date>2015-03-11T11:00:38Z</dc:date>
    <item>
      <title>Removing the rows based on if condition</title>
      <link>https://community.qlik.com/t5/QlikView/Removing-the-rows-based-on-if-condition/m-p/772248#M1027795</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 trying to eliminate or remove rows from the straight table based on if condition. I have tried applying the calculated dimension but it did not work as expected. So i applied the if condition to all the expressions. It is working fine.&lt;/P&gt;&lt;P&gt;Now I am facing issue to get the total of each column,Expression-&amp;gt; sum of rows does it but there are some expressions which are calculating percentage. What should i implement in order to calculate percentage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So could please help me with this issue. Thanks in advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Akshay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2020 18:02:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Removing-the-rows-based-on-if-condition/m-p/772248#M1027795</guid>
      <dc:creator />
      <dc:date>2020-11-20T18:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: Removing the rows based on if condition</title>
      <link>https://community.qlik.com/t5/QlikView/Removing-the-rows-based-on-if-condition/m-p/772249#M1027796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Akshay Netalkar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can attach your sample work, community might be able to help you much faster.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2015 11:29:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Removing-the-rows-based-on-if-condition/m-p/772249#M1027796</guid>
      <dc:creator>jpenuliar</dc:creator>
      <dc:date>2015-03-10T11:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: Removing the rows based on if condition</title>
      <link>https://community.qlik.com/t5/QlikView/Removing-the-rows-based-on-if-condition/m-p/772250#M1027797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please upload sample qvw?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2015 11:30:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Removing-the-rows-based-on-if-condition/m-p/772250#M1027797</guid>
      <dc:creator>senpradip007</dc:creator>
      <dc:date>2015-03-10T11:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: Removing the rows based on if condition</title>
      <link>https://community.qlik.com/t5/QlikView/Removing-the-rows-based-on-if-condition/m-p/772251#M1027798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have attached a screenshot of the straight table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Qlik.png" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/80439_Qlik.png" style="height: 291px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;Here in this straight table should contain only those distributors where the Achieved forecast is positive.&lt;/P&gt;&lt;P&gt;Similarly there is another chart where only negative values should be visible.&lt;/P&gt;&lt;P&gt;So I have applied a if condition present in a variable and applied it on every expression to decide if the value is positive. Similarly for the other chart having negative values.&lt;/P&gt;&lt;P&gt;In the present if condition i.e if($(abc)&amp;gt;=0,Expression,0) similarly for negative values if($(abc)&amp;lt;0,Expression,0)&lt;/P&gt;&lt;P&gt;&lt;IMG alt="qlik2.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/80440_qlik2.png" style="font-size: 13.3333330154419px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I trying to calculate the percentage as marked in the screen shot the value is 0. Rest of the columns are managed using sum of rows.&lt;/P&gt;&lt;P&gt;Could you please help me with the filter so that I can calculate the percentage or any other way to show percentage using current if condition.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2015 07:16:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Removing-the-rows-based-on-if-condition/m-p/772251#M1027798</guid>
      <dc:creator />
      <dc:date>2015-03-11T07:16:25Z</dc:date>
    </item>
    <item>
      <title>Re: Removing the rows based on if condition</title>
      <link>https://community.qlik.com/t5/QlikView/Removing-the-rows-based-on-if-condition/m-p/772252#M1027802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try Expression Total&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2015 11:00:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Removing-the-rows-based-on-if-condition/m-p/772252#M1027802</guid>
      <dc:creator>awhitfield</dc:creator>
      <dc:date>2015-03-11T11:00:38Z</dc:date>
    </item>
    <item>
      <title>Re: Removing the rows based on if condition</title>
      <link>https://community.qlik.com/t5/QlikView/Removing-the-rows-based-on-if-condition/m-p/772253#M1027805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you try to use the dimensionality() function? &lt;/P&gt;&lt;P&gt;grtz&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2015 11:05:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Removing-the-rows-based-on-if-condition/m-p/772253#M1027805</guid>
      <dc:creator>thierrytt1102</dc:creator>
      <dc:date>2015-03-11T11:05:23Z</dc:date>
    </item>
    <item>
      <title>Re: Removing the rows based on if condition</title>
      <link>https://community.qlik.com/t5/QlikView/Removing-the-rows-based-on-if-condition/m-p/772254#M1027808</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;Can I ask how many dimensions are in your straight table?&lt;/P&gt;&lt;P&gt;Well I think you can do something like this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum( TOTAL &amp;lt;Dim1,Dim2&amp;gt; SalesFigure)&lt;/P&gt;&lt;P&gt;This will give you the total. Please note that the Dim1,Dim2 is just my assumption. So if you only have 1 dimension then you only need 1 dimension in the expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully this answers your question&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2015 11:10:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Removing-the-rows-based-on-if-condition/m-p/772254#M1027808</guid>
      <dc:creator>Gabriel</dc:creator>
      <dc:date>2015-03-11T11:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: Removing the rows based on if condition</title>
      <link>https://community.qlik.com/t5/QlikView/Removing-the-rows-based-on-if-condition/m-p/772255#M1027811</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;You need an Aggr() expression like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum(Aggr(&amp;lt;current column expression&amp;gt;, &amp;lt;dim1, dim2, ...&amp;gt;))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where &lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&amp;lt;current column expression&amp;gt; is the current expression. The Aggr will return the results of this expression for the individual rows&lt;/LI&gt;&lt;LI&gt;&amp;lt;dim1, dim2, ...&amp;gt; is a comma sperated list of the dimension fields from the table. They must all be included in this list&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2015 11:25:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Removing-the-rows-based-on-if-condition/m-p/772255#M1027811</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-03-11T11:25:32Z</dc:date>
    </item>
  </channel>
</rss>

