<?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 Gauge Chart Last Month and Current Month in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Gauge-Chart-Last-Month-and-Current-Month/m-p/197866#M57380</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey guys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im tryna create a Gauge Chart tht shows last mnth and current month sales comparison in %. i have no dimension. My expression is this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=((sum( {$&amp;lt;CurYTDFlag = {'1'}&amp;gt;} Data)) -&lt;/P&gt;&lt;P&gt;sum({&amp;lt;MonthYear={"&amp;gt;=$(=date(yearstart(today(),-1),'MMM-YYYY')) &amp;lt;=$(=date(addmonths(today(),-13),'MMM-YYYY'))"}&amp;gt;} Data))/&lt;/P&gt;&lt;P&gt;sum({&amp;lt;MonthYear={"&amp;gt;=$(=date(yearstart(today(),-1),'MMM-YYYY')) &amp;lt;=$(=date(addmonths(today(),-13),'MMM-YYYY'))"}&amp;gt;} Data)&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;And in the presentation tab, under gauge settings, min value is this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=(((sum( {$&amp;lt;CurYTDFlag = {'1'}&amp;gt;} Data)) -&lt;/P&gt;&lt;P&gt;sum({&amp;lt;MonthYear={"&amp;gt;=$(=date(yearstart(today(),-1),'MMM-YYYY')) &amp;lt;=$(=date(addmonths(today(),-13),'MMM-YYYY'))"}&amp;gt;} Data))/&lt;/P&gt;&lt;P&gt;sum({&amp;lt;MonthYear={"&amp;gt;=$(=date(yearstart(today(),-1),'MMM-YYYY')) &amp;lt;=$(=date(addmonths(today(),-13),'MMM-YYYY'))"}&amp;gt;} Data))&lt;/P&gt;&lt;P&gt;*IF(((sum( {$&amp;lt;CurYTDFlag = {'1'}&amp;gt;} Data)) -&lt;/P&gt;&lt;P&gt;sum({&amp;lt;MonthYear={"&amp;gt;=$(=date(yearstart(today(),-1),'MMM-YYYY')) &amp;lt;=$(=date(addmonths(today(),-13),'MMM-YYYY'))"}&amp;gt;} Data))/&lt;/P&gt;&lt;P&gt;sum({&amp;lt;MonthYear={"&amp;gt;=$(=date(yearstart(today(),-1),'MMM-YYYY')) &amp;lt;=$(=date(addmonths(today(),-13),'MMM-YYYY'))"}&amp;gt;} Data)&lt;/P&gt;&lt;P&gt;&amp;lt;0,1.2,-1.2)&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;And under max value:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=(((sum( {$&amp;lt;CurYTDFlag = {'1'}&amp;gt;} Data)) -&lt;/P&gt;&lt;P&gt;sum({&amp;lt;MonthYear={"&amp;gt;=$(=date(monthstart(today(),-1),'MMM-YYYY')) &amp;lt;=$(=date(addmonths(today(),-13),'MMM-YYYY'))"}&amp;gt;} Data))/&lt;/P&gt;&lt;P&gt;sum({&amp;lt;MonthYear={"&amp;gt;=$(=date(monthstart(today(),-1),'MMM-YYYY')) &amp;lt;=$(=date(addmonths(today(),-13),'MMM-YYYY'))"}&amp;gt;} Data))*1.1&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;The chart says no data can be displayed. Can anyone help me with this please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks so much&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Sep 2010 07:48:35 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-09-13T07:48:35Z</dc:date>
    <item>
      <title>Gauge Chart Last Month and Current Month</title>
      <link>https://community.qlik.com/t5/QlikView/Gauge-Chart-Last-Month-and-Current-Month/m-p/197866#M57380</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey guys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im tryna create a Gauge Chart tht shows last mnth and current month sales comparison in %. i have no dimension. My expression is this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=((sum( {$&amp;lt;CurYTDFlag = {'1'}&amp;gt;} Data)) -&lt;/P&gt;&lt;P&gt;sum({&amp;lt;MonthYear={"&amp;gt;=$(=date(yearstart(today(),-1),'MMM-YYYY')) &amp;lt;=$(=date(addmonths(today(),-13),'MMM-YYYY'))"}&amp;gt;} Data))/&lt;/P&gt;&lt;P&gt;sum({&amp;lt;MonthYear={"&amp;gt;=$(=date(yearstart(today(),-1),'MMM-YYYY')) &amp;lt;=$(=date(addmonths(today(),-13),'MMM-YYYY'))"}&amp;gt;} Data)&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;And in the presentation tab, under gauge settings, min value is this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=(((sum( {$&amp;lt;CurYTDFlag = {'1'}&amp;gt;} Data)) -&lt;/P&gt;&lt;P&gt;sum({&amp;lt;MonthYear={"&amp;gt;=$(=date(yearstart(today(),-1),'MMM-YYYY')) &amp;lt;=$(=date(addmonths(today(),-13),'MMM-YYYY'))"}&amp;gt;} Data))/&lt;/P&gt;&lt;P&gt;sum({&amp;lt;MonthYear={"&amp;gt;=$(=date(yearstart(today(),-1),'MMM-YYYY')) &amp;lt;=$(=date(addmonths(today(),-13),'MMM-YYYY'))"}&amp;gt;} Data))&lt;/P&gt;&lt;P&gt;*IF(((sum( {$&amp;lt;CurYTDFlag = {'1'}&amp;gt;} Data)) -&lt;/P&gt;&lt;P&gt;sum({&amp;lt;MonthYear={"&amp;gt;=$(=date(yearstart(today(),-1),'MMM-YYYY')) &amp;lt;=$(=date(addmonths(today(),-13),'MMM-YYYY'))"}&amp;gt;} Data))/&lt;/P&gt;&lt;P&gt;sum({&amp;lt;MonthYear={"&amp;gt;=$(=date(yearstart(today(),-1),'MMM-YYYY')) &amp;lt;=$(=date(addmonths(today(),-13),'MMM-YYYY'))"}&amp;gt;} Data)&lt;/P&gt;&lt;P&gt;&amp;lt;0,1.2,-1.2)&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;And under max value:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=(((sum( {$&amp;lt;CurYTDFlag = {'1'}&amp;gt;} Data)) -&lt;/P&gt;&lt;P&gt;sum({&amp;lt;MonthYear={"&amp;gt;=$(=date(monthstart(today(),-1),'MMM-YYYY')) &amp;lt;=$(=date(addmonths(today(),-13),'MMM-YYYY'))"}&amp;gt;} Data))/&lt;/P&gt;&lt;P&gt;sum({&amp;lt;MonthYear={"&amp;gt;=$(=date(monthstart(today(),-1),'MMM-YYYY')) &amp;lt;=$(=date(addmonths(today(),-13),'MMM-YYYY'))"}&amp;gt;} Data))*1.1&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;&lt;/P&gt;&lt;P&gt;The chart says no data can be displayed. Can anyone help me with this please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks so much&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Sep 2010 07:48:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Gauge-Chart-Last-Month-and-Current-Month/m-p/197866#M57380</guid>
      <dc:creator />
      <dc:date>2010-09-13T07:48:35Z</dc:date>
    </item>
    <item>
      <title>Gauge Chart Last Month and Current Month</title>
      <link>https://community.qlik.com/t5/QlikView/Gauge-Chart-Last-Month-and-Current-Month/m-p/197867#M57381</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Blaze&lt;/P&gt;&lt;P&gt;I suggest the following approach:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Try the guage with fixed min and max value to determine whether these are the problem. If the guage works, then the problem is with the limits.&lt;/LI&gt;&lt;LI&gt;Verify that the two subexpressions that make up the expression return data. Create a straight table with no dimensions and the two subexpressions as the expression on the straight table.&lt;/LI&gt;&lt;LI&gt;You can also test the min and max expressions in the straight table as well.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;This should give an idea of where the problem is.&lt;/P&gt;&lt;P&gt;BTW - I am not sure about the date comparisons in MMM-YYYY format. You may want to change that to YYYY-MM format instead.&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Sep 2010 09:29:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Gauge-Chart-Last-Month-and-Current-Month/m-p/197867#M57381</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2010-09-13T09:29:05Z</dc:date>
    </item>
    <item>
      <title>Gauge Chart Last Month and Current Month</title>
      <link>https://community.qlik.com/t5/QlikView/Gauge-Chart-Last-Month-and-Current-Month/m-p/197868#M57382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the suggestions. did what you said and all of them return null except max value. that returns -1.1 so im going to review my formulas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Sep 2010 10:30:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Gauge-Chart-Last-Month-and-Current-Month/m-p/197868#M57382</guid>
      <dc:creator />
      <dc:date>2010-09-13T10:30:29Z</dc:date>
    </item>
  </channel>
</rss>

