<?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 variable value based on other variable in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/variable-value-based-on-other-variable/m-p/1307865#M830850</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I want to change the variable value based on the value change in another variable.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;eg- I have conditional load-&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;if vSource = EMP then vFileName = Employee Data_12345.xlsx&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;if vSource = ORG then vFileName = Organisation Data_09876.xlsx&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I want to put vFileName in the from statement, instead of hardcoding the filename.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Similarly the few FIELD NAMES in each source may change in future, so i want to put the field names of each excel source in variable&lt;STRONG&gt;S&lt;/STRONG&gt; and show all variables in UI, so we can have a glance and if required change the field names in the variables. So the new set of field variables value should also be controlled based on value in vSource variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;The attached app is about same above example.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Please help.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator>surajap123</dc:creator>
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>variable value based on other variable</title>
      <link>https://community.qlik.com/t5/QlikView/variable-value-based-on-other-variable/m-p/1307865#M830850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I want to change the variable value based on the value change in another variable.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;eg- I have conditional load-&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;if vSource = EMP then vFileName = Employee Data_12345.xlsx&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;if vSource = ORG then vFileName = Organisation Data_09876.xlsx&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I want to put vFileName in the from statement, instead of hardcoding the filename.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Similarly the few FIELD NAMES in each source may change in future, so i want to put the field names of each excel source in variable&lt;STRONG&gt;S&lt;/STRONG&gt; and show all variables in UI, so we can have a glance and if required change the field names in the variables. So the new set of field variables value should also be controlled based on value in vSource variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;The attached app is about same above example.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Please help.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variable-value-based-on-other-variable/m-p/1307865#M830850</guid>
      <dc:creator>surajap123</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: variable value based on other variable</title>
      <link>https://community.qlik.com/t5/QlikView/variable-value-based-on-other-variable/m-p/1307866#M830851</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;You should use the value of the vFilename as below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(vSource= 'ORG',' Employee Data_12345.xlsx','Organisation Data_09876.xlsx')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Jun 2017 09:48:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variable-value-based-on-other-variable/m-p/1307866#M830851</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2017-06-17T09:48:33Z</dc:date>
    </item>
  </channel>
</rss>

