<?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 Calculated Dimension: first value in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension-first-value/m-p/154701#M31232</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ah I see. Interesting functionality but not something that I can use. This field contains a set of entries for each order which aren't necessarily the same for each order. Creating a set would possibly eliminate correct values for other orders.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Aug 2009 22:17:26 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-08-11T22:17:26Z</dc:date>
    <item>
      <title>Calculated Dimension: first value</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension-first-value/m-p/154697#M31228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;I'm not sure what the best way to do this is. I'm creating a pivot table which displays information on certain orders. For one of the dimensions I'm displaying, I only want the first value that comes up. I've used firstsortedvalue before, but in this case I don't actually want to sort them by anything, I just want the first record that is stored for that field. I tried using the First() function but I got the "//error in calculation" message displayed in the table.&lt;/P&gt;&lt;P&gt;I also tried creating an entirely new field on the data import using the firstvalue command but that also seemed to cause a problem. Any ideas?&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2009 21:26:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension-first-value/m-p/154697#M31228</guid>
      <dc:creator />
      <dc:date>2009-08-11T21:26:27Z</dc:date>
    </item>
    <item>
      <title>Calculated Dimension: first value</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension-first-value/m-p/154698#M31229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dan,&lt;/P&gt;&lt;P&gt;If you use a set - perhaps using FirstSortedValue - in your expression then the other values will be zeroed and suppressed by default.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stephen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2009 21:37:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension-first-value/m-p/154698#M31229</guid>
      <dc:creator>stephencredmond</dc:creator>
      <dc:date>2009-08-11T21:37:18Z</dc:date>
    </item>
    <item>
      <title>Calculated Dimension: first value</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension-first-value/m-p/154699#M31230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Stephen,&lt;/P&gt;&lt;P&gt;can you elaborate on this? I'm not sure what you mean.&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2009 21:46:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension-first-value/m-p/154699#M31230</guid>
      <dc:creator />
      <dc:date>2009-08-11T21:46:34Z</dc:date>
    </item>
    <item>
      <title>Calculated Dimension: first value</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension-first-value/m-p/154700#M31231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;If I have a dimension, say it is called "MyDimension", that has 3 values - A, B, C. If I want to show a chart that has only results from Value = A, I can do that by putting a set in my expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE style="overflow-x: scroll;"&gt;&lt;PRE style="margin: 0px;"&gt;&lt;BR /&gt; sum( { &amp;lt; MyDimension = {A} &amp;gt; } Sales )&lt;BR /&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Now the chart will not display B or C because one of the default options in the presentation tab is to suppress zero results.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stephen&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2009 21:56:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension-first-value/m-p/154700#M31231</guid>
      <dc:creator>stephencredmond</dc:creator>
      <dc:date>2009-08-11T21:56:55Z</dc:date>
    </item>
    <item>
      <title>Calculated Dimension: first value</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension-first-value/m-p/154701#M31232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ah I see. Interesting functionality but not something that I can use. This field contains a set of entries for each order which aren't necessarily the same for each order. Creating a set would possibly eliminate correct values for other orders.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Aug 2009 22:17:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension-first-value/m-p/154701#M31232</guid>
      <dc:creator />
      <dc:date>2009-08-11T22:17:26Z</dc:date>
    </item>
    <item>
      <title>Calculated Dimension: first value</title>
      <link>https://community.qlik.com/t5/QlikView/Calculated-Dimension-first-value/m-p/154702#M31233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;is there a way to enforce that a field only contains a single value?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2009 00:16:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calculated-Dimension-first-value/m-p/154702#M31233</guid>
      <dc:creator />
      <dc:date>2009-08-12T00:16:05Z</dc:date>
    </item>
  </channel>
</rss>

