<?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 ValueList : no results in expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/ValueList-no-results-in-expression/m-p/1043661#M464216</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a pretty "complex" report (it is just the top part, it goes for several books, country, years ...)&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/123082_Capture.PNG" style="height: 179px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The dimensions are mainly calculated to filter for example for country :&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;=IF(Match(STRATEGY,'FR','BE','NL','DE'),STRATEGY)&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a value list to have a column for Volume and MTM per year. &lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;=ValueList('Volume','MTM')&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The "Volume Hedge" is given by the following expression : &lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;=sum({$&amp;lt;CPTY={'OFFV','CCBG','XDOA','XDCO','ECNG'}&amp;gt;}VOLSTD/1000*IF(BS='S',-1,1))&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I have tried in the "Volumes Asset" to split the results between MTM and Volume using the following formula :&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;=If(ValueList('Volume','MTM')='Volume',sum({$&amp;lt;CPTY-={'OFFV','CCBG','XDOA','XDCO','ECNG'}&amp;gt;}VOLSTD/1000*IF(BS='S',-1,1)),0)&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;So for my understanding it should give a different result between column volume (the VOLSTD) and MTM (0 but will be replaced by another expression)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It sounds pretty logical for me but I cannot understand why it is not working (first line shouldn't be two 0, at least a value for the Volume and a 0 for the MTM.) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since I am pretty new in Qlikview it might look to experienced user as "dirty" code but I am under a lot of pressure to end this report today as it is ... (and it should look like this). I just have access to the web interface and cannot modify the "source". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have any solution or advice please feel free to contribute. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Charles&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Apr 2016 08:08:29 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-04-29T08:08:29Z</dc:date>
    <item>
      <title>ValueList : no results in expression</title>
      <link>https://community.qlik.com/t5/QlikView/ValueList-no-results-in-expression/m-p/1043661#M464216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a pretty "complex" report (it is just the top part, it goes for several books, country, years ...)&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/123082_Capture.PNG" style="height: 179px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The dimensions are mainly calculated to filter for example for country :&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;=IF(Match(STRATEGY,'FR','BE','NL','DE'),STRATEGY)&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a value list to have a column for Volume and MTM per year. &lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;=ValueList('Volume','MTM')&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The "Volume Hedge" is given by the following expression : &lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;=sum({$&amp;lt;CPTY={'OFFV','CCBG','XDOA','XDCO','ECNG'}&amp;gt;}VOLSTD/1000*IF(BS='S',-1,1))&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I have tried in the "Volumes Asset" to split the results between MTM and Volume using the following formula :&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;=If(ValueList('Volume','MTM')='Volume',sum({$&amp;lt;CPTY-={'OFFV','CCBG','XDOA','XDCO','ECNG'}&amp;gt;}VOLSTD/1000*IF(BS='S',-1,1)),0)&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;So for my understanding it should give a different result between column volume (the VOLSTD) and MTM (0 but will be replaced by another expression)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It sounds pretty logical for me but I cannot understand why it is not working (first line shouldn't be two 0, at least a value for the Volume and a 0 for the MTM.) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since I am pretty new in Qlikview it might look to experienced user as "dirty" code but I am under a lot of pressure to end this report today as it is ... (and it should look like this). I just have access to the web interface and cannot modify the "source". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have any solution or advice please feel free to contribute. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Charles&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Apr 2016 08:08:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/ValueList-no-results-in-expression/m-p/1043661#M464216</guid>
      <dc:creator />
      <dc:date>2016-04-29T08:08:29Z</dc:date>
    </item>
  </channel>
</rss>

