<?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: FirstSortedValue() - &amp;quot;Error in Calculated Dimension&amp;quot; in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-quot-Error-in-Calculated-Dimension-quot/m-p/1632628#M507366</link>
    <description>&lt;P&gt;It sounds like you want to do this calc over SKU, so I believe a calculated dim would be:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;Aggr(FirstSortedValue([Stage],[Stage Ranking]), SKU)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-Rob&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 08 Oct 2019 15:27:12 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2019-10-08T15:27:12Z</dc:date>
    <item>
      <title>FirstSortedValue() - "Error in Calculated Dimension"</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-quot-Error-in-Calculated-Dimension-quot/m-p/1629161#M507363</link>
      <description>&lt;P&gt;Hello!&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to use the FirstSortedValue() function to return a Stage of a SKU based on rankings of the Stage. The following is what I have tried for my calculated dimension:&lt;/P&gt;&lt;P&gt;(1)&amp;nbsp;FirstSortedValue([Stage],[Stage Ranking])&amp;nbsp; ------&amp;gt; Error in Calculated Dimension&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;(2)&amp;nbsp; FirstSortedValue(AGGR([Stage],[SKU]),[Stage Ranking])&amp;nbsp; ------&amp;gt; Error in Calculated Dimension&lt;BR /&gt;&lt;BR /&gt;Also to note: I have confirmed the the field [Stage Ranking] is in NUM format.&lt;BR /&gt;&lt;BR /&gt;Any feedback on what I may be doing wrong? Thank you!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 19:59:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-quot-Error-in-Calculated-Dimension-quot/m-p/1629161#M507363</guid>
      <dc:creator>akidhossain</dc:creator>
      <dc:date>2024-11-16T19:59:49Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue() - "Error in Calculated Dimension"</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-quot-Error-in-Calculated-Dimension-quot/m-p/1629172#M507364</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;try to see here it is explain&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/New-to-QlikView/Error-in-calculated-dimension/td-p/1019381" target="_blank" rel="noopener"&gt;https://community.qlik.com/t5/New-to-QlikView/Error-in-calculated-dimension/td-p/1019381&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2019 15:54:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-quot-Error-in-Calculated-Dimension-quot/m-p/1629172#M507364</guid>
      <dc:creator>StarinieriG</dc:creator>
      <dc:date>2019-09-27T15:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue() - "Error in Calculated Dimension"</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-quot-Error-in-Calculated-Dimension-quot/m-p/1632601#M507365</link>
      <description>&lt;P&gt;Just a couple of other links for you that might be helpful:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Pitfalls-of-the-Aggr-function/ba-p/1463275" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Pitfalls-of-the-Aggr-function/ba-p/1463275&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Don-t-get-aggr-avated-using-aggr/ba-p/1464136" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Don-t-get-aggr-avated-using-aggr/ba-p/1464136&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Not sure they will really help, but worth a read.&lt;/P&gt;
&lt;P&gt;Cheers,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2019 14:57:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-quot-Error-in-Calculated-Dimension-quot/m-p/1632601#M507365</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-10-08T14:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: FirstSortedValue() - "Error in Calculated Dimension"</title>
      <link>https://community.qlik.com/t5/QlikView/FirstSortedValue-quot-Error-in-Calculated-Dimension-quot/m-p/1632628#M507366</link>
      <description>&lt;P&gt;It sounds like you want to do this calc over SKU, so I believe a calculated dim would be:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;Aggr(FirstSortedValue([Stage],[Stage Ranking]), SKU)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-Rob&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2019 15:27:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FirstSortedValue-quot-Error-in-Calculated-Dimension-quot/m-p/1632628#M507366</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2019-10-08T15:27:12Z</dc:date>
    </item>
  </channel>
</rss>

