<?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: Expression only works if data is filtered in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expression-only-works-if-data-is-filtered/m-p/636568#M1090623</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;WIth no filter set you will get many "rows" back and hence this can not be evaluated to a string. Us e a function like Min or Max to select the date you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Count({&amp;lt;DeliverDate = {"&amp;gt;$(=Min(CurrentEntitlementStartDate))"}&amp;gt;}distinct CSP_Name)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Jun 2014 07:42:48 GMT</pubDate>
    <dc:creator>johanlindell</dc:creator>
    <dc:date>2014-06-03T07:42:48Z</dc:date>
    <item>
      <title>Expression only works if data is filtered</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-only-works-if-data-is-filtered/m-p/636567#M1090622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following expression which seems to only show data if the data is filtered down to 1 account.&amp;nbsp; If I "clear" the selections, it shows no data:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({&amp;lt;DeliverDate = {"&amp;gt;$(=CurrentEntitlementStartDate)"}&amp;gt;}distinct CSP_Name)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it due to the type of chart/table i have selected in qlikview?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached the qvw file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jun 2014 07:32:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-only-works-if-data-is-filtered/m-p/636567#M1090622</guid>
      <dc:creator />
      <dc:date>2014-06-03T07:32:10Z</dc:date>
    </item>
    <item>
      <title>Re: Expression only works if data is filtered</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-only-works-if-data-is-filtered/m-p/636568#M1090623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;WIth no filter set you will get many "rows" back and hence this can not be evaluated to a string. Us e a function like Min or Max to select the date you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Count({&amp;lt;DeliverDate = {"&amp;gt;$(=Min(CurrentEntitlementStartDate))"}&amp;gt;}distinct CSP_Name)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jun 2014 07:42:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-only-works-if-data-is-filtered/m-p/636568#M1090623</guid>
      <dc:creator>johanlindell</dc:creator>
      <dc:date>2014-06-03T07:42:48Z</dc:date>
    </item>
    <item>
      <title>Re: Expression only works if data is filtered</title>
      <link>https://community.qlik.com/t5/QlikView/Expression-only-works-if-data-is-filtered/m-p/636569#M1090624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Set Analysis doesn't work row-wise. When you use Delivery Date as a dimension and want the output to be based on row values, it doesn't work so. Deliver Date used in set analysis has already filtered the data based on available scoped data before entering into chart dimension. You rather have to use If in that case like:&lt;/P&gt;&lt;P&gt;=Count(distinct If(DeliverDate &amp;gt;CurrentEntitlementStartDate, Account &amp;amp; CSP_Name))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jun 2014 07:45:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expression-only-works-if-data-is-filtered/m-p/636569#M1090624</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2014-06-03T07:45:03Z</dc:date>
    </item>
  </channel>
</rss>

