<?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: How to add a dynamic elem_no to FieldValue() in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-add-a-dynamic-elem-no-to-FieldValue/m-p/1291040#M403690</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you can use FieldIndex for that... something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FieldValue('City',FieldIndex('Country',Only(Country)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Review the enclosed file for the example.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Feb 2017 03:59:42 GMT</pubDate>
    <dc:creator>Carlos_Reyes</dc:creator>
    <dc:date>2017-02-17T03:59:42Z</dc:date>
    <item>
      <title>How to add a dynamic elem_no to FieldValue()</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-a-dynamic-elem-no-to-FieldValue/m-p/1291038#M403688</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;&lt;/P&gt;&lt;P&gt;Yet again, I seek your collective wisdom. &lt;span class="lia-unicode-emoji" title=":grinning_face_with_big_eyes:"&gt;😃&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to use the function FieldValue() and have used it thus: =FieldValue([FIELDNAME], 1), which returns the field value for the first row in the load order (elem_no=1). However, what I would like is to provide the elem_no dynamically, i.e., when I select another field, get the rownumber (or elem_no) of that value and get the fieldvalue of another field. In pseudo code: =FieldValue([FIELDNAME1], elem_no(FIELDNAME2)). Is this possible? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for your time!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Nathalie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2017 15:29:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-a-dynamic-elem-no-to-FieldValue/m-p/1291038#M403688</guid>
      <dc:creator />
      <dc:date>2017-02-16T15:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a dynamic elem_no to FieldValue()</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-a-dynamic-elem-no-to-FieldValue/m-p/1291039#M403689</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Where exactly are you using this FieldValue() function?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Feb 2017 15:41:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-a-dynamic-elem-no-to-FieldValue/m-p/1291039#M403689</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-02-16T15:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a dynamic elem_no to FieldValue()</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-a-dynamic-elem-no-to-FieldValue/m-p/1291040#M403690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you can use FieldIndex for that... something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FieldValue('City',FieldIndex('Country',Only(Country)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Review the enclosed file for the example.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Feb 2017 03:59:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-a-dynamic-elem-no-to-FieldValue/m-p/1291040#M403690</guid>
      <dc:creator>Carlos_Reyes</dc:creator>
      <dc:date>2017-02-17T03:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to add a dynamic elem_no to FieldValue()</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-add-a-dynamic-elem-no-to-FieldValue/m-p/1291041#M403691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;FieldValue&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('[FIELDNAME1]',&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;FieldIndex&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;('[FIELDNAME2]',[FIELDNAME2&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)]) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;index takes 2 values and returns number based on load order..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Share sample/appliction&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Feb 2017 06:03:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-add-a-dynamic-elem-no-to-FieldValue/m-p/1291041#M403691</guid>
      <dc:creator>sdmech81</dc:creator>
      <dc:date>2017-02-17T06:03:12Z</dc:date>
    </item>
  </channel>
</rss>

