<?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 aggr and firstsortedvalue expression fails when fields changed to text in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/aggr-and-firstsortedvalue-expression-fails-when-fields-changed/m-p/261460#M1189363</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a calculated dimension:&lt;/P&gt;&lt;P&gt;=aggr(firstsortedvalue({&amp;lt;ContactType={'Email'}&amp;gt;}ContactDetail,-ContactID),TR_ID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This was working ok until the format of the ContactID and TR_ID fields changed from numeric (e.g. 95423) to text (e.g. ABC95423).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The dimension is used in a straight table chart and has changed from returning the email address field to being unable to return anything, just a - in the field.&lt;/P&gt;&lt;P&gt;Can anyone help?&lt;BR /&gt;Thanks, Catherine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Sep 2011 13:56:31 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-09-14T13:56:31Z</dc:date>
    <item>
      <title>aggr and firstsortedvalue expression fails when fields changed to text</title>
      <link>https://community.qlik.com/t5/QlikView/aggr-and-firstsortedvalue-expression-fails-when-fields-changed/m-p/261460#M1189363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a calculated dimension:&lt;/P&gt;&lt;P&gt;=aggr(firstsortedvalue({&amp;lt;ContactType={'Email'}&amp;gt;}ContactDetail,-ContactID),TR_ID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This was working ok until the format of the ContactID and TR_ID fields changed from numeric (e.g. 95423) to text (e.g. ABC95423).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The dimension is used in a straight table chart and has changed from returning the email address field to being unable to return anything, just a - in the field.&lt;/P&gt;&lt;P&gt;Can anyone help?&lt;BR /&gt;Thanks, Catherine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Sep 2011 13:56:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/aggr-and-firstsortedvalue-expression-fails-when-fields-changed/m-p/261460#M1189363</guid>
      <dc:creator />
      <dc:date>2011-09-14T13:56:31Z</dc:date>
    </item>
  </channel>
</rss>

