<?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 Dynamic Rolling 13 Months with year selection in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Dynamic-Rolling-13-Months-with-year-selection/m-p/1457539#M35909</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to allow for financial periods (13 months) to be visible with year selections. So when 2017 and a month is chosen, we see 2017 + Dec 2016, and so on.&amp;nbsp; I'm aware there is a set analysis solution to this but the specific visualization uses a cyclic expression with the following expression. &lt;/P&gt;&lt;P&gt;&lt;IMG alt="Expression.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/188597_Expression.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where Case_Qlik_Calc is a data island that will have an expression loaded in the rows, the set analysis here allows us to modify whatever is in the chart to whatever KPI a user wants to see. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently I have the following set up. &lt;/P&gt;&lt;P&gt;&lt;IMG alt="Scale.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/188599_Scale.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where the measure Scale uses the following set analysis to show 1, if it falls in the correct date range, and 0 if not. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{&amp;lt;[Billing Period Start Date Month] = ,&lt;/P&gt;&lt;P&gt;[Billing Period Start Date Year]&amp;nbsp; = , &lt;/P&gt;&lt;P&gt;[Billing Period Start Date] = {"$(='&amp;gt;' &amp;amp; Date(AddMonths(Max([Billing Period Start Date]),-12), 'MMM-YYYY') &amp;amp; '&amp;lt;=' &amp;amp; Date(AddMonths(Max([Billing Period Start Date]),1), 'MMM-YYYY'))"}&amp;gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result is the following.... &lt;/P&gt;&lt;P&gt;&lt;IMG alt="No Select.PNG" class="jive-image image-3" src="/legacyfs/online/188603_No Select.PNG" style="height: 254px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;With no selection, correct values. &lt;IMG alt="Select.PNG" class="image-4 jive-image" src="https://community.qlik.com/legacyfs/online/188604_Select.PNG" style="height: 274px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With a selection. We still get the Scale value at 1, but it hasn't translated to the other expression. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know a solution to this is to put the set analysis in a variable and store it in all the expressions we cycle through, but I was wondering if there's any easier to way to tackle this problem of tackling financial calendars with.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An ability to do the top 13 dimension values present on whatever selection would be ideal. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Jan 2018 20:43:37 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-01-02T20:43:37Z</dc:date>
    <item>
      <title>Dynamic Rolling 13 Months with year selection</title>
      <link>https://community.qlik.com/t5/App-Development/Dynamic-Rolling-13-Months-with-year-selection/m-p/1457539#M35909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to allow for financial periods (13 months) to be visible with year selections. So when 2017 and a month is chosen, we see 2017 + Dec 2016, and so on.&amp;nbsp; I'm aware there is a set analysis solution to this but the specific visualization uses a cyclic expression with the following expression. &lt;/P&gt;&lt;P&gt;&lt;IMG alt="Expression.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/188597_Expression.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where Case_Qlik_Calc is a data island that will have an expression loaded in the rows, the set analysis here allows us to modify whatever is in the chart to whatever KPI a user wants to see. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently I have the following set up. &lt;/P&gt;&lt;P&gt;&lt;IMG alt="Scale.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/188599_Scale.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where the measure Scale uses the following set analysis to show 1, if it falls in the correct date range, and 0 if not. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;{&amp;lt;[Billing Period Start Date Month] = ,&lt;/P&gt;&lt;P&gt;[Billing Period Start Date Year]&amp;nbsp; = , &lt;/P&gt;&lt;P&gt;[Billing Period Start Date] = {"$(='&amp;gt;' &amp;amp; Date(AddMonths(Max([Billing Period Start Date]),-12), 'MMM-YYYY') &amp;amp; '&amp;lt;=' &amp;amp; Date(AddMonths(Max([Billing Period Start Date]),1), 'MMM-YYYY'))"}&amp;gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The result is the following.... &lt;/P&gt;&lt;P&gt;&lt;IMG alt="No Select.PNG" class="jive-image image-3" src="/legacyfs/online/188603_No Select.PNG" style="height: 254px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;With no selection, correct values. &lt;IMG alt="Select.PNG" class="image-4 jive-image" src="https://community.qlik.com/legacyfs/online/188604_Select.PNG" style="height: 274px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With a selection. We still get the Scale value at 1, but it hasn't translated to the other expression. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know a solution to this is to put the set analysis in a variable and store it in all the expressions we cycle through, but I was wondering if there's any easier to way to tackle this problem of tackling financial calendars with.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;An ability to do the top 13 dimension values present on whatever selection would be ideal. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jan 2018 20:43:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dynamic-Rolling-13-Months-with-year-selection/m-p/1457539#M35909</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-01-02T20:43:37Z</dc:date>
    </item>
  </channel>
</rss>

