<?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: Adress field with variable in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Adress-field-with-variable/m-p/1331397#M29061</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A post from another user helped me to address the question. Using set Analysis did not work for me here, but this function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FieldValue($(vLanguage), FieldIndex('Expression_ID', 'Equity ratio'))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Jun 2017 16:41:32 GMT</pubDate>
    <dc:creator />
    <dc:date>2017-06-21T16:41:32Z</dc:date>
    <item>
      <title>Adress field with variable</title>
      <link>https://community.qlik.com/t5/App-Development/Adress-field-with-variable/m-p/1331392#M29056</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey everyone!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a question regarding a variable in a set expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My data structure is as follows: I have one table with KPIs per year per unit.&lt;/P&gt;&lt;P&gt;I have another table for the localisation of the app: It consists of one Expression_Id and a column for each language, f.e.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression_ID&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; de-de&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; en-us&lt;/P&gt;&lt;P&gt;Equity ratio&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Eigenkapitalquote&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Equity Ratio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where the Expression_Id equals the English version of the KPI name for the code to be understood much more easily.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Depending on a selection on language, I want QlikSense to show the name of the KPI from the column containing the name in the selected language. F.e. if the selected Language is de-de, QlikSense should show the German name of the KPI identified by the expression_ID from the column de-de.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have one variable, vLanguage (=Getfieldselections(Language).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To get the KPI name in the desired language, I use the following expression: &lt;/P&gt;&lt;P&gt;Only({$&amp;lt;Expression_ID={Equity ratio}&amp;gt;}$(vLanguage)), &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which return only the name of the selected language, but does not address the column in the language table whose name equals the selected language. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can somebody please advise how to address columns/fields based on variables?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kathy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jun 2017 10:12:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Adress-field-with-variable/m-p/1331392#M29056</guid>
      <dc:creator />
      <dc:date>2017-06-21T10:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: Adress field with variable</title>
      <link>https://community.qlik.com/t5/App-Development/Adress-field-with-variable/m-p/1331393#M29057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Only({$&amp;lt;Expression_ID={Equity ratio}&amp;gt;} &lt;SPAN style="color: #ff0000;"&gt;$(=Language)&lt;/SPAN&gt;)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note, I am not using vLanguage (your variable), but Language, you field name... I am assuming that one value will always be selected in this field (either English or German)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jun 2017 11:59:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Adress-field-with-variable/m-p/1331393#M29057</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-06-21T11:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: Adress field with variable</title>
      <link>https://community.qlik.com/t5/App-Development/Adress-field-with-variable/m-p/1331394#M29058</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thank you so much for your answer. I tried your Suggestion, but it does not work either. The Output is either '-' or the Name of the language (f.e. de-de), depending on my usage of Quotation marks &amp;amp; parentheses... &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jun 2017 12:34:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Adress-field-with-variable/m-p/1331394#M29058</guid>
      <dc:creator />
      <dc:date>2017-06-21T12:34:46Z</dc:date>
    </item>
    <item>
      <title>Re: Adress field with variable</title>
      <link>https://community.qlik.com/t5/App-Development/Adress-field-with-variable/m-p/1331395#M29059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;depends on your usage or Quotation marks and parentheses? Can you elaborate on this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jun 2017 15:23:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Adress-field-with-variable/m-p/1331395#M29059</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-06-21T15:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: Adress field with variable</title>
      <link>https://community.qlik.com/t5/App-Development/Adress-field-with-variable/m-p/1331396#M29060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sunny,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if I use it as you suggested I get "-", if I put parentheses around I get "de-de", which is the value of my variable. Both are not the desired Output, as I would like to address a field that is named as the variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any solution to this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I find it hard to imagine that no one else has ever addressed a field based on a variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jun 2017 15:46:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Adress-field-with-variable/m-p/1331396#M29060</guid>
      <dc:creator />
      <dc:date>2017-06-21T15:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: Adress field with variable</title>
      <link>https://community.qlik.com/t5/App-Development/Adress-field-with-variable/m-p/1331397#M29061</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A post from another user helped me to address the question. Using set Analysis did not work for me here, but this function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FieldValue($(vLanguage), FieldIndex('Expression_ID', 'Equity ratio'))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Jun 2017 16:41:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Adress-field-with-variable/m-p/1331397#M29061</guid>
      <dc:creator />
      <dc:date>2017-06-21T16:41:32Z</dc:date>
    </item>
  </channel>
</rss>

