<?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: Set analysis to get 1 specific field in dataset in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-get-1-specific-field-in-dataset/m-p/477365#M1136598</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Right,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameter 4 is used to determine how to handle ties (i.e. assign rank 2 &amp;amp; 3 in your example).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(Value) is just the expression that determines the rank (it is evaluated per item in the field modifier search expression). In your example, one could also just use rank( Value ,4), because there is only one value per item in the sample data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course you don't need the slider, just use the set expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Nov 2013 09:43:27 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2013-11-05T09:43:27Z</dc:date>
    <item>
      <title>Set analysis to get 1 specific field in dataset</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-get-1-specific-field-in-dataset/m-p/477357#M1136590</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 bookmark filter with the top rank data records.&lt;/P&gt;&lt;P&gt;Since its top ranks, there isnt a way to identify each specific row by an known id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to target specific field in a set analysis by limiting it to a specific row.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have found RowNo() or RowNo(Total) functions but cant seem to get it to apply in a set analysis for a Text Box..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried, this, but its not really valid:&lt;/P&gt;&lt;P&gt;=Only({&amp;lt;RowNo(TOTAL) = {1}&amp;gt;} ENGLISH_TEXT) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Nov 2013 15:46:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-get-1-specific-field-in-dataset/m-p/477357#M1136590</guid>
      <dc:creator />
      <dc:date>2013-11-04T15:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis to get 1 specific field in dataset</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-get-1-specific-field-in-dataset/m-p/477358#M1136591</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, I haven't fully understood your setting but you can use a search expression in a field modifier, e.g. using something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Only({&amp;lt;CustumerID = {"=rank(sum(Amount))=1"} &amp;gt;} ENGLISH_TEXT)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Nov 2013 15:49:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-get-1-specific-field-in-dataset/m-p/477358#M1136591</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-11-04T15:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis to get 1 specific field in dataset</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-get-1-specific-field-in-dataset/m-p/477359#M1136592</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The issue i have is, i don't have a field modifier to work with,&lt;/P&gt;&lt;P&gt;From a data table, i filter the data in a bookmark to have the top 10 based on ranking, these ranks can be identical(tied ranks) so i cannot search rank as a field modifier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to target a specific row of data without know any of the field modifiers?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;something in the line of, get rank from row number 3, etc ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Nov 2013 15:59:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-get-1-specific-field-in-dataset/m-p/477359#M1136592</guid>
      <dc:creator />
      <dc:date>2013-11-04T15:59:59Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis to get 1 specific field in dataset</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-get-1-specific-field-in-dataset/m-p/477360#M1136593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Still not sure what you are talking about, as usual an example really helps to understand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can create a unique record ID in your load script, then rank this record ID to get the first, second, third record in your selection.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Nov 2013 16:05:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-get-1-specific-field-in-dataset/m-p/477360#M1136593</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-11-04T16:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis to get 1 specific field in dataset</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-get-1-specific-field-in-dataset/m-p/477361#M1136594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry for the late update, but i think you got the gist of what i'm trying to do.&lt;/P&gt;&lt;P&gt;And your suggestion is workable if i do create a unique identifier, but Im trying to avoid this calculation set due to large volume of data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But to further elaborate, my original question is whether there is a way to target a specific row of data by only knowing the row number,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, with the following table :&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 256px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="64"&gt;Item&lt;/TD&gt;&lt;TD class="xl63" width="64"&gt;Rank&lt;/TD&gt;&lt;TD class="xl63" width="64"&gt;Value&lt;/TD&gt;&lt;TD class="xl63" width="64"&gt;Text&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;21&lt;/TD&gt;&lt;TD align="right"&gt;1&lt;/TD&gt;&lt;TD align="right"&gt;99&lt;/TD&gt;&lt;TD&gt;AA&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;2&lt;/TD&gt;&lt;TD align="right"&gt;2&lt;/TD&gt;&lt;TD align="right"&gt;80&lt;/TD&gt;&lt;TD&gt;BB&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;15&lt;/TD&gt;&lt;TD align="right"&gt;2&lt;/TD&gt;&lt;TD align="right"&gt;80&lt;/TD&gt;&lt;TD&gt;CC&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;4&lt;/TD&gt;&lt;TD align="right"&gt;3&lt;/TD&gt;&lt;TD align="right"&gt;77&lt;/TD&gt;&lt;TD&gt;DD&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" height="20"&gt;8&lt;/TD&gt;&lt;TD align="right"&gt;4&lt;/TD&gt;&lt;TD align="right"&gt;60&lt;/TD&gt;&lt;TD&gt;EE&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to get the text "CC" in a text box object by only knowing it will be the 3rd record row ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Item number is my unique identifier, but the number is unknown as data will varies, since when filter by top ranks, the rest is omitted. I need to get the text column, but only available information is that the 1st row will be my 1st rank, 2nd row, 2nd rank, etc..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Nov 2013 17:44:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-get-1-specific-field-in-dataset/m-p/477361#M1136594</guid>
      <dc:creator />
      <dc:date>2013-11-04T17:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Set analysis to get 1 specific field in dataset</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-get-1-specific-field-in-dataset/m-p/477362#M1136595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe like this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Nov 2013 23:00:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-get-1-specific-field-in-dataset/m-p/477362#M1136595</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-11-04T23:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis to get 1 specific field in dataset</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-get-1-specific-field-in-dataset/m-p/477363#M1136596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, that is what i'm trying to do but without slider,&lt;/P&gt;&lt;P&gt;Can you explain the rank() function parameters, I dont seem to have any luck finding the documentation for the function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=rank(sum(Value),4)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what is the second parameter ( 4 ) used for ?&lt;/P&gt;&lt;P&gt;and how is the sum of all the values&amp;nbsp; being applied to determine the ranking ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Nov 2013 23:16:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-get-1-specific-field-in-dataset/m-p/477363#M1136596</guid>
      <dc:creator />
      <dc:date>2013-11-04T23:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis to get 1 specific field in dataset</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-get-1-specific-field-in-dataset/m-p/477364#M1136597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From the documentation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;rank([ total ] expression [ , mode [, format ] ])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Evaluates expression, compares the result with the result of the other rows containing the current column segment&lt;/P&gt;&lt;P&gt;and returns the ranking of the current row within the segment. For bitmap charts, the current column&lt;/P&gt;&lt;P&gt;segment is defined as it appears in the chart's straight table equivalent (Actually all QlikView charts have a&lt;/P&gt;&lt;P&gt;straight table equivalent with the exception of the pivot table which has a more complex structure).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the chart is one-dimensional or if the expression is preceded by the total qualifier, the current column segment&lt;/P&gt;&lt;P&gt;is always equal to the entire column. If the table or table equivalent has multiple vertical dimensions,&lt;/P&gt;&lt;P&gt;the current column segment will include only rows with the same values as the current row in all dimension&lt;/P&gt;&lt;P&gt;columns except for the column showing the last dimension in the inter field sort order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The ranking is returned as a dual value, which in the case when each row has a unique ranking will be an&lt;/P&gt;&lt;P&gt;integer between 1 and the number of rows in the current column segment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the case where several rows share the same ranking, the text and number representation can be controlled&lt;/P&gt;&lt;P&gt;as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The second parameter mode specifies the number representation of the function result.&lt;/P&gt;&lt;P&gt;mode&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;0 (default) If all ranks within the sharing group fall on the low side of the middle value &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;of the entire ranking, all rows get the lowest rank within the sharing group.&lt;/SPAN&gt;If all ranks within the sharing group fall on the high side of the middle value of the entire ranking, all rows get the highest rank within the sharing group.If ranks within the sharing group span over the middle value of the entire ranking, all rows get the value corresponding to the average of the top and bottom ranking in the entire column segment.&lt;/LI&gt;&lt;LI&gt;1 Lowest rank on all rows.&lt;/LI&gt;&lt;LI&gt;2 Average rank on all rows.&lt;/LI&gt;&lt;LI&gt;3 Highest rank on all rows.&lt;/LI&gt;&lt;LI&gt;4 Lowest rank on first row, then incremented by one for each row.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The third parameter format specifies the text representation of the function result.&lt;/P&gt;&lt;P&gt;format&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;0 (default) Low value&amp;amp;' - '&amp;amp;high value on all rows (e.g. 3 - 4).&lt;/LI&gt;&lt;LI&gt;1 Low value on all rows.&lt;/LI&gt;&lt;LI&gt;2 Low value on first row, blank on the following rows. &lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The order of rows for mode 4 and format 2 is determined by the sort order of the chart dimensions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Examples:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;rank( sum( Sales ))&lt;/LI&gt;&lt;LI&gt;rank( sum( Sales ), 2 )&lt;/LI&gt;&lt;LI&gt;rank( sum( Sales ), 0, 1 )&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Nov 2013 06:15:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-get-1-specific-field-in-dataset/m-p/477364#M1136597</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2013-11-05T06:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis to get 1 specific field in dataset</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-to-get-1-specific-field-in-dataset/m-p/477365#M1136598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Right,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameter 4 is used to determine how to handle ties (i.e. assign rank 2 &amp;amp; 3 in your example).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(Value) is just the expression that determines the rank (it is evaluated per item in the field modifier search expression). In your example, one could also just use rank( Value ,4), because there is only one value per item in the sample data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course you don't need the slider, just use the set expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Nov 2013 09:43:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-to-get-1-specific-field-in-dataset/m-p/477365#M1136598</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-11-05T09:43:27Z</dc:date>
    </item>
  </channel>
</rss>

