<?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 Max Scale in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Conditional-Max-Scale/m-p/925151#M320172</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your second expression should not work MAX(SUM( Field)) is not a correct expression, using an aggregation inside another aggregation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RangeMax(&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;SUM({$&amp;lt;CalendarYear =, CalendarMonthName =,Program -= {'Prevention'},AddedOn={"&amp;gt;=$(=addmonths(max(AddedOn),-12))&amp;nbsp; &amp;lt;=$(=monthend(max(AddedOn),-1))"}&amp;gt;}DISTINCT&amp;nbsp; MonthlyTargetValue)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;SUM({$&amp;lt;CalendarYear =, CalendarMonthName =, Program -= {'Prevention'},AddedOn={"&amp;gt;=$(=addmonths(max(Today()),-12))&amp;nbsp; &amp;lt;=$(=monthend(max(Today()),-1))"}&amp;gt;}CardiologistscheduledNN)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;+25&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Nov 2015 17:45:46 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2015-11-17T17:45:46Z</dc:date>
    <item>
      <title>Conditional Max Scale</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Max-Scale/m-p/925150#M320171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm attempting to use a conditional on the max scale of a chart, which will either display the max of a reference line or the current data range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By it self&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;SUM({$&amp;lt;CalendarYear =, CalendarMonthName =,Program -= {'Prevention'},AddedOn={"&amp;gt;=$(=addmonths(max(AddedOn),-12))&amp;nbsp; &amp;lt;=$(=monthend(max(AddedOn),-1))"}&amp;gt;}DISTINCT&amp;nbsp; MonthlyTargetValue)+25&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Will give me the correct range for the reference line&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By it self&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;MAX(SUM({$&amp;lt;CalendarYear =, CalendarMonthName =, Program -= {'Prevention'},AddedOn={"&amp;gt;=$(=addmonths(max(Today()),-12))&amp;nbsp; &amp;lt;=$(=monthend(max(Today()),-1))"}&amp;gt;}CardiologistscheduledNN))+25)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Will give me the correct range for the expression of the chart.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I try to put it together with the following conditional it doesn't work...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=IF(SUM({$&amp;lt;CalendarYear =, CalendarMonthName =,Program -= {'Prevention'},AddedOn={"&amp;gt;=$(=addmonths(max(AddedOn),-12))&amp;nbsp; &amp;lt;=$(=monthend(max(AddedOn),-1))"}&amp;gt;}DISTINCT&amp;nbsp; MonthlyTargetValue)&lt;/P&gt;&lt;P&gt;&amp;gt;=&lt;/P&gt;&lt;P&gt;MAX(SUM({$&amp;lt;CalendarYear =, CalendarMonthName =, Program -= {'Prevention'},AddedOn={"&amp;gt;=$(=addmonths(max(Today()),-12))&amp;nbsp; &amp;lt;=$(=monthend(max(Today()),-1))"}&amp;gt;}CardiologistscheduledNN)),&lt;/P&gt;&lt;P&gt;SUM({$&amp;lt;CalendarYear =, CalendarMonthName =,Program -= {'Prevention'},AddedOn={"&amp;gt;=$(=addmonths(max(AddedOn),-12))&amp;nbsp; &amp;lt;=$(=monthend(max(AddedOn),-1))"}&amp;gt;}DISTINCT&amp;nbsp; MonthlyTargetValue)+25,&lt;/P&gt;&lt;P&gt;MAX(SUM({$&amp;lt;CalendarYear =, CalendarMonthName =, Program -= {'Prevention'},AddedOn={"&amp;gt;=$(=addmonths(max(Today()),-12))&amp;nbsp; &amp;lt;=$(=monthend(max(Today()),-1))"}&amp;gt;}CardiologistscheduledNN))+25)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2015 17:04:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Max-Scale/m-p/925150#M320171</guid>
      <dc:creator>NickHoff</dc:creator>
      <dc:date>2015-11-17T17:04:48Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Max Scale</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Max-Scale/m-p/925151#M320172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your second expression should not work MAX(SUM( Field)) is not a correct expression, using an aggregation inside another aggregation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RangeMax(&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;SUM({$&amp;lt;CalendarYear =, CalendarMonthName =,Program -= {'Prevention'},AddedOn={"&amp;gt;=$(=addmonths(max(AddedOn),-12))&amp;nbsp; &amp;lt;=$(=monthend(max(AddedOn),-1))"}&amp;gt;}DISTINCT&amp;nbsp; MonthlyTargetValue)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;SUM({$&amp;lt;CalendarYear =, CalendarMonthName =, Program -= {'Prevention'},AddedOn={"&amp;gt;=$(=addmonths(max(Today()),-12))&amp;nbsp; &amp;lt;=$(=monthend(max(Today()),-1))"}&amp;gt;}CardiologistscheduledNN)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-style: inherit; font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-weight: inherit;"&gt;+25&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2015 17:45:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Max-Scale/m-p/925151#M320172</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-11-17T17:45:46Z</dc:date>
    </item>
  </channel>
</rss>

