<?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 first year of funding in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Show-first-year-of-funding/m-p/861699#M301603</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael, sorry but there's actually a small wrinkle in my real data that I forgot to include in my example. My Year column always has all years FY2010-FY2012 for each program, even if Amounts = 0. So how do I tell the script to flag FirstYear as the first year that actually has Amounts? E.g.:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;Load * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Program, Year, Amounts&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; t, FY2010, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; t, FY2011, 10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; t, FY2012, 15&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; u, FY2010, 15&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; u, FY2011, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; u, FY2012, 5&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; v, FY2010, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; v, FY2011, 5&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; v, FY2012, 10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Apr 2015 14:06:03 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-04-07T14:06:03Z</dc:date>
    <item>
      <title>Show first year of funding</title>
      <link>https://community.qlik.com/t5/QlikView/Show-first-year-of-funding/m-p/861693#M301597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table that shows the top 5 projects by value. &lt;STRONG style="text-decoration: underline;"&gt;How can I add an expression that shows the first [Year] that has funding?&lt;/STRONG&gt; I want this calculation to ignore whatever Years I have selected, and also these Years are in text with 'FY2015', 'FY2016', rather than just 2015, 2016. So I think any solution that would use min will use minstring instead.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Apr 2015 20:52:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-first-year-of-funding/m-p/861693#M301597</guid>
      <dc:creator />
      <dc:date>2015-04-06T20:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: Show first year of funding</title>
      <link>https://community.qlik.com/t5/QlikView/Show-first-year-of-funding/m-p/861694#M301598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you want to sort the rows in your table based on the funding is there or not. Can you provide some more details or some sample data? Ignoring year selection, you can use set analysis i.e. sum({&amp;lt;Year=,&amp;gt;} value)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Apr 2015 21:37:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-first-year-of-funding/m-p/861694#M301598</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-06T21:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: Show first year of funding</title>
      <link>https://community.qlik.com/t5/QlikView/Show-first-year-of-funding/m-p/861695#M301599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would recommend using the master calendar and flag the year that as funding in the master calendar.&amp;nbsp; &lt;/P&gt;&lt;P&gt;During the load check flag the years with funding.&amp;nbsp; Once you have this flagged then you may filter only years with flagged.&amp;nbsp; This is an idea.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ziad &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Apr 2015 21:56:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-first-year-of-funding/m-p/861695#M301599</guid>
      <dc:creator>ziadm</dc:creator>
      <dc:date>2015-04-06T21:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: Show first year of funding</title>
      <link>https://community.qlik.com/t5/QlikView/Show-first-year-of-funding/m-p/861696#M301600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it is min(Year) per project.&amp;nbsp; If it is in the script:&lt;/P&gt;&lt;P&gt;LOAD (or SELECT)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Project.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; min(Year) as FirstYear&lt;/P&gt;&lt;P&gt;FROM (or RESDIENT)&lt;/P&gt;&lt;P&gt;GROUP BY Project;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is on the front end in a table, and Project is a dimension, the expression will be just min(Year)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Apr 2015 22:29:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-first-year-of-funding/m-p/861696#M301600</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-06T22:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: Show first year of funding</title>
      <link>https://community.qlik.com/t5/QlikView/Show-first-year-of-funding/m-p/861697#M301601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael, thank you so much, this definitely seems to be the solution. However, would you mind helping me with the script? Using a simple INLINE statement, how should I correct the below?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;Load * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Program, Year, Amounts&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; t, FY2010, 7&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; u, FY2011, 15&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; v, FY2012, 10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; v, FY2013 20&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;Program,&lt;/P&gt;&lt;P&gt;minstring(Year) as FirstYear &lt;/P&gt;&lt;P&gt;GROUP BY Program,&lt;/P&gt;&lt;P&gt;FROM Data;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 13:24:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-first-year-of-funding/m-p/861697#M301601</guid>
      <dc:creator />
      <dc:date>2015-04-07T13:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: Show first year of funding</title>
      <link>https://community.qlik.com/t5/QlikView/Show-first-year-of-funding/m-p/861698#M301602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here it is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;BR /&gt;Load * INLINE [&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Program, Year, Amounts&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; t, FY2010, 7&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; u, FY2011, 15&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; v, FY2012, 10&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; v, FY2013, 20&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ];&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;LEFT JOIN (Data) LOAD&lt;BR /&gt;Program,&lt;BR /&gt;minstring(Year) as FirstYear&lt;BR /&gt;RESIDENT Data&lt;BR /&gt;GROUP BY Program;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 13:32:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-first-year-of-funding/m-p/861698#M301602</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-07T13:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: Show first year of funding</title>
      <link>https://community.qlik.com/t5/QlikView/Show-first-year-of-funding/m-p/861699#M301603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael, sorry but there's actually a small wrinkle in my real data that I forgot to include in my example. My Year column always has all years FY2010-FY2012 for each program, even if Amounts = 0. So how do I tell the script to flag FirstYear as the first year that actually has Amounts? E.g.:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Data:&lt;/P&gt;&lt;P&gt;Load * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Program, Year, Amounts&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; t, FY2010, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; t, FY2011, 10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; t, FY2012, 15&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; u, FY2010, 15&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; u, FY2011, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; u, FY2012, 5&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; v, FY2010, 0&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; v, FY2011, 5&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; v, FY2012, 10&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ];&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 14:06:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-first-year-of-funding/m-p/861699#M301603</guid>
      <dc:creator />
      <dc:date>2015-04-07T14:06:03Z</dc:date>
    </item>
    <item>
      <title>Re: Show first year of funding</title>
      <link>https://community.qlik.com/t5/QlikView/Show-first-year-of-funding/m-p/861700#M301604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Small addition:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LEFT JOIN (Data) LOAD&lt;/P&gt;&lt;P&gt;Program,&lt;/P&gt;&lt;P&gt;minstring(Year) as FirstYear&lt;/P&gt;&lt;P&gt;RESIDENT Data&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;WHERE Amounts &amp;gt; 0&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;GROUP BY Program;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 14:11:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-first-year-of-funding/m-p/861700#M301604</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-07T14:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: Show first year of funding</title>
      <link>https://community.qlik.com/t5/QlikView/Show-first-year-of-funding/m-p/861701#M301605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It worked, thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 14:17:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-first-year-of-funding/m-p/861701#M301605</guid>
      <dc:creator />
      <dc:date>2015-04-07T14:17:02Z</dc:date>
    </item>
  </channel>
</rss>

