<?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: Set input variable default value depending on Field. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-input-variable-default-value-depending-on-Field/m-p/115733#M17809</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do you get the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;USER.CORRESPONDANCE_LANGUAGE field equal to DE?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use a trigger on the post reload to get the value from the variable and select it on your data model once the reload is done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the following code to get to the selection:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set USER.CORRESPONDANCE_LANGUAGE=DE;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;Lang&lt;/P&gt;&lt;P&gt;DE&lt;/P&gt;&lt;P&gt;EN&lt;/P&gt;&lt;P&gt;PT&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="sample.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/211639_sample.png" style="height: 496px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Aug 2018 14:49:31 GMT</pubDate>
    <dc:creator>felipedl</dc:creator>
    <dc:date>2018-08-23T14:49:31Z</dc:date>
    <item>
      <title>Set input variable default value depending on Field.</title>
      <link>https://community.qlik.com/t5/QlikView/Set-input-variable-default-value-depending-on-Field/m-p/115731#M17807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an input variable X with possible values 'EN' and 'DE'. User shall have to select a value.&lt;/P&gt;&lt;P&gt;Now if field USER.CORRESPONDANCE_LANGUAGE is DE, X should be 'DE' by default. Still, the user shall have the possibility to select 'EN' instead, or switch between both values in the input box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How is this possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx - Marcel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2018 11:59:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-input-variable-default-value-depending-on-Field/m-p/115731#M17807</guid>
      <dc:creator>hugmarcel</dc:creator>
      <dc:date>2018-08-23T11:59:10Z</dc:date>
    </item>
    <item>
      <title>Re: Set input variable default value depending on Field.</title>
      <link>https://community.qlik.com/t5/QlikView/Set-input-variable-default-value-depending-on-Field/m-p/115732#M17808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are using IE and the plugin, you can assign the default variable value in the Document|OnOpen trigger.&lt;/P&gt;&lt;P&gt;You could still have an Input Box allowing the user to select values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2018 14:42:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-input-variable-default-value-depending-on-Field/m-p/115732#M17808</guid>
      <dc:creator>m_woolf</dc:creator>
      <dc:date>2018-08-23T14:42:09Z</dc:date>
    </item>
    <item>
      <title>Re: Set input variable default value depending on Field.</title>
      <link>https://community.qlik.com/t5/QlikView/Set-input-variable-default-value-depending-on-Field/m-p/115733#M17809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marcel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do you get the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;USER.CORRESPONDANCE_LANGUAGE field equal to DE?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use a trigger on the post reload to get the value from the variable and select it on your data model once the reload is done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the following code to get to the selection:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set USER.CORRESPONDANCE_LANGUAGE=DE;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load * Inline&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;Lang&lt;/P&gt;&lt;P&gt;DE&lt;/P&gt;&lt;P&gt;EN&lt;/P&gt;&lt;P&gt;PT&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="sample.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/211639_sample.png" style="height: 496px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2018 14:49:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-input-variable-default-value-depending-on-Field/m-p/115733#M17809</guid>
      <dc:creator>felipedl</dc:creator>
      <dc:date>2018-08-23T14:49:31Z</dc:date>
    </item>
  </channel>
</rss>

