<?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 Calculation Question in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculation-Question/m-p/1567684#M742786</link>
    <description>&lt;P&gt;Good Morning,&lt;/P&gt;&lt;P&gt;I am working on adding a couple gauge visualizations to a dashboard I am creating and am needing a bit of help getting my expression to work. I am looking to count Orders only where OrderType = ZVK2,ZVE2, and ZVK3. I tried&amp;nbsp;if(OrderType='ZVQ2', Count(OrderType)) as a test but it returns nothing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The two fields are related and are in the same table too just in case you were wondering.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>JustinRamsey</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Calculation Question</title>
      <link>https://community.qlik.com/t5/QlikView/Calculation-Question/m-p/1567684#M742786</link>
      <description>&lt;P&gt;Good Morning,&lt;/P&gt;&lt;P&gt;I am working on adding a couple gauge visualizations to a dashboard I am creating and am needing a bit of help getting my expression to work. I am looking to count Orders only where OrderType = ZVK2,ZVE2, and ZVK3. I tried&amp;nbsp;if(OrderType='ZVQ2', Count(OrderType)) as a test but it returns nothing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The two fields are related and are in the same table too just in case you were wondering.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculation-Question/m-p/1567684#M742786</guid>
      <dc:creator>JustinRamsey</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation Question</title>
      <link>https://community.qlik.com/t5/QlikView/Calculation-Question/m-p/1567752#M742787</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;&lt;P&gt;=&lt;SPAN&gt;&amp;nbsp;Count(&amp;lt;{OrderType={'ZVK2','ZVE2','ZVK3'}}&amp;gt;OrderType)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;OrderType may not be the best field to count. Is there a field like "OrderNumber" that would be a primary key?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Might be better to use:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=&lt;SPAN&gt;&amp;nbsp;Count(&amp;lt;{OrderType={'ZVK2','ZVE2','ZVK3'}}&amp;gt;OrderNumber)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2019 15:32:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculation-Question/m-p/1567752#M742787</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2019-04-10T15:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation Question</title>
      <link>https://community.qlik.com/t5/QlikView/Calculation-Question/m-p/1567753#M742788</link>
      <description>&lt;P&gt;Yes there is %Key_Order that would be the order number. When I try your expression converting it to the correct field name at the end it shows it as an error and returns nothing. Appears it is considering the { the start of the offence. Any ideas?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2019 15:37:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculation-Question/m-p/1567753#M742788</guid>
      <dc:creator>JustinRamsey</dc:creator>
      <dc:date>2019-04-10T15:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: Calculation Question</title>
      <link>https://community.qlik.com/t5/QlikView/Calculation-Question/m-p/1567755#M742789</link>
      <description>&lt;P&gt;AHA! Figured it out!&amp;nbsp;&lt;/P&gt;&lt;P&gt;Correct function would be&amp;nbsp;COUNT({&amp;lt;OrderType={ZVK2,ZVK3,ZVE2}&amp;gt;} %Key_Order)&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2019 15:41:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculation-Question/m-p/1567755#M742789</guid>
      <dc:creator>JustinRamsey</dc:creator>
      <dc:date>2019-04-10T15:41:50Z</dc:date>
    </item>
  </channel>
</rss>

