<?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 accessing text field by set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/accessing-text-field-by-set-analysis/m-p/351741#M130460</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all&lt;/P&gt;&lt;P&gt;I am trying to access a field which contains text by following expression for specific dimension but unable to get the text instead it is showing 0&lt;/P&gt;&lt;P&gt;sum( {$&amp;lt;END_DT={'4/30/2009'}&amp;gt;}(CD_UNIT))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CD_UNIT&amp;nbsp; field contains texts like kwh or kvh or kw etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any solutions to it ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Jun 2012 19:06:18 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-06-13T19:06:18Z</dc:date>
    <item>
      <title>accessing text field by set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/accessing-text-field-by-set-analysis/m-p/351741#M130460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all&lt;/P&gt;&lt;P&gt;I am trying to access a field which contains text by following expression for specific dimension but unable to get the text instead it is showing 0&lt;/P&gt;&lt;P&gt;sum( {$&amp;lt;END_DT={'4/30/2009'}&amp;gt;}(CD_UNIT))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CD_UNIT&amp;nbsp; field contains texts like kwh or kvh or kw etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any solutions to it ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2012 19:06:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/accessing-text-field-by-set-analysis/m-p/351741#M130460</guid>
      <dc:creator />
      <dc:date>2012-06-13T19:06:18Z</dc:date>
    </item>
    <item>
      <title>Re: accessing text field by set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/accessing-text-field-by-set-analysis/m-p/351742#M130461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You do not want to use a sum() aggregation against a text field. Instead use Only(), minstring(), maxstring(), or something similar.&amp;nbsp; If you need to display more than one value, look into concat().&lt;BR /&gt;-Phil&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2012 22:20:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/accessing-text-field-by-set-analysis/m-p/351742#M130461</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-06-13T22:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: accessing text field by set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/accessing-text-field-by-set-analysis/m-p/351743#M130462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I agree with Phil but if you meant that in the field there are numbers with the unit in a string format, you will need to adjust it to make it a number. &lt;/P&gt;&lt;P&gt;For example&lt;/P&gt;&lt;P&gt;CD_UNIT = '500 W', '500 kW'&lt;/P&gt;&lt;P&gt;You would need to convert it to the same unit in script: &lt;/P&gt;&lt;P&gt;VALUE&amp;nbsp; = 500, 500000&amp;nbsp; / UNIT = 'W'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, you would be able to sum it with your expression &lt;/P&gt;&lt;P&gt;Hope this helps, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2012 00:50:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/accessing-text-field-by-set-analysis/m-p/351743#M130462</guid>
      <dc:creator>erichshiino</dc:creator>
      <dc:date>2012-06-14T00:50:09Z</dc:date>
    </item>
  </channel>
</rss>

