<?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: Showing only partial results in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Showing-only-partial-results/m-p/583380#M1103749</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a variable&lt;/P&gt;&lt;P&gt;vMarginRate = 0.10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now Create a straight Table&lt;/P&gt;&lt;P&gt;Calculated Dimension&lt;/P&gt;&lt;P&gt;IF(Aggr(SUM([Margin Rate]),Customer)&amp;gt;=$(vMarginRate), Customer&lt;/P&gt;&lt;P&gt;Tick Suppress When Value is NULL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression&lt;/P&gt;&lt;P&gt;SUM(Margin Rate)&lt;/P&gt;&lt;P&gt;SUM(Sales)&lt;/P&gt;&lt;P&gt;SUM(Margin)&lt;/P&gt;&lt;P&gt;Or whatever you want&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You Can now create an input box with Variable defined above and change the Margin Rate accordingly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 31 Mar 2014 21:14:37 GMT</pubDate>
    <dc:creator>MK_QSL</dc:creator>
    <dc:date>2014-03-31T21:14:37Z</dc:date>
    <item>
      <title>Showing only partial results</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-only-partial-results/m-p/583379#M1103748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi - hopefully this is easy, but I can't quite get it to work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have four fields:&amp;nbsp; customer, sales $, margin $ and margin rate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The customers are grouped together in a set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Therefore, the sales, margin and rate expressions are for that set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to have the resulting table show me only those customers with margin rate above a certain level and not show me any other results for the specified time period&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I do that?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried using an if statement in the expression, but that did not limit my results. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help - Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2014 20:38:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-only-partial-results/m-p/583379#M1103748</guid>
      <dc:creator />
      <dc:date>2014-03-31T20:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: Showing only partial results</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-only-partial-results/m-p/583380#M1103749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a variable&lt;/P&gt;&lt;P&gt;vMarginRate = 0.10&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now Create a straight Table&lt;/P&gt;&lt;P&gt;Calculated Dimension&lt;/P&gt;&lt;P&gt;IF(Aggr(SUM([Margin Rate]),Customer)&amp;gt;=$(vMarginRate), Customer&lt;/P&gt;&lt;P&gt;Tick Suppress When Value is NULL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression&lt;/P&gt;&lt;P&gt;SUM(Margin Rate)&lt;/P&gt;&lt;P&gt;SUM(Sales)&lt;/P&gt;&lt;P&gt;SUM(Margin)&lt;/P&gt;&lt;P&gt;Or whatever you want&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You Can now create an input box with Variable defined above and change the Margin Rate accordingly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2014 21:14:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-only-partial-results/m-p/583380#M1103749</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-03-31T21:14:37Z</dc:date>
    </item>
    <item>
      <title>Re: Showing only partial results</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-only-partial-results/m-p/583381#M1103750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you - I'm assuming that's correct, but when I say I'm new to Qlikview, I mean really new.&amp;nbsp; As in:&amp;nbsp; don't know how to create a variable or an input box.&amp;nbsp; I'm sure it's basic stuff, but I'm working off of zero training materials and until now have been doing simple data pulls and manipulating in excel.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2014 21:36:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-only-partial-results/m-p/583381#M1103750</guid>
      <dc:creator />
      <dc:date>2014-03-31T21:36:05Z</dc:date>
    </item>
    <item>
      <title>Re: Showing only partial results</title>
      <link>https://community.qlik.com/t5/QlikView/Showing-only-partial-results/m-p/583382#M1103751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try expressions like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(max([margin rate]) &amp;gt; 0.35, sum([sales $]), 0)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(max([margin rate]) &amp;gt; 0.35, sum([margin $]), 0)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have these expressions with a dimension of &lt;STRONG&gt;customer&lt;/STRONG&gt; you should only see customers that exist in a set with a &lt;STRONG&gt;margin rate&lt;/STRONG&gt; of over &lt;STRONG&gt;35%&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As Manish says there is merit in creating a variable to store the rate.&amp;nbsp; The easiest way to do this is in your load script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;let vMarginThreshold = 0.35;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This variable can then replace the rate in the expressions above like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(max([margin rate]) &amp;gt; $(vMarginThreshold), sum([sales $]), 0)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will find a wealth of information if you search Qlik Community (Google search tends to work better than the search box on the site) and there are a number of good blogs out there also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps point you in the right direction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2014 22:17:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Showing-only-partial-results/m-p/583382#M1103751</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2014-03-31T22:17:48Z</dc:date>
    </item>
  </channel>
</rss>

