<?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: FieldValue Doesn't Work Consistently in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/FieldValue-Doesn-t-Work-Consistently/m-p/658437#M1058700</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;QlikView is struggling with the string-intepretation from this value and showed only a ? as placeholder. But if you forced an additionally string-intepretation per num() or dual() the correct values will be displayed. see also: &lt;A href="https://community.qlik.com/message/845508"&gt;Re: Problem with FieldValue&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Oct 2015 07:43:50 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2015-10-20T07:43:50Z</dc:date>
    <item>
      <title>FieldValue Doesn't Work Consistently</title>
      <link>https://community.qlik.com/t5/QlikView/FieldValue-Doesn-t-Work-Consistently/m-p/658433#M1058693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Has anyone encountered an issue using FieldValue()?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load &lt;/P&gt;&lt;P&gt;&amp;nbsp; FieldValue('ColumnA',IterNo()) as ColumnA&lt;/P&gt;&lt;P&gt;AutoGenerate(1)&lt;/P&gt;&lt;P&gt;While not Isnull(FieldValue('&lt;SPAN style="font-size: 13.3333330154419px;"&gt;ColumnA&lt;/SPAN&gt;',IterNo()))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works for some columns and not for others. It makes no sense. Some columns, it will load in all the correct values. For other columns, it will load in several instances of a questions mark. Yes, the values show up as "?".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And yet, for another column, it loads in nothing at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tired everything from renaming columns to aliasing differently and I can't find a pattern as to why this doesn't work. Super frustrating. Anyone have any solutions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ab.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2014 23:00:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FieldValue-Doesn-t-Work-Consistently/m-p/658433#M1058693</guid>
      <dc:creator />
      <dc:date>2014-10-03T23:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: FieldValue Doesn't Work Consistently</title>
      <link>https://community.qlik.com/t5/QlikView/FieldValue-Doesn-t-Work-Consistently/m-p/658434#M1058694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Set NullInterpret = '';&lt;/P&gt;&lt;P&gt;Load * Inline [&lt;/P&gt;&lt;P&gt;ColumnA,ColumnB&lt;/P&gt;&lt;P&gt;1&lt;/P&gt;&lt;P&gt;2&lt;/P&gt;&lt;P&gt;3&lt;/P&gt;&lt;P&gt;4,4&lt;/P&gt;&lt;P&gt;5&lt;/P&gt;&lt;P&gt;,4&lt;/P&gt;&lt;P&gt;6,6];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load&lt;/P&gt;&lt;P&gt;&amp;nbsp; FieldValue('ColumnA',IterNo()) as ColumnA&lt;/P&gt;&lt;P&gt;AutoGenerate(1)&lt;/P&gt;&lt;P&gt;While not Isnull(FieldValue('ColumnA',IterNo()));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you show full script?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Oct 2014 03:30:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FieldValue-Doesn-t-Work-Consistently/m-p/658434#M1058694</guid>
      <dc:creator>anbu1984</dc:creator>
      <dc:date>2014-10-04T03:30:47Z</dc:date>
    </item>
    <item>
      <title>Re: FieldValue Doesn't Work Consistently</title>
      <link>https://community.qlik.com/t5/QlikView/FieldValue-Doesn-t-Work-Consistently/m-p/658435#M1058696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe you tried another while-condition with &lt;SPAN class="Bold"&gt;fieldvaluecount():&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;....&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;while iterno() &amp;lt; &lt;SPAN class="Bold"&gt;fieldvaluecount('ColumnA');&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;&lt;SPAN class="Bold"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;&lt;SPAN class="Bold"&gt;- Marcus&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Oct 2014 13:28:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FieldValue-Doesn-t-Work-Consistently/m-p/658435#M1058696</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2014-10-04T13:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: FieldValue Doesn't Work Consistently</title>
      <link>https://community.qlik.com/t5/QlikView/FieldValue-Doesn-t-Work-Consistently/m-p/658436#M1058698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abhijeet,&lt;/P&gt;&lt;P&gt;I'm having a similar problem. If you got to the bottom of it please advise. Can you see what is wrong here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would expect this script to create a table MaxNum with one record, comprising one field MAXNUM of value 45. Instead I get a value '?'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am exasperated over this. any help would be gratefully received.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew Walker&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Num:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Num&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 45&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MaxNum:&lt;/P&gt;&lt;P&gt;LOAD max(FieldValue('Num',RecNo()) ) as MAXNUM&lt;/P&gt;&lt;P&gt;AutoGenerate FieldValueCount('Num');&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2015 21:13:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FieldValue-Doesn-t-Work-Consistently/m-p/658436#M1058698</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2015-10-19T21:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: FieldValue Doesn't Work Consistently</title>
      <link>https://community.qlik.com/t5/QlikView/FieldValue-Doesn-t-Work-Consistently/m-p/658437#M1058700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;QlikView is struggling with the string-intepretation from this value and showed only a ? as placeholder. But if you forced an additionally string-intepretation per num() or dual() the correct values will be displayed. see also: &lt;A href="https://community.qlik.com/message/845508"&gt;Re: Problem with FieldValue&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 07:43:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FieldValue-Doesn-t-Work-Consistently/m-p/658437#M1058700</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-10-20T07:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: FieldValue Doesn't Work Consistently</title>
      <link>https://community.qlik.com/t5/QlikView/FieldValue-Doesn-t-Work-Consistently/m-p/658438#M1058702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not surprised. I think you use the FieldValue() function in a way that you shouldn't.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The &lt;SPAN style="font-size: 13.3333px;"&gt;FieldValue(fieldname,n) &lt;/SPAN&gt;function returns the field value found in position n of the field. In other words: It accesses the symbol tables to get the n:th field value. But you use the function like&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;SPAN style="color: #0000ff;"&gt;FieldValue&lt;/SPAN&gt;('ColumnA',&lt;SPAN style="color: #0000ff;"&gt;IterNo&lt;/SPAN&gt;()) &lt;SPAN style="color: #0000ff;"&gt;as&lt;/SPAN&gt; &lt;STRONG style="color: #ff0000;"&gt;ColumnA&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I.e. you use the function in the same Load statement that is about &lt;EM&gt;&lt;STRONG&gt;to define&lt;/STRONG&gt;&lt;/EM&gt; the symbol table for ColumnA (in red). Of course you can then get into a recursive definition. Or worse; the memory for the n:th position of the symbol table is perhaps already allocated, but has not yet been assigned a value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2015 07:58:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FieldValue-Doesn-t-Work-Consistently/m-p/658438#M1058702</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2015-10-20T07:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: FieldValue Doesn't Work Consistently</title>
      <link>https://community.qlik.com/t5/QlikView/FieldValue-Doesn-t-Work-Consistently/m-p/1640279#M1058704</link>
      <description>&lt;P&gt;Hi Henric,&lt;/P&gt;&lt;P&gt;I am struggling with Fieldvalue () function in a loop:&lt;/P&gt;&lt;P&gt;I have an Excel table with the following data:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ReferenceTable.PNG" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/22422iCE922FCFFFA7ED83/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ReferenceTable.PNG" alt="ReferenceTable.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I create a loop to concatenate multiple QVDs and have a single table with all QVD names and fields:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Loop_Dictionary.PNG" style="width: 473px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/22423i4F9C991676E239B9/image-size/large?v=v2&amp;amp;px=999" role="button" title="Loop_Dictionary.PNG" alt="Loop_Dictionary.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;it works perfect when I do not have equals Folder names in the Excel. However, when having the same Folder name, the LET vQVDFolder= FieldValue ('Folder' $(i)); does not saved the Folder name in the variable.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea why&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2019 10:03:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FieldValue-Doesn-t-Work-Consistently/m-p/1640279#M1058704</guid>
      <dc:creator>Zaga_69</dc:creator>
      <dc:date>2019-10-28T10:03:30Z</dc:date>
    </item>
    <item>
      <title>Re: FieldValue Doesn't Work Consistently</title>
      <link>https://community.qlik.com/t5/QlikView/FieldValue-Doesn-t-Work-Consistently/m-p/1640345#M1058706</link>
      <description>&lt;P&gt;Fieldvalue() isn't suitable to read data from a table unless you could ensure that your field there didn't contain redundant data and isn't a key-field. To read from the table you could use:&lt;/P&gt;&lt;P&gt;noofrows('TableName')&lt;/P&gt;&lt;P&gt;to get the number of records and:&lt;/P&gt;&lt;P&gt;peek('FieldName', $(iterationCounter), 'TableName')&lt;/P&gt;&lt;P&gt;to pick the appropriate field-value - whereby the iterationCounter starts not with 1 else with 0.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2019 12:23:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FieldValue-Doesn-t-Work-Consistently/m-p/1640345#M1058706</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2019-10-28T12:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: FieldValue Doesn't Work Consistently</title>
      <link>https://community.qlik.com/t5/QlikView/FieldValue-Doesn-t-Work-Consistently/m-p/1640355#M1058708</link>
      <description>&lt;P&gt;Hi Marcus,&lt;/P&gt;&lt;P&gt;I realized that FieldValue() function does not work with redundant/same fields.&lt;/P&gt;&lt;P&gt;Ia adjustd the code I use the PEEK() function and now works,&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Edi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Oct 2019 12:38:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/FieldValue-Doesn-t-Work-Consistently/m-p/1640355#M1058708</guid>
      <dc:creator>Zaga_69</dc:creator>
      <dc:date>2019-10-28T12:38:10Z</dc:date>
    </item>
  </channel>
</rss>

