<?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: set expression based on calculation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/set-expression-based-on-calculation/m-p/1538848#M600057</link>
    <description>&lt;P&gt;= count ({&amp;lt;Customer_ID={"=count (distinct Order_ID) &amp;gt; 3"}&amp;gt;}distinct Customer_ID)&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Feb 2019 14:53:04 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2019-02-16T14:53:04Z</dc:date>
    <item>
      <title>set expression based on calculation</title>
      <link>https://community.qlik.com/t5/QlikView/set-expression-based-on-calculation/m-p/1538843#M600056</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;i would like to have a chart that displays the number of customers by Customer Type that had more than X orders in a certain time period (depending on selections).&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the number of orders has to be calculated by a count of order IDs.&amp;nbsp;&lt;/P&gt;&lt;P&gt;data is structured like this:&lt;/P&gt;&lt;P&gt;Customer_ID, Customer_Type, Order_ID, Product_ID, order_date, ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the chart should have&amp;nbsp;Customer Type as a dimension,&amp;nbsp;&lt;/P&gt;&lt;P&gt;the logic in the formula should be something like this&amp;nbsp;&lt;/P&gt;&lt;P&gt;= count (disctinct Customer_ID)&amp;nbsp;but only for Customers where count (disctinct Order_ID) &amp;gt; 3&lt;/P&gt;&lt;P&gt;Customer IDs should not be in the chart/Table.&amp;nbsp;&lt;/P&gt;&lt;P&gt;any ideas how to do that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks a lot for your help!&lt;/P&gt;</description>
      <pubDate>Sun, 03 Feb 2019 17:39:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-expression-based-on-calculation/m-p/1538843#M600056</guid>
      <dc:creator>James_Brems</dc:creator>
      <dc:date>2019-02-03T17:39:51Z</dc:date>
    </item>
    <item>
      <title>Re: set expression based on calculation</title>
      <link>https://community.qlik.com/t5/QlikView/set-expression-based-on-calculation/m-p/1538848#M600057</link>
      <description>&lt;P&gt;= count ({&amp;lt;Customer_ID={"=count (distinct Order_ID) &amp;gt; 3"}&amp;gt;}distinct Customer_ID)&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Feb 2019 14:53:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-expression-based-on-calculation/m-p/1538848#M600057</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2019-02-16T14:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: set expression based on calculation</title>
      <link>https://community.qlik.com/t5/QlikView/set-expression-based-on-calculation/m-p/1545034#M600058</link>
      <description>&lt;P&gt;thanks for the answer, but that does not work.&amp;nbsp;&lt;/P&gt;&lt;P&gt;what would a function like&amp;nbsp;&lt;/P&gt;&lt;P&gt;"=count (distinct Order_ID) &amp;gt; 3"&amp;nbsp;&lt;/P&gt;&lt;P&gt;actually return?&lt;/P&gt;</description>
      <pubDate>Fri, 15 Feb 2019 13:49:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-expression-based-on-calculation/m-p/1545034#M600058</guid>
      <dc:creator>James_Brems</dc:creator>
      <dc:date>2019-02-15T13:49:33Z</dc:date>
    </item>
    <item>
      <title>Re: set expression based on calculation</title>
      <link>https://community.qlik.com/t5/QlikView/set-expression-based-on-calculation/m-p/1545425#M600059</link>
      <description>&lt;P&gt;0 or -1 depending on if the count of distinct order id's is larger than 3 or not.&lt;/P&gt;</description>
      <pubDate>Sat, 16 Feb 2019 14:53:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/set-expression-based-on-calculation/m-p/1545425#M600059</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2019-02-16T14:53:53Z</dc:date>
    </item>
  </channel>
</rss>

