<?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 Finding nearest possible value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Finding-nearest-possible-value/m-p/1734172#M452486</link>
    <description>&lt;P&gt;Table 1&amp;nbsp;&lt;/P&gt;&lt;P&gt;KEY&amp;nbsp; &amp;nbsp;Month1&amp;nbsp; VAL1&lt;/P&gt;&lt;P&gt;K1&amp;nbsp; &amp;nbsp; &amp;nbsp; Jan&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;10&lt;/P&gt;&lt;P&gt;K1&amp;nbsp; &amp;nbsp; &amp;nbsp;Feb&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 20&lt;/P&gt;&lt;P&gt;K1&amp;nbsp; &amp;nbsp; &amp;nbsp;Mar&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;10&lt;/P&gt;&lt;P&gt;K1&amp;nbsp; &amp;nbsp; Apr&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 12&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TABLE 2&lt;/P&gt;&lt;P&gt;KEY Month2&amp;nbsp; VAL2&lt;/P&gt;&lt;P&gt;K1&amp;nbsp; &amp;nbsp; FEB&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;38&lt;/P&gt;&lt;P&gt;now the requiment is to check Month2 which is FEB and val2 which is 38. Based on that I have to take the same month in Table 1 as starting point which is FEB and see how close I can go to 38 by adding the Feb and &amp;gt;Feb months val.&lt;/P&gt;&lt;P&gt;For Example in this case&lt;/P&gt;&lt;P&gt;FEB = 20&amp;nbsp;&lt;/P&gt;&lt;P&gt;MAR = 10&amp;nbsp; total is (FEB+MAR VAL) 30 which is 8 less than 38&lt;/P&gt;&lt;P&gt;Apr =12&amp;nbsp; &amp;nbsp;total is (FEB+APR VAL) 32 which is 6 less than 38 , so my output should be this one.&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 00:10:43 GMT</pubDate>
    <dc:creator>Kanstussy</dc:creator>
    <dc:date>2024-11-16T00:10:43Z</dc:date>
    <item>
      <title>Finding nearest possible value</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-nearest-possible-value/m-p/1734172#M452486</link>
      <description>&lt;P&gt;Table 1&amp;nbsp;&lt;/P&gt;&lt;P&gt;KEY&amp;nbsp; &amp;nbsp;Month1&amp;nbsp; VAL1&lt;/P&gt;&lt;P&gt;K1&amp;nbsp; &amp;nbsp; &amp;nbsp; Jan&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;10&lt;/P&gt;&lt;P&gt;K1&amp;nbsp; &amp;nbsp; &amp;nbsp;Feb&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 20&lt;/P&gt;&lt;P&gt;K1&amp;nbsp; &amp;nbsp; &amp;nbsp;Mar&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;10&lt;/P&gt;&lt;P&gt;K1&amp;nbsp; &amp;nbsp; Apr&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 12&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TABLE 2&lt;/P&gt;&lt;P&gt;KEY Month2&amp;nbsp; VAL2&lt;/P&gt;&lt;P&gt;K1&amp;nbsp; &amp;nbsp; FEB&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;38&lt;/P&gt;&lt;P&gt;now the requiment is to check Month2 which is FEB and val2 which is 38. Based on that I have to take the same month in Table 1 as starting point which is FEB and see how close I can go to 38 by adding the Feb and &amp;gt;Feb months val.&lt;/P&gt;&lt;P&gt;For Example in this case&lt;/P&gt;&lt;P&gt;FEB = 20&amp;nbsp;&lt;/P&gt;&lt;P&gt;MAR = 10&amp;nbsp; total is (FEB+MAR VAL) 30 which is 8 less than 38&lt;/P&gt;&lt;P&gt;Apr =12&amp;nbsp; &amp;nbsp;total is (FEB+APR VAL) 32 which is 6 less than 38 , so my output should be this one.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:10:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-nearest-possible-value/m-p/1734172#M452486</guid>
      <dc:creator>Kanstussy</dc:creator>
      <dc:date>2024-11-16T00:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: Finding nearest possible value</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-nearest-possible-value/m-p/1734329#M452498</link>
      <description>&lt;P&gt;If you add Apr, it is 42. This is 4 higher than 38.&lt;/P&gt;</description>
      <pubDate>Sun, 09 Aug 2020 02:27:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-nearest-possible-value/m-p/1734329#M452498</guid>
      <dc:creator>Saravanan_Desingh</dc:creator>
      <dc:date>2020-08-09T02:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: Finding nearest possible value</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-nearest-possible-value/m-p/1734333#M452500</link>
      <description>&lt;P&gt;Would you be able to share sample data?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 09 Aug 2020 08:49:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-nearest-possible-value/m-p/1734333#M452500</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2020-08-09T08:49:16Z</dc:date>
    </item>
  </channel>
</rss>

