<?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: firstsorted value in set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/firstsorted-value-in-set-analysis/m-p/693258#M250768</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Magdalena,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is working &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ARTNKey = {'$(=(firstsortedvalue(ARTNKey,ARTNID,1)))'}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Jun 2014 11:20:32 GMT</pubDate>
    <dc:creator>kris_vliegen</dc:creator>
    <dc:date>2014-06-17T11:20:32Z</dc:date>
    <item>
      <title>firstsorted value in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/firstsorted-value-in-set-analysis/m-p/693255#M250765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try to use the first-sorted value in a gauge-chart.&lt;/P&gt;&lt;P&gt;I'm making a dashboard for fuelstations.&lt;/P&gt;&lt;P&gt;I would like to create a gauge-chart by petroltype.&lt;/P&gt;&lt;P&gt;But not every fuelstation has the same petrol-type's.&lt;/P&gt;&lt;P&gt;In a textbox I can show the Artikel by&amp;nbsp; =FirstSortedValue(ARTNKey,ARTNID,3)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the gauge-chart I would like to do something like this&lt;/P&gt;&lt;P&gt;=sum( { $ &amp;lt; CalYear = {$(vCurrentYear)}, [~Type] ={'T'}, ARTNKey={"=FirstSortedValue(ARTNKey,ARTNID,1)"} &amp;gt;}Quantity) / &lt;/P&gt;&lt;P&gt;sum( { $ &amp;lt; CalYear = {$(vPrevYear)}, [~Type] ={'T'}, ARTNKey={"=FirstSortedValue(ARTNKey,ARTNID,1)"} &amp;gt;}Quantity)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this is not working...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Who canhelp me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jun 2014 11:11:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/firstsorted-value-in-set-analysis/m-p/693255#M250765</guid>
      <dc:creator>kris_vliegen</dc:creator>
      <dc:date>2014-06-17T11:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: firstsorted value in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/firstsorted-value-in-set-analysis/m-p/693256#M250766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Maybe like this:&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=sum( { $ &amp;lt; CalYear = {$(vCurrentYear)}, [~Type] ={'T'}, ARTNKey={"$(=FirstSortedValue(ARTNKey,ARTNID,1))"} &amp;gt;}Quantity) /&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;sum( { $ &amp;lt; CalYear = {$(vPrevYear)}, [~Type] ={'T'}, ARTNKey={"$(=FirstSortedValue(ARTNKey,ARTNID,1))"} &amp;gt;}Quantity)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jun 2014 11:14:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/firstsorted-value-in-set-analysis/m-p/693256#M250766</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-06-17T11:14:09Z</dc:date>
    </item>
    <item>
      <title>Re: firstsorted value in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/firstsorted-value-in-set-analysis/m-p/693257#M250767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ARTNKey = {'$(=(firstsortedvalue(ARTNKey,ARTNID,1)'}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;MT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jun 2014 11:14:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/firstsorted-value-in-set-analysis/m-p/693257#M250767</guid>
      <dc:creator />
      <dc:date>2014-06-17T11:14:35Z</dc:date>
    </item>
    <item>
      <title>Re: firstsorted value in set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/firstsorted-value-in-set-analysis/m-p/693258#M250768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Magdalena,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is working &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ARTNKey = {'$(=(firstsortedvalue(ARTNKey,ARTNID,1)))'}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jun 2014 11:20:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/firstsorted-value-in-set-analysis/m-p/693258#M250768</guid>
      <dc:creator>kris_vliegen</dc:creator>
      <dc:date>2014-06-17T11:20:32Z</dc:date>
    </item>
  </channel>
</rss>

