<?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 variables does not work when not selected in a dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/variables-does-not-work-when-not-selected-in-a-dimension/m-p/231603#M83315</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have 2 variables created based DATE column , to select a range of dates and calculate metrics in the charts&lt;/P&gt;&lt;P&gt;when i use the variables in expression of the chart and have DATE as one of the dimension then charts reflect data properly.If i remove the Date from dimesions , then chart does not reflect the metrics as expected&lt;/P&gt;&lt;P&gt;Any help on this please?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 26 Feb 2011 23:06:55 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-02-26T23:06:55Z</dc:date>
    <item>
      <title>variables does not work when not selected in a dimension</title>
      <link>https://community.qlik.com/t5/QlikView/variables-does-not-work-when-not-selected-in-a-dimension/m-p/231603#M83315</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have 2 variables created based DATE column , to select a range of dates and calculate metrics in the charts&lt;/P&gt;&lt;P&gt;when i use the variables in expression of the chart and have DATE as one of the dimension then charts reflect data properly.If i remove the Date from dimesions , then chart does not reflect the metrics as expected&lt;/P&gt;&lt;P&gt;Any help on this please?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Feb 2011 23:06:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variables-does-not-work-when-not-selected-in-a-dimension/m-p/231603#M83315</guid>
      <dc:creator />
      <dc:date>2011-02-26T23:06:55Z</dc:date>
    </item>
    <item>
      <title>variables does not work when not selected in a dimension</title>
      <link>https://community.qlik.com/t5/QlikView/variables-does-not-work-when-not-selected-in-a-dimension/m-p/231604#M83316</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In general Expression must deliver a result without ambiguity - thus typically expressions must always have a kind of aggregation-formula in it. If referencing to just one value, it will show only this value, if the selection itself delivers a unique result.&lt;/P&gt;&lt;P&gt;HTH&lt;BR /&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Feb 2011 09:33:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variables-does-not-work-when-not-selected-in-a-dimension/m-p/231604#M83316</guid>
      <dc:creator>prieper</dc:creator>
      <dc:date>2011-02-27T09:33:59Z</dc:date>
    </item>
    <item>
      <title>variables does not work when not selected in a dimension</title>
      <link>https://community.qlik.com/t5/QlikView/variables-does-not-work-when-not-selected-in-a-dimension/m-p/231605#M83317</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi There,&lt;/P&gt;&lt;P&gt;Peter's response is entirely correct. It may be however that you are simply missing an aggregation statement in the expression. For instance, try removing the Date dimension and wrapping your expression in a Sum function.&lt;/P&gt;&lt;P&gt;Eg. =sum(if([Date] &amp;gt;= vDateFrom or [Date] &amp;lt;= vDateTo, Value, 0))&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Feb 2011 19:06:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variables-does-not-work-when-not-selected-in-a-dimension/m-p/231605#M83317</guid>
      <dc:creator>stevedark</dc:creator>
      <dc:date>2011-02-27T19:06:55Z</dc:date>
    </item>
  </channel>
</rss>

