<?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 does the fieldvalue function work in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-does-the-fieldvalue-function-work/m-p/312894#M1178332</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how to bring values ?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;This is a test, Dies ist ein Test&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;Vikas&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;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Jun 2016 05:58:17 GMT</pubDate>
    <dc:creator>vikasmahajan</dc:creator>
    <dc:date>2016-06-23T05:58:17Z</dc:date>
    <item>
      <title>How does the fieldvalue function work</title>
      <link>https://community.qlik.com/t5/QlikView/How-does-the-fieldvalue-function-work/m-p/312886#M1178324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm a newbie to Qlikview and was looking for some help using the fieldvalue function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to insert text from a specific loaded table cell into a text box on my qlikview document. I have seen examples where the fieldvalue function has been used to accomplish this, however I am not quite sure how to use it. I have created a variable that looks at the required table "=chr(39) &amp;amp; Language &amp;amp; chr(39)" where "Language" is the alias given to the column containing the text. But I don't quite understand how to pull through the desired references/text and I don't understand the element no variable in the fieldvalue function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would appreciate any help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Qlikview newbie&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;﻿&lt;/P&gt;&lt;P&gt;﻿&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 10:53:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-does-the-fieldvalue-function-work/m-p/312886#M1178324</guid>
      <dc:creator />
      <dc:date>2012-02-23T10:53:03Z</dc:date>
    </item>
    <item>
      <title>How does the fieldvalue function work</title>
      <link>https://community.qlik.com/t5/QlikView/How-does-the-fieldvalue-function-work/m-p/312887#M1178325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could do it similar to the e.g. finance controlling demo app on the QV demo site:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to create a table with your languages (INLINE table for demo, you could also load in form DB or an excel sheet:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;English, German&lt;/P&gt;&lt;P&gt;Hello, Hallo&lt;/P&gt;&lt;P&gt;This is a test, Dies ist ein Test&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you need to select the language e.g. from a Input box, assigning your Language variable, like you posted above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then, for any text element in your charts, you use an expression instead of the literal:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=fieldvalue($(vLanguage),2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where the 2 indicates the row you want to pick.&lt;/P&gt;&lt;P&gt;Caution: Since fieldvalue will use the index taken from the compressed columns of the internal data model, you need to take care that all column values are unique, but for a translation table, this should be no problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Above will return 'This is a test' if Language is English and 'Dies ist ein Test' if Language is German.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 11:40:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-does-the-fieldvalue-function-work/m-p/312887#M1178325</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-02-23T11:40:24Z</dc:date>
    </item>
    <item>
      <title>How does the fieldvalue function work</title>
      <link>https://community.qlik.com/t5/QlikView/How-does-the-fieldvalue-function-work/m-p/312888#M1178326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your response. I'm still having issues. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Firstly, how do you create variables/aliases when you load using inline? - did I mention that I am a Qlikview newbie? &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/plain.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure where I am going wrong exactly, I'll just write out a quick summary of my approach:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- created a vLanguage variable in the document settings tab "=chr(39) &amp;amp; Language &amp;amp; chr(39)&lt;/P&gt;&lt;P&gt;- Created an excel document with text in column A (A1 being the column header called 'Text', A2 &amp;amp; A3 containing the sample text)&lt;/P&gt;&lt;P&gt;- Load the excel file with the "text as Language" in the script&lt;/P&gt;&lt;P&gt;- Inserted a text box and put in the expression "=fieldvalue($(vLanguage),2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I get a null ("-") result in the text box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please advise on what am doing incorrectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Newbie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 12:39:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-does-the-fieldvalue-function-work/m-p/312888#M1178326</guid>
      <dc:creator />
      <dc:date>2012-02-23T12:39:38Z</dc:date>
    </item>
    <item>
      <title>Re: How does the fieldvalue function work</title>
      <link>https://community.qlik.com/t5/QlikView/How-does-the-fieldvalue-function-work/m-p/312889#M1178327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;// The structure of your language file should contain a column per language, where the column header contains the language ID or language name:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;English, German&lt;/P&gt;&lt;P&gt;Hello, Hallo&lt;/P&gt;&lt;P&gt;This is a test, Dies ist ein Test&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Then it is a advisable to create a separate table where the user can choose the language from, each value of field Language must match one the field names of your prev table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Languages:&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;Language&lt;/P&gt;&lt;P&gt;English&lt;/P&gt;&lt;P&gt;German&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Thats all it needs in the script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the front end, create a variable vLanguage in the variable overview:&lt;/P&gt;&lt;P&gt;=chr(39)&amp;amp;Language&amp;amp;chr(39)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then create a list box form field Language, select one Language and enter properties - general tab an select option 'Always one value selected'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's mostly it. For any text you need to translate, use an expression. For this example, create two text boxes:&lt;/P&gt;&lt;P&gt;=FieldValue($(vLanguage),1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=FieldValue($(vLanguage),2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first text box will print out a welcome text, the second the test text, translated in the selected language.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See also attached (if you are not on PE).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 14:14:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-does-the-fieldvalue-function-work/m-p/312889#M1178327</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-02-23T14:14:15Z</dc:date>
    </item>
    <item>
      <title>How does the fieldvalue function work</title>
      <link>https://community.qlik.com/t5/QlikView/How-does-the-fieldvalue-function-work/m-p/312890#M1178328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Got it!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks alot Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 14:47:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-does-the-fieldvalue-function-work/m-p/312890#M1178328</guid>
      <dc:creator />
      <dc:date>2012-02-23T14:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: How does the fieldvalue function work</title>
      <link>https://community.qlik.com/t5/QlikView/How-does-the-fieldvalue-function-work/m-p/312891#M1178329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Got it!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks alot Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Feb 2012 17:26:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-does-the-fieldvalue-function-work/m-p/312891#M1178329</guid>
      <dc:creator />
      <dc:date>2012-02-23T17:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: How does the fieldvalue function work</title>
      <link>https://community.qlik.com/t5/QlikView/How-does-the-fieldvalue-function-work/m-p/312892#M1178330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got this one, I need this translation in my application. But thing is that data in my database is in only one language. How to translate to different languages when i select the language. Pls help me to get ride of this problem. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jun 2014 11:43:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-does-the-fieldvalue-function-work/m-p/312892#M1178330</guid>
      <dc:creator>sateeshkumar</dc:creator>
      <dc:date>2014-06-09T11:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: How does the fieldvalue function work</title>
      <link>https://community.qlik.com/t5/QlikView/How-does-the-fieldvalue-function-work/m-p/312893#M1178331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Very Good explanation&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2016 05:57:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-does-the-fieldvalue-function-work/m-p/312893#M1178331</guid>
      <dc:creator>vikasmahajan</dc:creator>
      <dc:date>2016-06-23T05:57:32Z</dc:date>
    </item>
    <item>
      <title>Re: How does the fieldvalue function work</title>
      <link>https://community.qlik.com/t5/QlikView/How-does-the-fieldvalue-function-work/m-p/312894#M1178332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how to bring values ?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;This is a test, Dies ist ein Test&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;Vikas&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;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2016 05:58:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-does-the-fieldvalue-function-work/m-p/312894#M1178332</guid>
      <dc:creator>vikasmahajan</dc:creator>
      <dc:date>2016-06-23T05:58:17Z</dc:date>
    </item>
  </channel>
</rss>

