<?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: Conditional Graph in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Conditional-Graph/m-p/894312#M311348</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum({&amp;lt;DATA_PRES = {"=Mid(DATA_PRES, 7,4) = ANNO_PRES"}&amp;gt; } IMPORTO_CERTIFICATI)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Apr 2015 11:04:42 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2015-04-10T11:04:42Z</dc:date>
    <item>
      <title>Conditional Graph</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Graph/m-p/894310#M311346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, i need to create a graph (a dimention with date and an expression with a sum of values) that shows the amount of values related to a particular year, i have used this formula that doesn't work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum({&amp;lt;Mid(DATA_PRES,7,4) = {"=$(=ANNO_PRES)"}&amp;gt; }IMPORTO_CERTIFICATI)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case the use of Mid is necessary to extract the year part from the date filed, and compare it with the ANNO_PRES field.&lt;/P&gt;&lt;P&gt;The date is a string with this format: dd-mm-yyyy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you explain why the graph is not showed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2015 10:58:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Graph/m-p/894310#M311346</guid>
      <dc:creator>marco_puccetti</dc:creator>
      <dc:date>2015-04-10T10:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Graph</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Graph/m-p/894311#M311347</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;You cannot use function there&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;&lt;STRONG&gt;Mid(DATA_PRES,7,4)&lt;/STRONG&gt; = {"=$(=ANNO_PRES)"}&amp;gt; }IMPORTO_CERTIFICATI)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2015 11:00:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Graph/m-p/894311#M311347</guid>
      <dc:creator>pokassov</dc:creator>
      <dc:date>2015-04-10T11:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Graph</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Graph/m-p/894312#M311348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Sum({&amp;lt;DATA_PRES = {"=Mid(DATA_PRES, 7,4) = ANNO_PRES"}&amp;gt; } IMPORTO_CERTIFICATI)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Sunny&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2015 11:04:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Graph/m-p/894312#M311348</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-04-10T11:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Graph</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Graph/m-p/894313#M311349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Better to create the value as a field in the load script, and then use that field:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Mid(DATA_PRES, 7, 4) As ANNO,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If ANNO_PRES is a field that contains a single value, or if it is a variable, then use:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum({&amp;lt;ANNO = {'$(=ANNO_PRES)'}&amp;gt; } IMPORTO_CERTIFICATI)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if ANNO_PRES is a field and the compare with ANNO_PRES is a line by line comparison:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Sum(If(ANNO = ANNO_PRES,&amp;nbsp; IMPORTO_CERTIFICATI))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2015 11:14:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Graph/m-p/894313#M311349</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-04-10T11:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Graph</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Graph/m-p/894314#M311350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree, I always try to move the heavy lifting part in the back end of the application as much as possible.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2015 11:18:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Graph/m-p/894314#M311350</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2015-04-10T11:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Graph</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Graph/m-p/894315#M311351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have added a field to the table to let it compute within a table. In this manner is enaught to use the sum to have the computation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Apr 2015 13:28:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Graph/m-p/894315#M311351</guid>
      <dc:creator>marco_puccetti</dc:creator>
      <dc:date>2015-04-10T13:28:36Z</dc:date>
    </item>
  </channel>
</rss>

