<?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: Stuck with only function in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Stuck-with-only-function/m-p/734466#M1073271</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Evan that really helps is it possible to do it in a way that the code doesn't show&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Sarah &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Aug 2014 10:07:51 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-08-08T10:07:51Z</dc:date>
    <item>
      <title>Stuck with only function</title>
      <link>https://community.qlik.com/t5/QlikView/Stuck-with-only-function/m-p/734463#M1073268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys wondering if you might be able to help me&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a translation table in excel and im currently using the only function to get out the English and Swiss translations using this formula : &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Only({&amp;lt;Code=[Trans}&amp;gt;}{$=vLanguage]) .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's an example below of the excel source file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code&amp;nbsp;&amp;nbsp;&amp;nbsp; English&amp;nbsp; Swiss&lt;/P&gt;&lt;P&gt;Trans1&amp;nbsp; Other&amp;nbsp;&amp;nbsp; Anderes&lt;BR /&gt; &lt;/P&gt;&lt;P&gt;Trans2&amp;nbsp; Test&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; skss&lt;/P&gt;&lt;P&gt;Trans 3 Hello dsksk&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've got it to work for headers but I was trying to create a table with one field so should look like :&lt;/P&gt;&lt;P&gt;Swiss&lt;/P&gt;&lt;P&gt;Anderas&lt;/P&gt;&lt;P&gt;skss&lt;/P&gt;&lt;P&gt;dsksk&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to do that and if so whats the easiest way ?&lt;/P&gt;&lt;P&gt;I've looked at inline tables but was wondering if there was an easier way which would have less changes if we needed to add a new country. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks very much Sarah &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Aug 2014 15:26:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stuck-with-only-function/m-p/734463#M1073268</guid>
      <dc:creator />
      <dc:date>2014-08-07T15:26:11Z</dc:date>
    </item>
    <item>
      <title>Re: Stuck with only function</title>
      <link>https://community.qlik.com/t5/QlikView/Stuck-with-only-function/m-p/734464#M1073269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Sarah,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;You could try switching to a "vertical" vs. "horizontal" table format ( meaning your table doesn't add columns or grow any wider based on adding 1... &lt;EM&gt;n&lt;/EM&gt; languages)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Try a field structure like:&lt;/P&gt;&lt;P&gt;Code&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | Language | Text&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | English&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | Hello&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | French&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | Bon Jour&lt;/P&gt;&lt;P&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | English&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | Goodbye&lt;/P&gt;&lt;P&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | French&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; | Adieu&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Then the Only() expressions can be set up like this throughout the UI:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;=Only(&amp;nbsp; {&amp;lt;Code={1},Language={'$(=MaxString(Language))'}&amp;gt;} Text)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="63967" alt="20140807_language_translation.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/63967_20140807_language_translation.png" style="width: 620px; height: 71px;" /&gt;&lt;/P&gt;&lt;P&gt;Add a listbox or selection vector for the field [Language], then when the end-user selects a different entry, translation will occur.&amp;nbsp; I wrap the set-analysis with MaxString() in the event that there are no selections in the field [Language], that it will always evaluate to at least one, but you could probably adjust the "default language" logic to your needs.&amp;nbsp; &lt;EM&gt;(that way you are not locked in to using the AlwaysOneSelected feature.&amp;nbsp; A great feature, but tends to become detached when the data model is emptied, meaning you're unexpectedly having to reset it.&amp;nbsp; With the method above, it will still show a single translation even if multiple values in [Language] are possible).&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Aug 2014 16:17:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stuck-with-only-function/m-p/734464#M1073269</guid>
      <dc:creator>evan_kurowski</dc:creator>
      <dc:date>2014-08-07T16:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: Stuck with only function</title>
      <link>https://community.qlik.com/t5/QlikView/Stuck-with-only-function/m-p/734465#M1073270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Btw, I was just imagining a scenario in which someone was presenting an application to a multi-cultural assembly (Sales demo, or global meeting or something).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you use the CONCAT() function in place of ONLY(), there would be no reason to limit translations to a single language, you could show multiple languages side by side and accommodate your entire audience. (Just remember to leave room for multiple entries to render).&lt;/P&gt;&lt;P&gt;&lt;IMG alt="20140807_language_translation_02.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/63977_20140807_language_translation_02.png" style="max-width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Aug 2014 17:24:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stuck-with-only-function/m-p/734465#M1073270</guid>
      <dc:creator>evan_kurowski</dc:creator>
      <dc:date>2014-08-07T17:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: Stuck with only function</title>
      <link>https://community.qlik.com/t5/QlikView/Stuck-with-only-function/m-p/734466#M1073271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Evan that really helps is it possible to do it in a way that the code doesn't show&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Sarah &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Aug 2014 10:07:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stuck-with-only-function/m-p/734466#M1073271</guid>
      <dc:creator />
      <dc:date>2014-08-08T10:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Stuck with only function</title>
      <link>https://community.qlik.com/t5/QlikView/Stuck-with-only-function/m-p/734467#M1073272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure Sarah,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll attach the app so you have the example to work with.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="20140807_language_translation_03.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/64035_20140807_language_translation_03.png" style="width: 620px; height: 131px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Aug 2014 14:10:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Stuck-with-only-function/m-p/734467#M1073272</guid>
      <dc:creator>evan_kurowski</dc:creator>
      <dc:date>2014-08-08T14:10:41Z</dc:date>
    </item>
  </channel>
</rss>

