<?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: Intersecting Values with Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Intersecting-Values-with-Set-Analysis/m-p/1604376#M456545</link>
    <description>&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;[ TIP: to show any contributor that you like and appreciate their answers please CLICK the like icon (thumbs up) ]&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;I had a look at your problem and came up with an approach that use IntervalMatch twice with the first one is using the straight forward IntervalMatch while the second one is using the extended IntervalMatch.&lt;/P&gt;&lt;P&gt;Mind you that the test data I had to modify due to most of the test cases were edge cases that didn't come up with anything else than 0 as WeigthedInterestRate. Furthermore I haven't included the edge intervals between 1 and the first&amp;nbsp; turnover tiers. So you have to add a little bit of extra effort to include them...&lt;/P&gt;&lt;P&gt;Here is the interesting part of the load script:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Merknad 2019-07-21 211929.png" style="width: 666px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/15769i75C60E864CD16B94/image-dimensions/666x233?v=v2" width="666" height="233" role="button" title="Merknad 2019-07-21 211929.png" alt="Merknad 2019-07-21 211929.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Merknad 2019-07-21 211034.png" style="width: 379px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/15766iC48779B37F7FFDB5/image-dimensions/379x292?v=v2" width="379" height="292" role="button" title="Merknad 2019-07-21 211034.png" alt="Merknad 2019-07-21 211034.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the first part of the load script - the Sales data used that I modified:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Merknad 2019-07-21 210946.png" style="width: 401px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/15768iE4C097438FB14F45/image-dimensions/401x459?v=v2" width="401" height="459" role="button" title="Merknad 2019-07-21 210946.png" alt="Merknad 2019-07-21 210946.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the load script:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;MFCVIB:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;CrossTable(TurnoverTier, WeightedInterestRate, 3)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;LOAD F1 as MarginTier,&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT face="courier new,courier" size="2"&gt;F2 as MarginTierLower,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;F4 as MarginTierHigher, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;[5830000], &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;[6560000], &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;[6870000], &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;[7190000], &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;[7500000], &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;[7810000], &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;[8130000], &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;[8440000], &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;[8750000], &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;[9070000], &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;[9380000], &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;[9690000], &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;[10010000], &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;[10320000], &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;[10630000], &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;[10950000], &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;[11260000], &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;[11570000], &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;[11890000], &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;[12200000], &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;[12510000]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;FROM [Test.xlsx]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;(ooxml, embedded labels, header is 1 lines, table is [Test]);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;Sales:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;LOAD RecNo() AS Store#,* INLINE [&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Store, Turnover, Margin%&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;one, 6644883, 4.54&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;two, 8000234, 3.57&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;three, 12466678, 6.24&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;four, 9540087, 2.47&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;five, 10433357, 3.02&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;six, 6254478, 2.72&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;seven, 11143256, 2.91&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;eight, 10117489, 2.94&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;nine, 9945722, 3.14&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;ten, 7115789, 2.9&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;];&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;M:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;LOAD&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;MarginTier,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;MarginTierLower,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;MarginTierHigher,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;//If(Mod(RecNo()-1,12)=0,1,Peek('TurnoverHigher')+1) AS TurnoverLower,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;If(RecNo()=1,1,Peek('TurnoverHigher')+1) AS TurnoverLower,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Num#(TurnoverTier) AS TurnoverHigher,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;WeightedInterestRate&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;RESIDENT&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;MFCVIB;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;INNER JOIN IntervalMatch(Margin%) LOAD MarginTierLower,MarginTierHigher RESIDENT M;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;JOIN (M) LOAD * RESIDENT Sales;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;INNER JOIN IntervalMatch(Turnover,Margin%) LOAD TurnoverLower, TurnoverHigher, Margin% RESIDENT M;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;DATA:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;NOCONCATENATE LOAD DISTINCT Store#,Store,Turnover,Margin%,WeightedInterestRate RESIDENT M;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;DROP TABLE MFCVIB, M, Sales;&lt;/FONT&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 21 Jul 2019 19:21:34 GMT</pubDate>
    <dc:creator>petter</dc:creator>
    <dc:date>2019-07-21T19:21:34Z</dc:date>
    <item>
      <title>Intersecting Values with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Intersecting-Values-with-Set-Analysis/m-p/1604057#M456544</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have attached a Test.qvw and Test.xlsx to make this request a bit easier hopefully.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to, using a pivoted spreadsheet find the intersecting values between 2 calculated expressions (for convenience i have simplified these in the example) - Turnover and Margin%. If the Turnover is between the threshold provided and the intersecting Margin% falls in one of the Margin Tiers the intersecting value must be provided as the result.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 718px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/15706iBA1FB7F2CCD5A4A8/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I am not considering Intervalmatch because the Turnover and Margin% are actually complex calculations calculated in the frontend and there is no link to this spreadsheet using store or any other field. It is a global guideline.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Capture2.JPG" style="width: 372px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/15708iC70C2FC6ACD0EA1D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture2.JPG" alt="Capture2.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Richard&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 20:25:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intersecting-Values-with-Set-Analysis/m-p/1604057#M456544</guid>
      <dc:creator>glencote</dc:creator>
      <dc:date>2024-11-16T20:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: Intersecting Values with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Intersecting-Values-with-Set-Analysis/m-p/1604376#M456545</link>
      <description>&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;[ TIP: to show any contributor that you like and appreciate their answers please CLICK the like icon (thumbs up) ]&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;I had a look at your problem and came up with an approach that use IntervalMatch twice with the first one is using the straight forward IntervalMatch while the second one is using the extended IntervalMatch.&lt;/P&gt;&lt;P&gt;Mind you that the test data I had to modify due to most of the test cases were edge cases that didn't come up with anything else than 0 as WeigthedInterestRate. Furthermore I haven't included the edge intervals between 1 and the first&amp;nbsp; turnover tiers. So you have to add a little bit of extra effort to include them...&lt;/P&gt;&lt;P&gt;Here is the interesting part of the load script:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Merknad 2019-07-21 211929.png" style="width: 666px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/15769i75C60E864CD16B94/image-dimensions/666x233?v=v2" width="666" height="233" role="button" title="Merknad 2019-07-21 211929.png" alt="Merknad 2019-07-21 211929.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Merknad 2019-07-21 211034.png" style="width: 379px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/15766iC48779B37F7FFDB5/image-dimensions/379x292?v=v2" width="379" height="292" role="button" title="Merknad 2019-07-21 211034.png" alt="Merknad 2019-07-21 211034.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the first part of the load script - the Sales data used that I modified:&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Merknad 2019-07-21 210946.png" style="width: 401px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/15768iE4C097438FB14F45/image-dimensions/401x459?v=v2" width="401" height="459" role="button" title="Merknad 2019-07-21 210946.png" alt="Merknad 2019-07-21 210946.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the load script:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;MFCVIB:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;CrossTable(TurnoverTier, WeightedInterestRate, 3)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;LOAD F1 as MarginTier,&lt;BR /&gt;&lt;/FONT&gt;&lt;FONT face="courier new,courier" size="2"&gt;F2 as MarginTierLower,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;F4 as MarginTierHigher, &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;[5830000], &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;[6560000], &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;[6870000], &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;[7190000], &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;[7500000], &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;[7810000], &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;[8130000], &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;[8440000], &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;[8750000], &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;[9070000], &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;[9380000], &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;[9690000], &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;[10010000], &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;[10320000], &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;[10630000], &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;[10950000], &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;[11260000], &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;[11570000], &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;[11890000], &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;[12200000], &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;[12510000]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;FROM [Test.xlsx]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;(ooxml, embedded labels, header is 1 lines, table is [Test]);&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;Sales:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;LOAD RecNo() AS Store#,* INLINE [&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Store, Turnover, Margin%&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;one, 6644883, 4.54&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;two, 8000234, 3.57&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;three, 12466678, 6.24&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;four, 9540087, 2.47&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;five, 10433357, 3.02&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;six, 6254478, 2.72&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;seven, 11143256, 2.91&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;eight, 10117489, 2.94&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;nine, 9945722, 3.14&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;ten, 7115789, 2.9&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;];&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;M:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;LOAD&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;MarginTier,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;MarginTierLower,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;MarginTierHigher,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;//If(Mod(RecNo()-1,12)=0,1,Peek('TurnoverHigher')+1) AS TurnoverLower,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;If(RecNo()=1,1,Peek('TurnoverHigher')+1) AS TurnoverLower,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;Num#(TurnoverTier) AS TurnoverHigher,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;WeightedInterestRate&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;RESIDENT&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;MFCVIB;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;INNER JOIN IntervalMatch(Margin%) LOAD MarginTierLower,MarginTierHigher RESIDENT M;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;JOIN (M) LOAD * RESIDENT Sales;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;INNER JOIN IntervalMatch(Turnover,Margin%) LOAD TurnoverLower, TurnoverHigher, Margin% RESIDENT M;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;DATA:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier" size="2"&gt;NOCONCATENATE LOAD DISTINCT Store#,Store,Turnover,Margin%,WeightedInterestRate RESIDENT M;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier" size="2"&gt;DROP TABLE MFCVIB, M, Sales;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 21 Jul 2019 19:21:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intersecting-Values-with-Set-Analysis/m-p/1604376#M456545</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2019-07-21T19:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: Intersecting Values with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Intersecting-Values-with-Set-Analysis/m-p/1604400#M456546</link>
      <description>&lt;P&gt;Hi Petter,&lt;/P&gt;&lt;P&gt;Thank you so much for the reply and the effort put in, i really do appreciate it. I am well aware of interval match and use it often.. However with this particular problem my Margin% is actually a very complicated formula in the front end that cannot be replicated in the script and therefor cannot be linked to the spreadsheet that way. Is there no way this could be done in the front end without interval match?&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2019 05:27:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intersecting-Values-with-Set-Analysis/m-p/1604400#M456546</guid>
      <dc:creator>glencote</dc:creator>
      <dc:date>2019-07-22T05:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: Intersecting Values with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Intersecting-Values-with-Set-Analysis/m-p/1604516#M456547</link>
      <description>&lt;P&gt;Sure - this can be done in the front-end or in a chart too:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Merknad 2019-07-22 120141.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/15794i3D6C0CF001DA6C42/image-size/large?v=v2&amp;amp;px=999" role="button" title="Merknad 2019-07-22 120141.png" alt="Merknad 2019-07-22 120141.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2019 10:03:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intersecting-Values-with-Set-Analysis/m-p/1604516#M456547</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2019-07-22T10:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: Intersecting Values with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Intersecting-Values-with-Set-Analysis/m-p/1604560#M456548</link>
      <description>&lt;P&gt;Hi Petter,&lt;/P&gt;&lt;P&gt;Thanks again for the reply. I think your expression in the chart you showed is after the Interval Match was used to link the intersections.. I think we are missing each other slightly here.&lt;/P&gt;&lt;P&gt;I simplified the example i attached- in my main application (which i cannot disclose) the Margin% is a very complex formula which calculates values from different tables and uses 3 variables which the client changes on the front end - so to have this as a linking field in Interval match is near impossible.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't think this is possible without interval match because you have to cater for every scenario which creates the Weighted Interest rate, it would be a nested if statement hundreds of lines long without the Interval Link (i assume).&lt;/P&gt;&lt;P&gt;Thank you again for your help..&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2019 11:30:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intersecting-Values-with-Set-Analysis/m-p/1604560#M456548</guid>
      <dc:creator>glencote</dc:creator>
      <dc:date>2019-07-22T11:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: Intersecting Values with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Intersecting-Values-with-Set-Analysis/m-p/1604574#M456549</link>
      <description>&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;[ NOTE: to show any contributor that you like and appreciate their answers please CLICK the like icon (thumbs up) ]&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;No I haven't made the chart dependent on any IntervalMatch. But I have made the TurnoverTier into a Lower and Higher just like the MarginTier... that doesn't require any IntervalMatch as it is quite simple.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2019 11:44:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intersecting-Values-with-Set-Analysis/m-p/1604574#M456549</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2019-07-22T11:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: Intersecting Values with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Intersecting-Values-with-Set-Analysis/m-p/1604581#M456550</link>
      <description>&lt;P&gt;Apologies Petter, this was an error on my side. Looks like it is working!&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2019 11:52:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intersecting-Values-with-Set-Analysis/m-p/1604581#M456550</guid>
      <dc:creator>glencote</dc:creator>
      <dc:date>2019-07-22T11:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: Intersecting Values with Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Intersecting-Values-with-Set-Analysis/m-p/1604585#M456551</link>
      <description>&lt;P&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;[ TIP : to show any contributor that you like and appreciate their answers please CLICK the like icon (thumbs up) ]&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jul 2019 11:56:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Intersecting-Values-with-Set-Analysis/m-p/1604585#M456551</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2019-07-22T11:56:00Z</dc:date>
    </item>
  </channel>
</rss>

