<?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: Mini Chart Bug? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Mini-Chart-Bug/m-p/974774#M333285</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure if there is anything what is unexpected - the expressions are differently and therefore their results, too. The best thing to check such things is to put the expression-parts into separate columns and then comparing it against the behind data if there are really unexpected results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your case I could imagine that you don't need this if and something like this would work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;period=, flag = {"&amp;gt;=0&amp;lt;=0"} &amp;gt;} value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Dec 2015 15:50:04 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2015-12-09T15:50:04Z</dc:date>
    <item>
      <title>Mini Chart Bug?</title>
      <link>https://community.qlik.com/t5/QlikView/Mini-Chart-Bug/m-p/974772#M333283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please confirm what appears to be buggy behavior when using an if() statement in an expression rendered as a Mini Chart. I've attached a sample application. The expressions below render or don't render the mini-chart based on trivial differences in the if-condition.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With the first group, having sum() in the if-condition works but only() reduces the mini chart to one period.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Most baffling is the second group. With column(1) specified in the if-condition, the chart renders. With column(2), it does not. Columns 1 and 2 are the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The third group just shows that the optional else condition is required for the mini-chart to render. Not a big, but it took me a while to discover this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The expressions. &lt;BR /&gt;=if(Not IsNull(sum(flag)), Sum({&amp;lt;period=&amp;gt;} value), 0) //works&lt;BR /&gt;=if(Not IsNull(only(flag)), Sum({&amp;lt;period=&amp;gt;} value), 0) //works unexpectedly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(Not IsNull(column(1)), Sum({&amp;lt;period=&amp;gt;}value), 0) //works&lt;BR /&gt;=if(Not IsNull(column(2)), Sum({&amp;lt;period=&amp;gt;}value), 0) //does not work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if(Not IsNull(column(1)), Sum({&amp;lt;period=&amp;gt;}value), 0) //works&lt;BR /&gt;=if(Not IsNull(column(1)), Sum({&amp;lt;period=&amp;gt;}value)) //does not work&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is frustrating as I'm trying to write some expressions using the mini-chart expressions, but it's hard with the if-condition not working consistently.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thoughts? Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Dec 2015 19:52:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mini-Chart-Bug/m-p/974772#M333283</guid>
      <dc:creator />
      <dc:date>2015-12-08T19:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: Mini Chart Bug?</title>
      <link>https://community.qlik.com/t5/QlikView/Mini-Chart-Bug/m-p/974773#M333284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anyone? Is it an issue worth raising with Qlik? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Dec 2015 15:18:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mini-Chart-Bug/m-p/974773#M333284</guid>
      <dc:creator />
      <dc:date>2015-12-09T15:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: Mini Chart Bug?</title>
      <link>https://community.qlik.com/t5/QlikView/Mini-Chart-Bug/m-p/974774#M333285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure if there is anything what is unexpected - the expressions are differently and therefore their results, too. The best thing to check such things is to put the expression-parts into separate columns and then comparing it against the behind data if there are really unexpected results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your case I could imagine that you don't need this if and something like this would work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;period=, flag = {"&amp;gt;=0&amp;lt;=0"} &amp;gt;} value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Dec 2015 15:50:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Mini-Chart-Bug/m-p/974774#M333285</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-12-09T15:50:04Z</dc:date>
    </item>
  </channel>
</rss>

