<?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 Conditional Chart Data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Conditional-Chart-Data/m-p/209219#M64290</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess I'm still having problems. You mention that the value in a line chart is the value itself and the line that goes from this point to the next. I can hide this line in the background color expression. But then you mention that you can "hide" the point and the line before it and I don't see how without being able to hide it in a similar way with at the previous data point (which would require knowing the value at a future data point).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Apr 2011 20:41:15 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-04-13T20:41:15Z</dc:date>
    <item>
      <title>Conditional Chart Data</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Chart-Data/m-p/209213#M64284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've created a line chart where each pathologists monthly average turnover is plotted over time. Since the average calcualtion is misleading if their caseload is low I would like to exclude the data from the chart if it is lower than a specific threshold. How do I conditionally determine if data should be plotted?&lt;/P&gt;&lt;P&gt;My expression used currently is ' Avg(Diff)'. I tried doing a conditional 'If(Count&amp;lt;10){Avg(Diff)}' but that is bad syntax. I also tried messing with the dimentions but had trouble there as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2011 14:22:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Chart-Data/m-p/209213#M64284</guid>
      <dc:creator />
      <dc:date>2011-04-11T14:22:22Z</dc:date>
    </item>
    <item>
      <title>Conditional Chart Data</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Chart-Data/m-p/209214#M64285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Chad,&lt;/P&gt;&lt;P&gt;Using background colors you can "hide" some plots or bars in line or bar charts. If you don't want to show those values less than 10, then use the following in the Background Color expression&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;If(Avg(Diff) &amp;lt; 10, ARGB(0, 0, 0, 0), Black())&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;So if the result of Avg(Diff) for any given value of the dimension is less than 10, it will be rendered as "transparent". This may create some gaps in a line chart.&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2011 14:44:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Chart-Data/m-p/209214#M64285</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-04-11T14:44:15Z</dc:date>
    </item>
    <item>
      <title>Conditional Chart Data</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Chart-Data/m-p/209215#M64286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That almost works. For the Line Chart it will hide the line after the data point but will show the line connecting to the point that I do not want displayed. Is there a way I can look forward in time to conditionally hide this part of the line as well?&lt;/P&gt;&lt;P&gt;IF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;(Count(Case) &amp;lt; 10, ARGB(0, 0, 0, 0))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2011 17:50:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Chart-Data/m-p/209215#M64286</guid>
      <dc:creator />
      <dc:date>2011-04-11T17:50:50Z</dc:date>
    </item>
    <item>
      <title>Conditional Chart Data</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Chart-Data/m-p/209216#M64287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Instead of trying to hide the line can I exclude the data point all together? Part of the reason to do this is because an extreem outlier will affect the scale of the chart and if I hide the line it'll still probably keep the same scale.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2011 17:53:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Chart-Data/m-p/209216#M64287</guid>
      <dc:creator />
      <dc:date>2011-04-11T17:53:48Z</dc:date>
    </item>
    <item>
      <title>Conditional Chart Data</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Chart-Data/m-p/209217#M64288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Now that I'd think about it I need to do it in the load script query, right? I'd rather not because I'd like to show the values in a table, just not in a graph if the data is not relevent.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2011 18:17:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Chart-Data/m-p/209217#M64288</guid>
      <dc:creator />
      <dc:date>2011-04-11T18:17:26Z</dc:date>
    </item>
    <item>
      <title>Conditional Chart Data</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Chart-Data/m-p/209218#M64289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Chad,&lt;/P&gt;&lt;P&gt;Unless you don't want either show those value nor aggregate them, I'd do all these in the chart.&lt;/P&gt;&lt;P&gt;The value in a line chart is the value itself and the line that goes from this point to the next. You can "hide" (using transparent background) the point and the line before() it. If you don't want to show the value either, then use the conditional in the "Text Color" property of the expression, besides the background color, that affects to the bar/line.&lt;/P&gt;&lt;P&gt;If you are rendering a table instead of a chart, I'd use a set analysis rather than changing the script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;Avg({&amp;lt; CustomerName = {"=Avg(Diff) &amp;gt;= 10"} &amp;gt;} Diff)&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;CustomerName would be your dimension.&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Apr 2011 19:05:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Chart-Data/m-p/209218#M64289</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-04-11T19:05:01Z</dc:date>
    </item>
    <item>
      <title>Conditional Chart Data</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Chart-Data/m-p/209219#M64290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess I'm still having problems. You mention that the value in a line chart is the value itself and the line that goes from this point to the next. I can hide this line in the background color expression. But then you mention that you can "hide" the point and the line before it and I don't see how without being able to hide it in a similar way with at the previous data point (which would require knowing the value at a future data point).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2011 20:41:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Chart-Data/m-p/209219#M64290</guid>
      <dc:creator />
      <dc:date>2011-04-13T20:41:15Z</dc:date>
    </item>
    <item>
      <title>Conditional Chart Data</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Chart-Data/m-p/209220#M64291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Chad,&lt;/P&gt;&lt;P&gt;Here you are a little trick. Create two identical expressions, one for the data points, and the other for the lines. Use the conditional background color to show/hide and give that "gap" effect I'm guessing you are looking for. Hope the attached file helps.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2011 22:22:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Chart-Data/m-p/209220#M64291</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-04-13T22:22:35Z</dc:date>
    </item>
    <item>
      <title>Conditional Chart Data</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Chart-Data/m-p/209221#M64292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well it's a shame that I have the Personal Evaluation edition so I can't open the file. Thanks though. I indeed want the gap effect and can get half of it. Hiding the first part I still don't get.&lt;/P&gt;&lt;P&gt;I'm sure you get my issue but just to be sure this is a crude representation of my problem. Below is a plot with 'X' as the data points and 'o' as the display line. Assume that April is a bad data point because there weren't ernough samples for accurate data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;X&lt;/P&gt;&lt;P&gt;X o o&lt;/P&gt;&lt;P&gt;o X o X o X&lt;/P&gt;&lt;P&gt;o o o o&lt;/P&gt;&lt;P&gt;X X&lt;/P&gt;&lt;P&gt;Jan Feb Mar Apr May Jun Jul&lt;/P&gt;&lt;P&gt;When I do a hide in the Background Color using If(Count(Case) &amp;lt; 10, ARGB(0, 0, 0, 0)) it looks like this&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;X&lt;/P&gt;&lt;P&gt;X o&lt;/P&gt;&lt;P&gt;o X X o X&lt;/P&gt;&lt;P&gt;o o o&lt;/P&gt;&lt;P&gt;X X&lt;/P&gt;&lt;P&gt;Jan Feb Mar Apr May Jun Jul&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When really this is what I expect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;X&lt;/P&gt;&lt;P&gt;o X X o X&lt;/P&gt;&lt;P&gt;o o o&lt;/P&gt;&lt;P&gt;X X&lt;/P&gt;&lt;P&gt;Jan Feb Mar Apr May Jun Jul&lt;/P&gt;&lt;P&gt;Is the identical expressions the way to go?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Apr 2011 21:29:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Chart-Data/m-p/209221#M64292</guid>
      <dc:creator />
      <dc:date>2011-04-15T21:29:59Z</dc:date>
    </item>
    <item>
      <title>Conditional Chart Data</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Chart-Data/m-p/209222#M64293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would think you could just exclude the data with&lt;/P&gt;&lt;P&gt;if(count(Case)&amp;gt;10, avg(Diff), 0)&lt;/P&gt;&lt;P&gt;and then suppress zero values on the chart.&lt;/P&gt;&lt;P&gt;But if that's not working for you...Get a copy of the &lt;A href="http://robwunderlich.com/downloads/"&gt;QV Cookbook&lt;/A&gt; and look at the example "Removing outlier values from a chart dimension". There might be some useful ideas there for you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Apr 2011 06:37:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Chart-Data/m-p/209222#M64293</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2011-04-17T06:37:09Z</dc:date>
    </item>
  </channel>
</rss>

