<?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: Negative Points for If(IsNull(... in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Negative-Points-for-If-IsNull/m-p/1342989#M615337</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That worked absolutely perfect!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help on this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Jul 2017 12:14:37 GMT</pubDate>
    <dc:creator>craig157</dc:creator>
    <dc:date>2017-07-20T12:14:37Z</dc:date>
    <item>
      <title>Negative Points for If(IsNull(...</title>
      <link>https://community.qlik.com/t5/QlikView/Negative-Points-for-If-IsNull/m-p/1342987#M615335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I am trying to create a report that will hopefully show which of our customer records will need various improvements.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Essentially I want to create a Ranking Table.&lt;/P&gt;&lt;P&gt;So I have setup multiple variables as below:&lt;/P&gt;&lt;P&gt;vMaxRankingPoints = 10&lt;/P&gt;&lt;P&gt;vNullCompanyName = -1&lt;/P&gt;&lt;P&gt;vNullAddressPostcode = -1&lt;/P&gt;&lt;P&gt;vNullCounty = -1&lt;/P&gt;&lt;P&gt;vNullTelephoneNumber = -1&lt;/P&gt;&lt;P&gt;And so on and so on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've set these up as Variables as in future I would like to be able to change the values for putting a push on getting certain fields improved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the end goal is to find out how many records have landed within certain 'Ranking Points' so we can investigate why they have been neglected and such.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Each field has a relevant 'ID' which I want to allocate a ranking too - and then check the fields for Null values and remove Ranking Points accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried doing like this expression below but had no joy and not sure what type of Function I should be looking for:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;aggr(cOrgID &amp;gt; 0, vMaxRankingPoints)&lt;/P&gt;&lt;P&gt;AND If(IsNull([CompanyName]),vNullCompanyName)&lt;/P&gt;&lt;P&gt;AND If(IsNull([Address1]),vNullAddress1)&lt;/P&gt;&lt;P&gt;AND If(IsNull([AddressCounty]),vNullAddressCounty)&lt;/P&gt;&lt;P&gt;AND If(IsNull([AddressPostcode]),vNullAddressPostcode)&lt;/P&gt;&lt;P&gt;AND If(IsNull([AddressTown]),vNullAddressTown)&lt;/P&gt;&lt;P&gt;AND If(IsNull([Tel1]),vNullTelephone)&lt;/P&gt;&lt;P&gt;AND If(IsNull([modeled_turnover_band_desc]),vNullTurnover)&lt;/P&gt;&lt;P&gt;AND If(IsNull([WWW]),vNullWebsite)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully this would give me an end result per ID like: ID = 003449002 Ranking = 7&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The goal after this would then be to group these so I could have a count of how many companies per Ranking Point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry if I've got carried away but just trying to cover all basis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2017 10:53:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Negative-Points-for-If-IsNull/m-p/1342987#M615335</guid>
      <dc:creator>craig157</dc:creator>
      <dc:date>2017-07-20T10:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: Negative Points for If(IsNull(...</title>
      <link>https://community.qlik.com/t5/QlikView/Negative-Points-for-If-IsNull/m-p/1342988#M615336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you are looking to add these points and the way it is structured right now, it won't add... try something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;RangeSum(&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;If(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;cOrgID &amp;gt; 0, &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vMaxRankingPoints),&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;If(IsNull([CompanyName]), vNullCompanyName),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;If(IsNull([Address1]),vNullAddress1),&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;....&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2017 11:08:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Negative-Points-for-If-IsNull/m-p/1342988#M615336</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-07-20T11:08:07Z</dc:date>
    </item>
    <item>
      <title>Re: Negative Points for If(IsNull(...</title>
      <link>https://community.qlik.com/t5/QlikView/Negative-Points-for-If-IsNull/m-p/1342989#M615337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That worked absolutely perfect!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help on this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2017 12:14:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Negative-Points-for-If-IsNull/m-p/1342989#M615337</guid>
      <dc:creator>craig157</dc:creator>
      <dc:date>2017-07-20T12:14:37Z</dc:date>
    </item>
  </channel>
</rss>

