<?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 How to create a flexible Baseline in chart? in Water Cooler</title>
    <link>https://community.qlik.com/t5/Water-Cooler/How-to-create-a-flexible-Baseline-in-chart/m-p/346334#M761</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure how this baseline should look like, but you could try creating a reference line in presentation tab of your bar chart properties, enter as expression for this reference line&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=max(aggr(sum(Sales), Month))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume Month is your field you are using as dimension in your chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How have you limited your chart to the last 12 months? Using a calculated dimension? Then you probably don't need to do anything else.&lt;/P&gt;&lt;P&gt;If you have limited the data using set analysis in your expression, you probably need to add this set expression to your aggr() expression, too, like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=max({SETEXPRESSIONGOESHERE} aggr(sum({SETEXPRESSIONGOESHERE}Sales), Duration))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or maybe I have misunderstood your requirement, if so, please add some more information.&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Apr 2012 10:56:11 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2012-04-11T10:56:11Z</dc:date>
    <item>
      <title>How to create a flexible Baseline in chart?</title>
      <link>https://community.qlik.com/t5/Water-Cooler/How-to-create-a-flexible-Baseline-in-chart/m-p/346333#M760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All, I am a fresh developer of Qlikview. I meet a question during developing and hope any one could help me to find a solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I have created a Bar Chart which shows the Sales Value rolling back 12 months from current month. However, I also should create a BaseLine in this chart which show the Max Sales Value of these 12 months. As you know, the month always change and the value will change too. So, how can I create a flexible baseline which can both show the max sales value of month and vary with time?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2012 09:53:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/How-to-create-a-flexible-Baseline-in-chart/m-p/346333#M760</guid>
      <dc:creator />
      <dc:date>2012-04-11T09:53:26Z</dc:date>
    </item>
    <item>
      <title>How to create a flexible Baseline in chart?</title>
      <link>https://community.qlik.com/t5/Water-Cooler/How-to-create-a-flexible-Baseline-in-chart/m-p/346334#M761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure how this baseline should look like, but you could try creating a reference line in presentation tab of your bar chart properties, enter as expression for this reference line&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=max(aggr(sum(Sales), Month))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume Month is your field you are using as dimension in your chart.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How have you limited your chart to the last 12 months? Using a calculated dimension? Then you probably don't need to do anything else.&lt;/P&gt;&lt;P&gt;If you have limited the data using set analysis in your expression, you probably need to add this set expression to your aggr() expression, too, like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=max({SETEXPRESSIONGOESHERE} aggr(sum({SETEXPRESSIONGOESHERE}Sales), Duration))&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or maybe I have misunderstood your requirement, if so, please add some more information.&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Apr 2012 10:56:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/How-to-create-a-flexible-Baseline-in-chart/m-p/346334#M761</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-04-11T10:56:11Z</dc:date>
    </item>
    <item>
      <title>How to create a flexible Baseline in chart?</title>
      <link>https://community.qlik.com/t5/Water-Cooler/How-to-create-a-flexible-Baseline-in-chart/m-p/346335#M762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi swuehl, thank you a lot. That's what I want. It works successfully.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2012 04:15:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Water-Cooler/How-to-create-a-flexible-Baseline-in-chart/m-p/346335#M762</guid>
      <dc:creator />
      <dc:date>2012-04-12T04:15:20Z</dc:date>
    </item>
  </channel>
</rss>

