<?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 When filter, the order of months does not work well in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/When-filter-the-order-of-months-does-not-work-well/m-p/1645758#M48141</link>
    <description>&lt;P&gt;I have a bar chart that should show the current month and the previous 13 months.&lt;/P&gt;&lt;P&gt;On the x-axis I make a concatenation of year and month (the written month, not in number). This is my &lt;EM&gt;fx&lt;/EM&gt;:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;&lt;FONT face="book antiqua,palatino" size="2"&gt;=if (GetSelectedCount(AÑO)=0 AND FECHA&amp;gt;=(Monthstart(Addmonths(TODAY(),-12))) AND FECHA&amp;lt;=TODAY(),&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;&lt;FONT face="book antiqua,palatino" size="2"&gt;AÑO&amp;amp; ' ' &amp;amp;(MONTH(MakeDate([AÑO],MES))),&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;&lt;FONT face="book antiqua,palatino" size="2"&gt;if(GetSelectedCount(DMES)&amp;lt;&amp;gt;0 AND FECHA&amp;gt;=vLimiteMenor AND FECHA&amp;lt;=vLimiteSuperior,&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;&lt;FONT face="book antiqua,palatino" size="2"&gt;AÑO&amp;amp;' '&amp;amp;IF(LEN(MES)=1,'0'&amp;amp;MES,MES)&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;&lt;FONT face="book antiqua,palatino" size="2"&gt;)&lt;/FONT&gt;&lt;FONT face="book antiqua,palatino" size="2"&gt;)&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;*&lt;/STRONG&gt;&lt;FONT size="2"&gt;&lt;STRONG&gt;DMES&lt;/STRONG&gt; means written month&lt;/FONT&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT size="2" color="#FF0000"&gt;&lt;STRONG&gt;*MES&lt;/STRONG&gt; means numer of month&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT size="2" color="#FF0000"&gt;&lt;STRONG&gt;*vLimiteMenor&lt;/STRONG&gt; means&amp;nbsp;=(Monthstart(Addmonths(DATE(FLOOR(Timestamp#(MAX(FECHA))),'DD/MM/YYYY'),-12)))&amp;nbsp;&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT size="2" color="#FF0000"&gt;&lt;STRONG&gt;*&lt;FONT color="#FF0000"&gt;&lt;FONT face="book antiqua,palatino" size="2"&gt;vLimiteSuperior&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt; means&amp;nbsp; =DATE(FLOOR(Timestamp#(MAX(FECHA))),'DD/MM/YYYY')&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;When I filter, I also need to view the filtered month and the previous 13 months, so&amp;nbsp;I used different methods: alternate states, method {1}... BUT&amp;nbsp;WHEN FILTER, the order of concatenation does not work well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone help me? I do not know what I'm doing wrong&lt;/P&gt;</description>
    <pubDate>Tue, 12 Nov 2019 10:32:24 GMT</pubDate>
    <dc:creator>Lala</dc:creator>
    <dc:date>2019-11-12T10:32:24Z</dc:date>
    <item>
      <title>When filter, the order of months does not work well</title>
      <link>https://community.qlik.com/t5/App-Development/When-filter-the-order-of-months-does-not-work-well/m-p/1645758#M48141</link>
      <description>&lt;P&gt;I have a bar chart that should show the current month and the previous 13 months.&lt;/P&gt;&lt;P&gt;On the x-axis I make a concatenation of year and month (the written month, not in number). This is my &lt;EM&gt;fx&lt;/EM&gt;:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;&lt;FONT face="book antiqua,palatino" size="2"&gt;=if (GetSelectedCount(AÑO)=0 AND FECHA&amp;gt;=(Monthstart(Addmonths(TODAY(),-12))) AND FECHA&amp;lt;=TODAY(),&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;&lt;FONT face="book antiqua,palatino" size="2"&gt;AÑO&amp;amp; ' ' &amp;amp;(MONTH(MakeDate([AÑO],MES))),&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;&lt;FONT face="book antiqua,palatino" size="2"&gt;if(GetSelectedCount(DMES)&amp;lt;&amp;gt;0 AND FECHA&amp;gt;=vLimiteMenor AND FECHA&amp;lt;=vLimiteSuperior,&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;&lt;FONT face="book antiqua,palatino" size="2"&gt;AÑO&amp;amp;' '&amp;amp;IF(LEN(MES)=1,'0'&amp;amp;MES,MES)&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;&lt;FONT face="book antiqua,palatino" size="2"&gt;)&lt;/FONT&gt;&lt;FONT face="book antiqua,palatino" size="2"&gt;)&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;*&lt;/STRONG&gt;&lt;FONT size="2"&gt;&lt;STRONG&gt;DMES&lt;/STRONG&gt; means written month&lt;/FONT&gt;&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT size="2" color="#FF0000"&gt;&lt;STRONG&gt;*MES&lt;/STRONG&gt; means numer of month&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT size="2" color="#FF0000"&gt;&lt;STRONG&gt;*vLimiteMenor&lt;/STRONG&gt; means&amp;nbsp;=(Monthstart(Addmonths(DATE(FLOOR(Timestamp#(MAX(FECHA))),'DD/MM/YYYY'),-12)))&amp;nbsp;&lt;/FONT&gt;&lt;/LI&gt;&lt;LI&gt;&lt;FONT size="2" color="#FF0000"&gt;&lt;STRONG&gt;*&lt;FONT color="#FF0000"&gt;&lt;FONT face="book antiqua,palatino" size="2"&gt;vLimiteSuperior&lt;/FONT&gt;&lt;/FONT&gt;&lt;/STRONG&gt; means&amp;nbsp; =DATE(FLOOR(Timestamp#(MAX(FECHA))),'DD/MM/YYYY')&lt;/FONT&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;When I filter, I also need to view the filtered month and the previous 13 months, so&amp;nbsp;I used different methods: alternate states, method {1}... BUT&amp;nbsp;WHEN FILTER, the order of concatenation does not work well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone help me? I do not know what I'm doing wrong&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2019 10:32:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/When-filter-the-order-of-months-does-not-work-well/m-p/1645758#M48141</guid>
      <dc:creator>Lala</dc:creator>
      <dc:date>2019-11-12T10:32:24Z</dc:date>
    </item>
  </channel>
</rss>

