<?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: Create Chart expression that ignores the dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Create-Chart-expression-that-ignores-the-dimension/m-p/664837#M541400</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As far as I understand, &lt;/P&gt;&lt;P&gt;=Count(TOTAL DISTINCT SalesDate) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;should work. Not sure why it does not in your setting. Does it work as an expression in a text box (where you can remove the TOTAL again)?&lt;/P&gt;&lt;P&gt;Then you can also create a variable vCountDalesDates in variable overview&lt;/P&gt;&lt;P&gt;=Count(DISTINCT SalesDate)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and reference the variable in your chart expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 12 Jul 2014 11:51:14 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2014-07-12T11:51:14Z</dc:date>
    <item>
      <title>Create Chart expression that ignores the dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Create-Chart-expression-that-ignores-the-dimension/m-p/664836#M541399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have a graph with the following structure:&lt;/P&gt;&lt;P&gt;Dimension - Hour&lt;/P&gt;&lt;P&gt;Expression - Count(distinct SalesDate)&lt;/P&gt;&lt;P&gt;The problem is the following: In my chart, I get in each Hour the number of distinct days that a sale occured in the appropriate hour.&lt;/P&gt;&lt;P&gt;My goal is: to get the total number of days according to the filter. If I filter 12/07/14 and 11/07/14 I want to Expression in the chart to be 2 in every one of the hours ignoring wether or not a sale occured in that hour.&lt;/P&gt;&lt;P&gt;Can anyone help me?&lt;/P&gt;&lt;P&gt;My failed attempts: count(total distinct(SalesDate)) -failed because filtering one specific dates will not change this count&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; count(distinct {&amp;lt;Hour=&amp;gt;} SalesDate) - failes becuse the values are the same as in Count(distinct SalesDate).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Jul 2014 11:39:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-Chart-expression-that-ignores-the-dimension/m-p/664836#M541399</guid>
      <dc:creator />
      <dc:date>2014-07-12T11:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: Create Chart expression that ignores the dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Create-Chart-expression-that-ignores-the-dimension/m-p/664837#M541400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As far as I understand, &lt;/P&gt;&lt;P&gt;=Count(TOTAL DISTINCT SalesDate) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;should work. Not sure why it does not in your setting. Does it work as an expression in a text box (where you can remove the TOTAL again)?&lt;/P&gt;&lt;P&gt;Then you can also create a variable vCountDalesDates in variable overview&lt;/P&gt;&lt;P&gt;=Count(DISTINCT SalesDate)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and reference the variable in your chart expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Jul 2014 11:51:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-Chart-expression-that-ignores-the-dimension/m-p/664837#M541400</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2014-07-12T11:51:14Z</dc:date>
    </item>
  </channel>
</rss>

