<?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: Gauge chart not displaying count with conditional expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Gauge-chart-not-displaying-count-with-conditional-expression/m-p/331283#M122073</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Legend! Thanks, Nicolas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Aug 2012 11:17:08 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-08-01T11:17:08Z</dc:date>
    <item>
      <title>Gauge chart not displaying count with conditional expression</title>
      <link>https://community.qlik.com/t5/QlikView/Gauge-chart-not-displaying-count-with-conditional-expression/m-p/331280#M122070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am new to QlikView and I am trying to display some gauge charts which display different aspects of a campaign.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gauge chart 1 - Displays number of payees&lt;/P&gt;&lt;P&gt;Expression: =if([Campaign Type]='Paid', Count (DISTINCT [Member ID]), 0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is displaying the correct numbers for campaigns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gauge chart 1 - Displays number of complimentary places&lt;/P&gt;&lt;P&gt;Expression: =if([Campaign Type]='Complimentary', Count (DISTINCT [Member ID]), 0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This continues to display 0 despite there being records with 'Complimentary' as a value. Any ideas as to what I'm doing wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for any help...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2012 09:26:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Gauge-chart-not-displaying-count-with-conditional-expression/m-p/331280#M122070</guid>
      <dc:creator />
      <dc:date>2012-08-01T09:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: Gauge chart not displaying count with conditional expression</title>
      <link>https://community.qlik.com/t5/QlikView/Gauge-chart-not-displaying-count-with-conditional-expression/m-p/331281#M122071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you please provide some sample data..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2012 09:32:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Gauge-chart-not-displaying-count-with-conditional-expression/m-p/331281#M122071</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-01T09:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: Gauge chart not displaying count with conditional expression</title>
      <link>https://community.qlik.com/t5/QlikView/Gauge-chart-not-displaying-count-with-conditional-expression/m-p/331282#M122072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You ask QlikView "if the dimension [Campaign Type] equals 'Paid' (aka the selection I've made on the [Campaign Type] field), then do me the count for all possible values". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you want to ask "do me the count for items where [Campaign Type] equals 'Paid'".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;=Count (DISTINCT &lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;if([Campaign Type]='Paid', &lt;/SPAN&gt;[Member ID]))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;and&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-size: 12px; background-color: #eef4f9; font-family: Arial;"&gt;=Count (DISTINCT &lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;if([Campaign Type]='Complimentary', &lt;/SPAN&gt;[Member ID]))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and don't do any selection.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2012 10:42:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Gauge-chart-not-displaying-count-with-conditional-expression/m-p/331282#M122072</guid>
      <dc:creator />
      <dc:date>2012-08-01T10:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: Gauge chart not displaying count with conditional expression</title>
      <link>https://community.qlik.com/t5/QlikView/Gauge-chart-not-displaying-count-with-conditional-expression/m-p/331283#M122073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Legend! Thanks, Nicolas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2012 11:17:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Gauge-chart-not-displaying-count-with-conditional-expression/m-p/331283#M122073</guid>
      <dc:creator />
      <dc:date>2012-08-01T11:17:08Z</dc:date>
    </item>
  </channel>
</rss>

