<?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: 3 year unit sum average for the selected 'character string' fiscal year in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/3-year-unit-sum-average-for-the-selected-character-string-fiscal/m-p/2482138#M100901</link>
    <description>&lt;P&gt;Thank you, I know this could be an option too but I'm looking for the way without creating an value.&lt;/P&gt;
&lt;P&gt;Because my app has 10 tables with large sets, and there should be a reason this FY should stay as character. If I create a new value of Final year, there's no room for another filter for the new value.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 17 Sep 2024 21:55:48 GMT</pubDate>
    <dc:creator>nezuko_kamado</dc:creator>
    <dc:date>2024-09-17T21:55:48Z</dc:date>
    <item>
      <title>3 year unit sum average for the selected 'character string' fiscal year: without creating additional value</title>
      <link>https://community.qlik.com/t5/App-Development/3-year-unit-sum-average-for-the-selected-character-string-fiscal/m-p/2482104#M100895</link>
      <description>&lt;P&gt;How can I draw a bar chart by quarters(qtr) of the average of the selected FY, previous FY and two previous FY?The actual data combined with multiple large data sets, and I need to keep the fiscal year format as original (character) to avoid errors. Because FY is string value, I failed to select the previous, and 2year previous FY using -1 or -2.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Instead of changing FY to numeric&lt;/STRONG&gt;, first, I add the table assigning the order of fiscal year(FY). Because I need to keep FY value as it is. (I know how to convert it as numeric, but I'm looking for a way to pick previous two years with keeping it as string)&lt;/P&gt;
&lt;PRE&gt;FYsort:&lt;BR /&gt;Load*inline [&lt;BR /&gt;FY, SortOrder&lt;BR /&gt;FY19, 1&lt;BR /&gt;FY20, 2&lt;BR /&gt;FY21, 3&lt;BR /&gt;FY22, 4&lt;BR /&gt;FY23, 5&lt;BR /&gt;FY24, 6&lt;BR /&gt;FY25, 7&lt;BR /&gt;]&lt;/PRE&gt;
&lt;P&gt;but still not able to grab previous FYs.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nezuko_kamado_1-1726594199696.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/171792i54547620C003F255/image-size/large?v=v2&amp;amp;px=999" role="button" title="nezuko_kamado_1-1726594199696.png" alt="nezuko_kamado_1-1726594199696.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The below is the sample table you can use&lt;/P&gt;
&lt;PRE&gt;Table:&lt;BR /&gt;Load*inline [&lt;BR /&gt;FY, Qtr, Unit&lt;BR /&gt;FY19, 1, 10&lt;BR /&gt;FY19, 2, 30&lt;BR /&gt;FY19, 3, 25&lt;BR /&gt;FY19, 4, 40&lt;BR /&gt;FY20, 1, 35&lt;BR /&gt;FY20, 2, 25&lt;BR /&gt;FY20, 3, 30&lt;BR /&gt;FY20, 4, 50&lt;BR /&gt;FY21, 1, 20&lt;BR /&gt;FY21, 2, 15&lt;BR /&gt;FY21, 3, 50&lt;BR /&gt;FY21, 4, 45&lt;BR /&gt;FY22, 1, 30&lt;BR /&gt;FY22, 2, 25&lt;BR /&gt;FY22, 3, 25&lt;BR /&gt;FY22, 4, 50&lt;BR /&gt;FY23, 1, 40&lt;BR /&gt;FY23, 2, 25&lt;BR /&gt;FY23, 3, 40&lt;BR /&gt;FY23, 4, 10&lt;BR /&gt;FY24, 1, 20&lt;BR /&gt;FY24, 2, 43&lt;BR /&gt;FY24, 3, 50&lt;BR /&gt;FY24, 4, 10&lt;BR /&gt;FY25, 1, 30&lt;BR /&gt;FY25, 2, 45&lt;BR /&gt;FY25, 3, 25&lt;BR /&gt;FY25, 4, 50&lt;BR /&gt;];&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2024 21:58:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/3-year-unit-sum-average-for-the-selected-character-string-fiscal/m-p/2482104#M100895</guid>
      <dc:creator>nezuko_kamado</dc:creator>
      <dc:date>2024-09-17T21:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: 3 year unit sum average for the selected 'character string' fiscal year</title>
      <link>https://community.qlik.com/t5/App-Development/3-year-unit-sum-average-for-the-selected-character-string-fiscal/m-p/2482116#M100896</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/141236"&gt;@nezuko_kamado&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Try extracting the final numbers from your FY field&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Num(SubField(FY, 'FY', -1)) as Finalyear&lt;/STRONG&gt;.&lt;BR /&gt;&lt;BR /&gt;and then in the application you can use the &lt;STRONG&gt;max()&lt;/STRONG&gt; function&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;- Matheus&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2024 18:44:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/3-year-unit-sum-average-for-the-selected-character-string-fiscal/m-p/2482116#M100896</guid>
      <dc:creator>MatheusC</dc:creator>
      <dc:date>2024-09-17T18:44:51Z</dc:date>
    </item>
    <item>
      <title>Re: 3 year unit sum average for the selected 'character string' fiscal year</title>
      <link>https://community.qlik.com/t5/App-Development/3-year-unit-sum-average-for-the-selected-character-string-fiscal/m-p/2482138#M100901</link>
      <description>&lt;P&gt;Thank you, I know this could be an option too but I'm looking for the way without creating an value.&lt;/P&gt;
&lt;P&gt;Because my app has 10 tables with large sets, and there should be a reason this FY should stay as character. If I create a new value of Final year, there's no room for another filter for the new value.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2024 21:55:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/3-year-unit-sum-average-for-the-selected-character-string-fiscal/m-p/2482138#M100901</guid>
      <dc:creator>nezuko_kamado</dc:creator>
      <dc:date>2024-09-17T21:55:48Z</dc:date>
    </item>
    <item>
      <title>Re: 3 year unit sum average for the selected 'character string' fiscal year: without creating additional value</title>
      <link>https://community.qlik.com/t5/App-Development/3-year-unit-sum-average-for-the-selected-character-string-fiscal/m-p/2482205#M100905</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/141236"&gt;@nezuko_kamado&lt;/a&gt;&amp;nbsp; try something like below for max(FY)-1&lt;/P&gt;
&lt;P&gt;&lt;FONT face="comic sans ms,sans-serif"&gt;=sum({&amp;lt;FY ={"&lt;STRONG&gt;FY&lt;/STRONG&gt;$(=max(keepchar(FY,'0123456789'))-1)"}&amp;gt;}Unit)&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2024 09:09:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/3-year-unit-sum-average-for-the-selected-character-string-fiscal/m-p/2482205#M100905</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2024-09-18T09:09:43Z</dc:date>
    </item>
  </channel>
</rss>

