<?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: Show on in Qlik Automate</title>
    <link>https://community.qlik.com/t5/Qlik-Automate/Show-on/m-p/1968866#M776</link>
    <description>&lt;P&gt;You can achieve this using various techniques but I prefer creating an indicator in the script like this -&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if(monthend([Month Year]) &amp;gt;= monthend(addmonths(today(1),-12)) and monthend([Month Year]) &amp;lt; monthend(today(1)), 1,0)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; as _current_month_rolling13_ind&lt;/P&gt;
&lt;P&gt;and then use this indicator in your measures like this -&lt;/P&gt;
&lt;P&gt;Sum({&amp;lt;_current_month_rolling13_ind={1}&amp;gt;}Sales)&lt;/P&gt;
&lt;P&gt;But if you need to respect the user selections of the month year field then the expression needs to be written in the set expression directly.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 15 Aug 2022 20:42:25 GMT</pubDate>
    <dc:creator>Digvijay_Singh</dc:creator>
    <dc:date>2022-08-15T20:42:25Z</dc:date>
    <item>
      <title>Show on</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/Show-on/m-p/1968859#M775</link>
      <description>&lt;P&gt;Hello folks,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'd like to know how can I display in a graphic the data of the 12 months prior without showing the current month. For an example, we are in August, but I just want to show the 12 months before that are completed, so it would be august 2021 to july 2022.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your help!&lt;/P&gt;</description>
      <pubDate>Mon, 15 Aug 2022 20:27:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/Show-on/m-p/1968859#M775</guid>
      <dc:creator>Phara</dc:creator>
      <dc:date>2022-08-15T20:27:09Z</dc:date>
    </item>
    <item>
      <title>Re: Show on</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/Show-on/m-p/1968866#M776</link>
      <description>&lt;P&gt;You can achieve this using various techniques but I prefer creating an indicator in the script like this -&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if(monthend([Month Year]) &amp;gt;= monthend(addmonths(today(1),-12)) and monthend([Month Year]) &amp;lt; monthend(today(1)), 1,0)&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; as _current_month_rolling13_ind&lt;/P&gt;
&lt;P&gt;and then use this indicator in your measures like this -&lt;/P&gt;
&lt;P&gt;Sum({&amp;lt;_current_month_rolling13_ind={1}&amp;gt;}Sales)&lt;/P&gt;
&lt;P&gt;But if you need to respect the user selections of the month year field then the expression needs to be written in the set expression directly.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Aug 2022 20:42:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/Show-on/m-p/1968866#M776</guid>
      <dc:creator>Digvijay_Singh</dc:creator>
      <dc:date>2022-08-15T20:42:25Z</dc:date>
    </item>
    <item>
      <title>Re: Show on</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/Show-on/m-p/1968870#M777</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/181365"&gt;@Phara&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;several proposals,&lt;BR /&gt;for example if you want to apply the filter in dimension, you can use:&lt;/P&gt;
&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If(Date &amp;gt;= AddMonths(Today(), -11), Date)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;or in measure&lt;/P&gt;
&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=SUM({$&amp;lt;DateField = {'&amp;gt;=$(=AddMonths(YearStart(Today()),-11))&amp;lt;=$(=AddMonths(MonthEnd (Today()),-12))'}&amp;gt;} YOURMEASURE)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Aug 2022 20:52:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/Show-on/m-p/1968870#M777</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2022-08-15T20:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: Show on</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/Show-on/m-p/1968882#M778</link>
      <description>&lt;P&gt;Hi Taoufiq,&lt;/P&gt;
&lt;P&gt;I tried to add this formula &lt;STRONG&gt;If(Date &amp;gt;= AddMonths(Today(), -11), Date)&amp;nbsp;&lt;/STRONG&gt;in my dimension and it shows that there is an error. I just wanted to make sure that it's the right formula, nothing is missing.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Aug 2022 21:48:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/Show-on/m-p/1968882#M778</guid>
      <dc:creator>Phara</dc:creator>
      <dc:date>2022-08-15T21:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: Show on</title>
      <link>https://community.qlik.com/t5/Qlik-Automate/Show-on/m-p/1968887#M779</link>
      <description>&lt;P&gt;You have an unneeded comma and a missing 'else' value in your formula&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Invalid sample formula syntax&lt;/P&gt;&lt;P&gt;=If(Year &amp;lt; Year(now(), -2), Year)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Valid sample formula syntax&lt;/P&gt;&lt;P&gt;=If(Year &amp;lt; Year(now() -2), Year,'Not Valid Year')&lt;/P&gt;&lt;P&gt;take out extra comment and add the 'else' value&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://lithium-response-prod.s3.us-west-2.amazonaws.com/qlik.response.lithium.com/RESPONSEIMAGE/ed1b8de9-108c-454f-b46e-e72e64ae3e16.default.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://lithium-response-prod.s3.us-west-2.amazonaws.com/qlik.response.lithium.com/RESPONSEIMAGE/d3a151c4-c8f4-4105-98bc-5a9428eca7a2.default.PNG" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards...&lt;/P&gt;</description>
      <pubDate>Mon, 15 Aug 2022 22:35:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Automate/Show-on/m-p/1968887#M779</guid>
      <dc:creator>Frank_S</dc:creator>
      <dc:date>2022-08-15T22:35:25Z</dc:date>
    </item>
  </channel>
</rss>

