<?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: Set Analisys for Rangemax in a month in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analisys-for-Rangemax-in-a-month/m-p/1628974#M507370</link>
    <description>&lt;P&gt;Hi again! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Something like&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;&lt;SPAN&gt;MONTH_COMP = {$(=Max(MONTH_COMP))}&lt;/SPAN&gt;&amp;gt;}&amp;nbsp;&lt;SPAN&gt;TOT_CONSUMO_PERDITE&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;should work.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jaime.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 27 Sep 2019 10:16:25 GMT</pubDate>
    <dc:creator>jaibau1993</dc:creator>
    <dc:date>2019-09-27T10:16:25Z</dc:date>
    <item>
      <title>Set Analisys for Rangemax in a month</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analisys-for-Rangemax-in-a-month/m-p/1628945#M507369</link>
      <description>&lt;P&gt;Hi i need to do a setanalisys for my chart, i have some month to choose, so if i choose one month i need to do set analisys for one month, is i choose more month i need to do the set analisys for the max month i choose (the months will be 2 characters like '01','02'); if i not choose nothing my set analisys must be for the actual month (for example now we are in september so it must be '09'. How can i do that?&lt;/P&gt;&lt;P&gt;I wrote this but not work:&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;MONTH_COMP={"=$(=num(rangemax($(=GetFieldSelections(MONTH_COMP))),'00'))"}&amp;gt;}&amp;nbsp; TOT_CONSUMO_PERDITE)/1000&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2019 09:19:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analisys-for-Rangemax-in-a-month/m-p/1628945#M507369</guid>
      <dc:creator>danosoft</dc:creator>
      <dc:date>2019-09-27T09:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analisys for Rangemax in a month</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analisys-for-Rangemax-in-a-month/m-p/1628974#M507370</link>
      <description>&lt;P&gt;Hi again! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Something like&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;&lt;SPAN&gt;MONTH_COMP = {$(=Max(MONTH_COMP))}&lt;/SPAN&gt;&amp;gt;}&amp;nbsp;&lt;SPAN&gt;TOT_CONSUMO_PERDITE&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;should work.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jaime.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2019 10:16:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analisys-for-Rangemax-in-a-month/m-p/1628974#M507370</guid>
      <dc:creator>jaibau1993</dc:creator>
      <dc:date>2019-09-27T10:16:25Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analisys for Rangemax in a month</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analisys-for-Rangemax-in-a-month/m-p/1628983#M507371</link>
      <description>&lt;P&gt;Hi, sorry, no it not work and it need to have the "num" function becouse like i said in the post the month are with 2 charatcher like '01'&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2019 10:30:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analisys-for-Rangemax-in-a-month/m-p/1628983#M507371</guid>
      <dc:creator>danosoft</dc:creator>
      <dc:date>2019-09-27T10:30:06Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analisys for Rangemax in a month</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analisys-for-Rangemax-in-a-month/m-p/1629054#M507372</link>
      <description>&lt;P&gt;Then try&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sum({&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;MONTH_COMP = {$(=MaxString(MONTH_COMP))}&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;}&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;TOT_CONSUMO_PERDITE&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But, maybe, you should cast&amp;nbsp;MONTH_COMP to a number&amp;nbsp;in the load script instead of keeping it as a string, given how you are using that field!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Jaime.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2019 12:27:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analisys-for-Rangemax-in-a-month/m-p/1629054#M507372</guid>
      <dc:creator>jaibau1993</dc:creator>
      <dc:date>2019-09-27T12:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analisys for Rangemax in a month</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analisys-for-Rangemax-in-a-month/m-p/1629121#M507373</link>
      <description>&lt;P&gt;no sorry it not work.&lt;/P&gt;&lt;P&gt;my set analisys work ok for the every month:&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;MONTH_COMP={"=$(=num(rangemax($(=GetFieldSelections(MONTH_COMP))),'00'))"}&amp;gt;} TOT_CONSUMO_PERDITE)/1000&lt;/P&gt;&lt;P&gt;but when i choose 2 o 3 months (like: '01','02','03') it take the SUM of all those 3 month, and i want ONLY the SUM for the '03' month in this example&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2019 14:15:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analisys-for-Rangemax-in-a-month/m-p/1629121#M507373</guid>
      <dc:creator>danosoft</dc:creator>
      <dc:date>2019-09-27T14:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analisys for Rangemax in a month</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analisys-for-Rangemax-in-a-month/m-p/1629151#M507374</link>
      <description>&lt;P&gt;Hi i find the error in my expression&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;MONTH_COMP={"&lt;FONT size="5" color="#FF0000"&gt;&lt;STRONG&gt;=&lt;/STRONG&gt;&lt;/FONT&gt;$(=num(rangemax($(=GetFieldSelections(MONTH_COMP))),'00'))"}&amp;gt;} TOT_CONSUMO_PERDITE)/1000&lt;/P&gt;&lt;P&gt;this "=" not need&lt;/P&gt;&lt;P&gt;so the right expression is:&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;MESE_COMPETENZA={"$(=num(rangemax($(=GetFieldSelections(MESE_COMPETENZA))),'00'))"}&amp;gt;} TOT_CONSUMO_PERDITE)/1000,&lt;/P&gt;&lt;P&gt;but now i have another problem, till i choose max six months, is all ok, if i choose seven months.... the expression show me "-"&amp;nbsp; why?&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2019 14:53:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analisys-for-Rangemax-in-a-month/m-p/1629151#M507374</guid>
      <dc:creator>danosoft</dc:creator>
      <dc:date>2019-09-27T14:53:19Z</dc:date>
    </item>
  </channel>
</rss>

