<?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 Current Month Guages in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Current-Month-Guages/m-p/239957#M90514</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Im am trying to create a guage wich will desplay data for the current month only. so my expression is comparing the month of what I am trying to count against the systems month using month(today()) see below:&lt;/P&gt;&lt;P&gt;&lt;B&gt;if&lt;/B&gt;(QualityMonth = month(today()) , count(distinct(Qmel.QualityNotif)))&lt;/P&gt;&lt;P&gt;However this returns nothing and the guage is not working. Can someone tell me what I am doing wrong??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Mar 2011 17:20:18 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-03-04T17:20:18Z</dc:date>
    <item>
      <title>Current Month Guages</title>
      <link>https://community.qlik.com/t5/QlikView/Current-Month-Guages/m-p/239957#M90514</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Im am trying to create a guage wich will desplay data for the current month only. so my expression is comparing the month of what I am trying to count against the systems month using month(today()) see below:&lt;/P&gt;&lt;P&gt;&lt;B&gt;if&lt;/B&gt;(QualityMonth = month(today()) , count(distinct(Qmel.QualityNotif)))&lt;/P&gt;&lt;P&gt;However this returns nothing and the guage is not working. Can someone tell me what I am doing wrong??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2011 17:20:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-Month-Guages/m-p/239957#M90514</guid>
      <dc:creator />
      <dc:date>2011-03-04T17:20:18Z</dc:date>
    </item>
    <item>
      <title>Current Month Guages</title>
      <link>https://community.qlik.com/t5/QlikView/Current-Month-Guages/m-p/239958#M90515</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;&lt;B&gt;count( distinct if&lt;/B&gt;(QualityMonth = month(today()), Qmel.QualityNotif))&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Mar 2011 18:09:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-Month-Guages/m-p/239958#M90515</guid>
      <dc:creator>pover</dc:creator>
      <dc:date>2011-03-04T18:09:35Z</dc:date>
    </item>
    <item>
      <title>Current Month Guages</title>
      <link>https://community.qlik.com/t5/QlikView/Current-Month-Guages/m-p/239959#M90516</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Or more efficiently if less clearly:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;count({&amp;lt;QualityMonth={'$(=month(today()))'}&amp;gt;} distinct Qmel.QualityNotif)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Mar 2011 01:46:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-Month-Guages/m-p/239959#M90516</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2011-03-05T01:46:38Z</dc:date>
    </item>
    <item>
      <title>Current Month Guages</title>
      <link>https://community.qlik.com/t5/QlikView/Current-Month-Guages/m-p/239960#M90517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've tried this and a number of other solutions, but I'm still stuck. It's not returning the correct number. &lt;IMG alt="Angry" src="http://community.qlik.com/emoticons/emotion-12.gif" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2011 19:06:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-Month-Guages/m-p/239960#M90517</guid>
      <dc:creator />
      <dc:date>2011-03-07T19:06:05Z</dc:date>
    </item>
    <item>
      <title>AW:Re: Current Month Guages</title>
      <link>https://community.qlik.com/t5/QlikView/Current-Month-Guages/m-p/239961#M90518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;what is the type of your field QualityMonth? The problem is, that Month(Today()) gives you a dual (Text,Number). Try to enter a field in your script as the Number of QualityMonth:&lt;/P&gt;&lt;P&gt;Num(QualityMonth) as NumQualityMonth&lt;/P&gt;&lt;P&gt;Than anter a variable vActMonth with: =Num(Month(Today()))&lt;/P&gt;&lt;P&gt;Than try this:&lt;/P&gt;&lt;P style="padding-left:30px;"&gt;count({&amp;lt;NumQualityMonth={$(vActMonth)}&amp;gt;} distinct Qmel.QualityNotif)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2011 19:16:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Current-Month-Guages/m-p/239961#M90518</guid>
      <dc:creator>brenner_martina</dc:creator>
      <dc:date>2011-03-07T19:16:02Z</dc:date>
    </item>
  </channel>
</rss>

