<?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 Expain in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Expain/m-p/996744#M339071</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;Can somebody give me detail explanation of below Calculated dimesion:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=$(=FirstSortedValue('[' &amp;amp; %Dimension &amp;amp; ']',[%Dimension Position],1))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mahamed Khan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Dec 2015 06:15:40 GMT</pubDate>
    <dc:creator>Mahamed_Qlik</dc:creator>
    <dc:date>2015-12-11T06:15:40Z</dc:date>
    <item>
      <title>Expain</title>
      <link>https://community.qlik.com/t5/QlikView/Expain/m-p/996744#M339071</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;Can somebody give me detail explanation of below Calculated dimesion:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=$(=FirstSortedValue('[' &amp;amp; %Dimension &amp;amp; ']',[%Dimension Position],1))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mahamed Khan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Dec 2015 06:15:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expain/m-p/996744#M339071</guid>
      <dc:creator>Mahamed_Qlik</dc:creator>
      <dc:date>2015-12-11T06:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: Expain</title>
      <link>https://community.qlik.com/t5/QlikView/Expain/m-p/996745#M339072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This expression Will return the First &lt;STRONG&gt;%Dimension&lt;/STRONG&gt; Field Value based on &lt;STRONG&gt;%Dimension Position&lt;/STRONG&gt; Sorting. Normally Ascending order, if you give minus ' - ', it means Descending order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For e.g&amp;nbsp; if you have the data like the below&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 237px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD align="left" height="20" width="96"&gt;&lt;STRONG&gt;[%Dimension]&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD align="left" width="141"&gt;&lt;STRONG&gt;[%Dimension Position]&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" height="20"&gt;&lt;STRONG&gt;Dim3&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD align="right"&gt;&lt;STRONG&gt;3&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" height="20"&gt;&lt;STRONG&gt;Dim2&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD align="right"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" height="20"&gt;&lt;STRONG&gt;Dim1&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD align="right"&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you use &lt;STRONG&gt;=FirstSortedValue(%Dimension,[%Dimension Position]), &lt;/STRONG&gt;you will get the result &lt;STRONG&gt;Dim2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;from help:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;A name="kanchor238"&gt;&lt;/A&gt;&lt;A name="firstsortedvalue"&gt;&lt;/A&gt;&lt;SPAN class="Bold"&gt;&lt;STRONG style="color: #3366ff;"&gt;firstsortedvalue(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #3366ff;"&gt;&lt;STRONG&gt;&lt;SPAN class="Italic"&gt;[{set_expression}][ &lt;SPAN class="Bold"&gt;distinct&lt;/SPAN&gt; ] [ &lt;SPAN class="Bold"&gt;total&lt;/SPAN&gt; [&amp;lt;fld {, fld}&amp;gt;]] expression [, sort_weight [, n]]&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN class="Bold"&gt;&lt;STRONG style="color: #3366ff;"&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=$(=FirstSortedValue(&lt;SPAN style="color: #ff0000;"&gt;'[' &amp;amp; %Dimension &amp;amp; ']'&lt;/SPAN&gt;,[%Dimension Position],&lt;SPAN style="color: #ff6600;"&gt;1&lt;/SPAN&gt;))&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG style=": ; color: #ff0000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;'[' &amp;amp; %Dimension &amp;amp; ']'&amp;nbsp; &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG style=": ; color: #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; =&amp;gt; &lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;This is just combining the field, suppose if you have space in the Field name. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; e.g&amp;nbsp; Employee Name returns = &amp;gt; &lt;SPAN style="color: #ff9900;"&gt;[Employee Name]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; =&amp;gt; &lt;STRONG&gt;1 -&amp;gt; &lt;/STRONG&gt;Just a record number&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the above, example, if you give &lt;STRONG style="font-size: 13.3333px;"&gt;=FirstSortedValue(%Dimension,[%Dimension Position],2)&amp;nbsp; =&amp;gt; &lt;/STRONG&gt;You will get 'Dim2'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the Qlikview Help, if you need more info.&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Dec 2015 07:27:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expain/m-p/996745#M339072</guid>
      <dc:creator>settu_periasamy</dc:creator>
      <dc:date>2015-12-11T07:27:56Z</dc:date>
    </item>
    <item>
      <title>Re: Expain</title>
      <link>https://community.qlik.com/t5/QlikView/Expain/m-p/996746#M339073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) This expression will sort the all values of ,[%Dimension Position] field. &lt;BR /&gt;2) After that it will find the 1st value from the ,[%Dimension Position].&lt;BR /&gt;3) And finally it will return the corresponding value to the 1st value from %Dimension filed.&lt;/P&gt;&lt;P&gt;Let say:&lt;/P&gt;&lt;P&gt;%Dimension&amp;nbsp;&amp;nbsp;&amp;nbsp; %Dimension Position&lt;BR /&gt;A&amp;nbsp; 4&lt;BR /&gt;B&amp;nbsp; 2&lt;BR /&gt;C&amp;nbsp; 1&lt;BR /&gt;D&amp;nbsp; 3&lt;/P&gt;&lt;P&gt; =$(=FirstSortedValue('[' &amp;amp; %Dimension &amp;amp; ']',[%Dimension Position],1)) will return--&amp;gt; C&lt;/P&gt;&lt;P&gt; Hope this will help you…!!&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Sandip Satbhai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Dec 2015 07:33:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expain/m-p/996746#M339073</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-11T07:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: Expain</title>
      <link>https://community.qlik.com/t5/QlikView/Expain/m-p/996747#M339074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Settu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your kind response.&lt;/P&gt;&lt;P&gt;Just want to know is there any specific need for entering record number (In Above example stated as value 1) or we can neglect tht as well?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Dec 2015 09:40:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expain/m-p/996747#M339074</guid>
      <dc:creator>Mahamed_Qlik</dc:creator>
      <dc:date>2015-12-11T09:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: Expain</title>
      <link>https://community.qlik.com/t5/QlikView/Expain/m-p/996748#M339075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check this as well:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/30532"&gt;FirstSortedValue()&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-6907"&gt;Using FirstSortedValue in the Script&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Dec 2015 09:45:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expain/m-p/996748#M339075</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-11T09:45:23Z</dc:date>
    </item>
    <item>
      <title>Re: Expain</title>
      <link>https://community.qlik.com/t5/QlikView/Expain/m-p/996749#M339076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Normally it gives the top value based on the Order. If you want the first value you can neglect it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Dec 2015 09:48:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Expain/m-p/996749#M339076</guid>
      <dc:creator>settu_periasamy</dc:creator>
      <dc:date>2015-12-11T09:48:27Z</dc:date>
    </item>
  </channel>
</rss>

