<?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 using the If Statement in dimensions to pull data for a specific type in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/using-the-If-Statement-in-dimensions-to-pull-data-for-a-specific/m-p/190182#M52789</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can also use set analysis in the following way&lt;/P&gt;&lt;P&gt;COUNT({$&amp;lt;VCOHead_ordertype -= {'O'}&amp;gt;} VCOHead_ordertype)&lt;/P&gt;&lt;P&gt;Also, it is more common to count distinct of the ID's of the transactions and not a count of one of its description field like order type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COUNT({$&amp;lt;VCOHead_ordertype -= {'O'}&amp;gt;} distinct OrderId)&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Nov 2010 21:43:43 GMT</pubDate>
    <dc:creator>pover</dc:creator>
    <dc:date>2010-11-16T21:43:43Z</dc:date>
    <item>
      <title>using the If Statement in dimensions to pull data for a specific type</title>
      <link>https://community.qlik.com/t5/QlikView/using-the-If-Statement-in-dimensions-to-pull-data-for-a-specific/m-p/190179#M52786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in my charts properties, trying to get a count of all orders that have an order type of 'O' and the back order number of '000' - currently just workinh on getting only the types of 'O' but its not working.&lt;/P&gt;&lt;P&gt;what am I missing in this expression.&lt;/P&gt;&lt;P&gt;= if(VCOHead_ordertype='O',count(VCOHead_ordertype))&lt;/P&gt;&lt;P&gt;my dimensions - I selected Order source and order type.&lt;/P&gt;&lt;P&gt;if anyone has examples of if statements that work - I would be willing to do more debugging. thank you&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Nov 2010 20:44:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/using-the-If-Statement-in-dimensions-to-pull-data-for-a-specific/m-p/190179#M52786</guid>
      <dc:creator />
      <dc:date>2010-11-16T20:44:38Z</dc:date>
    </item>
    <item>
      <title>using the If Statement in dimensions to pull data for a specific type</title>
      <link>https://community.qlik.com/t5/QlikView/using-the-If-Statement-in-dimensions-to-pull-data-for-a-specific/m-p/190180#M52787</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would suggest changing the order of the IF/COUNT to the following...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=COUNT(IF(VCOHead_ordertype='O',VCOHead_ordertype))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Nov 2010 21:00:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/using-the-If-Statement-in-dimensions-to-pull-data-for-a-specific/m-p/190180#M52787</guid>
      <dc:creator />
      <dc:date>2010-11-16T21:00:44Z</dc:date>
    </item>
    <item>
      <title>using the If Statement in dimensions to pull data for a specific type</title>
      <link>https://community.qlik.com/t5/QlikView/using-the-If-Statement-in-dimensions-to-pull-data-for-a-specific/m-p/190181#M52788</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the count is the same so I am assume its pulling in the order types that are quotes which I do not want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Nov 2010 21:31:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/using-the-If-Statement-in-dimensions-to-pull-data-for-a-specific/m-p/190181#M52788</guid>
      <dc:creator />
      <dc:date>2010-11-16T21:31:54Z</dc:date>
    </item>
    <item>
      <title>using the If Statement in dimensions to pull data for a specific type</title>
      <link>https://community.qlik.com/t5/QlikView/using-the-If-Statement-in-dimensions-to-pull-data-for-a-specific/m-p/190182#M52789</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can also use set analysis in the following way&lt;/P&gt;&lt;P&gt;COUNT({$&amp;lt;VCOHead_ordertype -= {'O'}&amp;gt;} VCOHead_ordertype)&lt;/P&gt;&lt;P&gt;Also, it is more common to count distinct of the ID's of the transactions and not a count of one of its description field like order type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;COUNT({$&amp;lt;VCOHead_ordertype -= {'O'}&amp;gt;} distinct OrderId)&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Nov 2010 21:43:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/using-the-If-Statement-in-dimensions-to-pull-data-for-a-specific/m-p/190182#M52789</guid>
      <dc:creator>pover</dc:creator>
      <dc:date>2010-11-16T21:43:43Z</dc:date>
    </item>
    <item>
      <title>using the If Statement in dimensions to pull data for a specific type</title>
      <link>https://community.qlik.com/t5/QlikView/using-the-If-Statement-in-dimensions-to-pull-data-for-a-specific/m-p/190183#M52790</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rob's expression is a solution for your problem as I understood it, so apparently neither of us understand your problem. Can you post an example?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Nov 2010 21:45:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/using-the-If-Statement-in-dimensions-to-pull-data-for-a-specific/m-p/190183#M52790</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-11-16T21:45:52Z</dc:date>
    </item>
    <item>
      <title>using the If Statement in dimensions to pull data for a specific type</title>
      <link>https://community.qlik.com/t5/QlikView/using-the-If-Statement-in-dimensions-to-pull-data-for-a-specific/m-p/190184#M52791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;H4&gt;COUNT({$&amp;lt;VCOHead_ordertype = {'O'}&amp;gt;} distinct VCOHead_ordernu)&lt;/H4&gt;&lt;P&gt;this piece of code is working - now I need to add another check point. along with the ordertype must equal the letter 'O' the field called DEL must be equal to 'A' and the back order number must equal to '000' how would you add this to the formula?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Nov 2010 23:35:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/using-the-If-Statement-in-dimensions-to-pull-data-for-a-specific/m-p/190184#M52791</guid>
      <dc:creator />
      <dc:date>2010-11-16T23:35:49Z</dc:date>
    </item>
    <item>
      <title>using the If Statement in dimensions to pull data for a specific type</title>
      <link>https://community.qlik.com/t5/QlikView/using-the-If-Statement-in-dimensions-to-pull-data-for-a-specific/m-p/190185#M52792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;COUNT({&amp;lt;VCOHead_ordertype={'O'},DEL={'A'},BackOrderNumber={'000'}&amp;gt;} distinct VCOHead_ordernu)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Nov 2010 23:50:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/using-the-If-Statement-in-dimensions-to-pull-data-for-a-specific/m-p/190185#M52792</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-11-16T23:50:36Z</dc:date>
    </item>
  </channel>
</rss>

