<?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 Frustration in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Gauge-Chart-Frustration/m-p/334985#M576987</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a table containing milestone dates of varying "types" (A, B, C, etc). I am trying to create a set of gauge charts, one for each type, and I'm having difficulty getting the number of milestone dates that have occurred this year up to and including Today to display correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am creating a separate gauge chart for each type (with one being for the either E or F sum). I am not specifying any dimensions, and am trying to use an expression such as this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Sum(If([Milestones.MS Abbr]='D',If(Year([Milestones.MS Date])=2012,If([Milestones.MS Date]&amp;lt;=Today(),1,0),0),0))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;For some reason, this is not working. What am I doing wrong?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Apr 2012 14:24:16 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-04-03T14:24:16Z</dc:date>
    <item>
      <title>Gauge Chart Frustration</title>
      <link>https://community.qlik.com/t5/QlikView/Gauge-Chart-Frustration/m-p/334985#M576987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a table containing milestone dates of varying "types" (A, B, C, etc). I am trying to create a set of gauge charts, one for each type, and I'm having difficulty getting the number of milestone dates that have occurred this year up to and including Today to display correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am creating a separate gauge chart for each type (with one being for the either E or F sum). I am not specifying any dimensions, and am trying to use an expression such as this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;Sum(If([Milestones.MS Abbr]='D',If(Year([Milestones.MS Date])=2012,If([Milestones.MS Date]&amp;lt;=Today(),1,0),0),0))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;For some reason, this is not working. What am I doing wrong?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2012 14:24:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Gauge-Chart-Frustration/m-p/334985#M576987</guid>
      <dc:creator />
      <dc:date>2012-04-03T14:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: Gauge Chart Frustration</title>
      <link>https://community.qlik.com/t5/QlikView/Gauge-Chart-Frustration/m-p/334986#M576988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi arnoIse1.&lt;/P&gt;&lt;P&gt;It seems you got the syntax wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The syntax for if-statements in expression dialogs is as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(condition to be evaluated, then use this expression, else use that expression)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example:&lt;/P&gt;&lt;P&gt;sum(if(date=2012, CostField2, if(date=2011, CostField1, CostField)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The last CostField is the "else-statement for the second if".&lt;/P&gt;&lt;P&gt;If the year is neither 2012 nor 2011, then it will go into the second if-statement's else statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/21613"&gt;Magnus Åvitsland&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Consultant&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.framsteg.com" target="_blank"&gt;Framsteg Business Intelligence Corp.&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Apr 2012 14:31:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Gauge-Chart-Frustration/m-p/334986#M576988</guid>
      <dc:creator>magavi_framsteg</dc:creator>
      <dc:date>2012-04-03T14:31:34Z</dc:date>
    </item>
  </channel>
</rss>

