<?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: Issue with set modifier expression... I can't figure it out :) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Issue-with-set-modifier-expression-I-can-t-figure-it-out/m-p/1298422#M836270</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like you have an apostrophe in the wrong place on the last line. Does this work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;sum({&amp;lt;([StockextComponent.Physical Stock]&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;+Sum({&amp;lt;Allboms.Level={'&amp;lt;9'}&amp;gt;} [StockextPARENT.Physical Stock])&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;-((sum([Outstanding Total])&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;-sum(Allocated))*[Allboms.Quantity Per])))=&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;{'&amp;lt;0}'&amp;gt;} [Outstanding Value]&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 May 2017 09:54:59 GMT</pubDate>
    <dc:creator>c_gilbert</dc:creator>
    <dc:date>2017-05-19T09:54:59Z</dc:date>
    <item>
      <title>Issue with set modifier expression... I can't figure it out :)</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-set-modifier-expression-I-can-t-figure-it-out/m-p/1298421#M836269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I'm graphing overdue stock by supplier name. I need the outstanding value to be totalled up only when we are short on stock. The expression for that is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;([StockextComponent.Physical Stock]&lt;/P&gt;&lt;P&gt;+Sum({&amp;lt;Allboms.Level={'&amp;lt;9'}&amp;gt;} [StockextPARENT.Physical Stock])&lt;/P&gt;&lt;P&gt;-((sum([Outstanding Total])&lt;/P&gt;&lt;P&gt;-sum(Allocated))*[Allboms.Quantity Per])))=&lt;SPAN style="text-decoration: underline;"&gt;{'&amp;lt;0}&amp;gt;'} [Outstanding Value]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm getting "Error in set modifier expression" and the underlined part here is underlined in red. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically I want to do this formula:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[StockextComponent.Physical Stock]&lt;/P&gt;&lt;P&gt;+Sum({&amp;lt;Allboms.Level={'&amp;lt;9'}&amp;gt;} [StockextPARENT.Physical Stock])&lt;/P&gt;&lt;P&gt;-((sum([Outstanding Total])&lt;/P&gt;&lt;P&gt;-sum(Allocated))*[Allboms.Quantity Per])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And when it's &amp;lt;0 sum up the quantity of outstanding value. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that possible to do? or have I just got my brackets all in the wrong places throwing it out?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-set-modifier-expression-I-can-t-figure-it-out/m-p/1298421#M836269</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with set modifier expression... I can't figure it out :)</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-set-modifier-expression-I-can-t-figure-it-out/m-p/1298422#M836270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like you have an apostrophe in the wrong place on the last line. Does this work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;sum({&amp;lt;([StockextComponent.Physical Stock]&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;+Sum({&amp;lt;Allboms.Level={'&amp;lt;9'}&amp;gt;} [StockextPARENT.Physical Stock])&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;-((sum([Outstanding Total])&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;-sum(Allocated))*[Allboms.Quantity Per])))=&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;{'&amp;lt;0}'&amp;gt;} [Outstanding Value]&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 May 2017 09:54:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-set-modifier-expression-I-can-t-figure-it-out/m-p/1298422#M836270</guid>
      <dc:creator>c_gilbert</dc:creator>
      <dc:date>2017-05-19T09:54:59Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with set modifier expression... I can't figure it out :)</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-set-modifier-expression-I-can-t-figure-it-out/m-p/1298423#M836271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ooops yeah, well spotted &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It still doesn't work though, I think I changed it around that many times that was just a typo on the last attempt &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;sum({&amp;lt;([StockextComponent.Physical Stock]&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;+Sum({&amp;lt;Allboms.Level={'&amp;lt;9'}&amp;gt;} [StockextPARENT.Physical Stock])&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;-((sum([Outstanding Total])&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;-sum(Allocated))*[Allboms.Quantity Per])))=&lt;SPAN style="font-style: inherit; font-family: inherit; text-decoration: underline; font-weight: inherit;"&gt;{'&amp;lt;0'}&amp;gt;} [Outstanding Value]&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit; text-decoration: underline; font-weight: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;This underlined part still has error in expression... &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 May 2017 10:18:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-set-modifier-expression-I-can-t-figure-it-out/m-p/1298423#M836271</guid>
      <dc:creator />
      <dc:date>2017-05-19T10:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with set modifier expression... I can't figure it out :)</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-set-modifier-expression-I-can-t-figure-it-out/m-p/1298424#M836272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Still struggling with this working. Anyone else with any idea's?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2017 08:06:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-set-modifier-expression-I-can-t-figure-it-out/m-p/1298424#M836272</guid>
      <dc:creator />
      <dc:date>2017-05-22T08:06:50Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with set modifier expression... I can't figure it out :)</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-set-modifier-expression-I-can-t-figure-it-out/m-p/1298425#M836273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hi Adam,&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If a quick glance (highlighted in red)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;sum({&amp;lt;([StockextComponent.Physical Stock]&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;+Sum({&amp;lt;Allboms.Level={'&amp;lt;9'}&amp;gt;} [StockextPARENT.Physical Stock])&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;-((sum([Outstanding Total])&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #ff0000;"&gt;-sum(Allocated))*[Allboms.Quantity Per])))=&lt;/SPAN&gt;&lt;SPAN style="color: #ff0000; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;{'&amp;lt;0'}&amp;gt;} [Outstanding Value]&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #ff0000; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #000000;"&gt;1. No closing parenthesis&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #000000;"&gt;2. It is not clear what is being searched for is less than zero. If this is a calculation, and not a field, multiplication must also go into the set with zero.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #000000;"&gt;3. In calculations, I would use double quotes instead of single {"= ..."}&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #000000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #000000;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #000000;"&gt;Andrey&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2017 09:00:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-set-modifier-expression-I-can-t-figure-it-out/m-p/1298425#M836273</guid>
      <dc:creator>ahaahaaha</dc:creator>
      <dc:date>2017-05-22T09:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with set modifier expression... I can't figure it out :)</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-set-modifier-expression-I-can-t-figure-it-out/m-p/1298426#M836274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The set modifiers can only be applied to fields, not expressions. Just like you can only make selections on field values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If(&lt;/P&gt;&lt;P&gt;Rangesum(&lt;/P&gt;&lt;P&gt;[StockextComponent.Physical Stock],Sum({&amp;lt;Allboms.Level={'&amp;lt;9'}&amp;gt;} [StockextPARENT.Physical Stock]),&lt;/P&gt;&lt;P&gt;-(Rangesum(sum([Outstanding Total]),-sum(Allocated))*[Allboms.Quantity Per])&lt;/P&gt;&lt;P&gt;) &amp;lt;0,&lt;/P&gt;&lt;P&gt;Sum([Outstanding Value])&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;edit: corrected parentheses and added another Rangesum&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2017 09:09:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-set-modifier-expression-I-can-t-figure-it-out/m-p/1298426#M836274</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-05-22T09:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with set modifier expression... I can't figure it out :)</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-set-modifier-expression-I-can-t-figure-it-out/m-p/1298427#M836275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your answers guys. Very much appreciated!! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I certainly hadn't realized "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;The set modifiers can only be applied to fields, not expressions"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;The rangesum here didn't get me any values, but I also hadn't realized you can use IF statements. So just using the IF statement has gotten me further!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Andrey, I'm wanting to sum up the outstanding value where the stock level for the item is &amp;lt;0 when taking into account demand from orders on our system which is calculated as:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;"sum({&amp;lt;([StockextComponent.Physical Stock]&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;+Sum({&amp;lt;Allboms.Level={'&amp;lt;9'}&amp;gt;} [StockextPARENT.Physical Stock])&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;-((sum([Outstanding Total])&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #000000; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;-sum(Allocated))*[Allboms.Quantity Per])))"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the moment I can't graph it because the above calculation is in a table box, it gives me positive and negative values. I manually select the negative values. Which is fine for the tables. Trouble is, if I select more than 1 date to graph it, I can no longer select negatives in the table because they're summing up for the entire date period so the data becomes nonsensical. I need the formula to do that itself in the graph expression for each date. This is where I'm now struggling. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If((&lt;/P&gt;&lt;P&gt;[StockextComponent.Physical Stock]&lt;/P&gt;&lt;P&gt;+Sum({&amp;lt;Allboms.Level={'&amp;lt;9'}&amp;gt;} [StockextPARENT.Physical Stock])&lt;/P&gt;&lt;P&gt;-((sum([Outstanding Total])&lt;/P&gt;&lt;P&gt;-sum(Allocated))*[Allboms.Quantity Per])&lt;/P&gt;&lt;P&gt;) &amp;lt;0,&lt;/P&gt;&lt;P&gt;Sum([Outstanding Value])&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This now works for the graphing but only when I have Component Item as my dimension. I need to have Supplier as my dimension as a supplier overdue analysis. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I get this to work for Supplier?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached some images so you can better see what's going on.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adam&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture1.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/164253_Capture1.JPG" style="height: 312px; width: 620px;" /&gt;&lt;IMG alt="Capture2.JPG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/164254_Capture2.JPG" style="height: 304px; width: 620px;" /&gt;&lt;IMG alt="Capture3.JPG" class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/164255_Capture3.JPG" style="height: 487px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2017 11:19:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-set-modifier-expression-I-can-t-figure-it-out/m-p/1298427#M836275</guid>
      <dc:creator />
      <dc:date>2017-05-22T11:19:10Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with set modifier expression... I can't figure it out :)</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-set-modifier-expression-I-can-t-figure-it-out/m-p/1298428#M836276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm guessing the reason I get no graph data when I set the dimension to "Supplier" is because the net stock level for the supplier is &amp;gt;0. It'll be doing that calculation over all items combined so rather than what I need (The value of the items &amp;lt;0) It's adding up all items and giving me suppliers where the nett is &amp;lt;0 ... which is none of them! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to force the expression over item level?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2017 11:33:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-set-modifier-expression-I-can-t-figure-it-out/m-p/1298428#M836276</guid>
      <dc:creator />
      <dc:date>2017-05-22T11:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with set modifier expression... I can't figure it out :)</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-set-modifier-expression-I-can-t-figure-it-out/m-p/1298429#M836277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if I understand 100%, but here is a suggestion:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use an expression search to filter the items in your set analysis, like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(&lt;/P&gt;&lt;P&gt;{&amp;lt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;YourItemField = {"=([StockextComponent.Physical Stock]&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;+Sum({&amp;lt;Allboms.Level={'&amp;lt;9'}&amp;gt;} [StockextPARENT.Physical Stock])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;-((sum([Outstanding Total])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;-sum(Allocated))*[Allboms.Quantity Per])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;) &amp;lt;0"}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;}&lt;/P&gt;&lt;P&gt;[Outstanding Value])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2017 11:41:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-set-modifier-expression-I-can-t-figure-it-out/m-p/1298429#M836277</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-05-22T11:41:14Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with set modifier expression... I can't figure it out :)</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-set-modifier-expression-I-can-t-figure-it-out/m-p/1298430#M836278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Stefan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That does seem to do exactly what I am wanting! &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll need to do some data spot checking to triple check but that does appear to have nailed it &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 May 2017 12:24:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-set-modifier-expression-I-can-t-figure-it-out/m-p/1298430#M836278</guid>
      <dc:creator />
      <dc:date>2017-05-22T12:24:11Z</dc:date>
    </item>
  </channel>
</rss>

