<?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: Setting and using variables in list selections in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Setting-and-using-variables-in-list-selections/m-p/690204#M1062874</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since the list of machines can change over the years or months, I would like to leave my datas like that and not create an intermediate table which will have to be changed by hand in Qlikview or Excel...&lt;/P&gt;&lt;P&gt;What I have now is something like that:&lt;/P&gt;&lt;P&gt;I would like somthing like this:&lt;/P&gt;&lt;P&gt;If(getselectionfield(DEPARTMENT)='vDepartment'), show me the valued of MACHINES that corresponds to the selected department ^^ I know it's not easy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Sep 2014 07:17:56 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-09-25T07:17:56Z</dc:date>
    <item>
      <title>Setting and using variables in list selections</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-and-using-variables-in-list-selections/m-p/690198#M1062868</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 have two different list selections on my sheet and the second one is connected to the first by a common field. In my example I have the different departments of the company in the first list and all the available machines in the second list. Each machine is located in a particular department.&lt;/P&gt;&lt;P&gt;When I select department A, only the machine available in that department are selectable. The matter is that the box is huge, therefore I would like the box to only show the machines corresponding to that department.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried different expressions like if(getselectionsfield(DEPARTMENT), MACHINES) or if(match(...) but it doesn't seems to work.&lt;/P&gt;&lt;P&gt;I looked up on the internet and it seems that variables could work, but I don't know how to define them and how to use them in the expression. I'm not even sure it will work &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 06:44:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-and-using-variables-in-list-selections/m-p/690198#M1062868</guid>
      <dc:creator />
      <dc:date>2014-09-25T06:44:59Z</dc:date>
    </item>
    <item>
      <title>Re: Setting and using variables in list selections</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-and-using-variables-in-list-selections/m-p/690199#M1062869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See this examples ... ¿is that you need?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 06:49:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-and-using-variables-in-list-selections/m-p/690199#M1062869</guid>
      <dc:creator>ecolomer</dc:creator>
      <dc:date>2014-09-25T06:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: Setting and using variables in list selections</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-and-using-variables-in-list-selections/m-p/690200#M1062870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try Hide Excluded in List box Properties-&amp;gt;General settings.then it will display only related data and other will be not seen.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 06:49:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-and-using-variables-in-list-selections/m-p/690200#M1062870</guid>
      <dc:creator />
      <dc:date>2014-09-25T06:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: Setting and using variables in list selections</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-and-using-variables-in-list-selections/m-p/690201#M1062871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can't open others files sorry &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 06:51:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-and-using-variables-in-list-selections/m-p/690201#M1062871</guid>
      <dc:creator />
      <dc:date>2014-09-25T06:51:54Z</dc:date>
    </item>
    <item>
      <title>Re: Setting and using variables in list selections</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-and-using-variables-in-list-selections/m-p/690202#M1062872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's what I have now, but the matter is that the selection list size s too big due to the amount of machines; therefore, I'm trying not to hide the values but rather delete them from the list selections. So when I change from department A to B, the machines that are shown in the second list selection are the only one that are situated in department B.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 06:54:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-and-using-variables-in-list-selections/m-p/690202#M1062872</guid>
      <dc:creator />
      <dc:date>2014-09-25T06:54:08Z</dc:date>
    </item>
    <item>
      <title>Re: Setting and using variables in list selections</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-and-using-variables-in-list-selections/m-p/690203#M1062873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure if we could achieve in list or not. But we can use straight table to achieve this.&lt;/P&gt;&lt;P&gt;You can create a straight table with dimension as Machine, add rowno() as expression. Then hide rowno expression in presentation property. You can also&amp;nbsp; remove caption in layout.&lt;/P&gt;&lt;P&gt;Now this will be similar to list with only related values and auto resize.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 07:09:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-and-using-variables-in-list-selections/m-p/690203#M1062873</guid>
      <dc:creator />
      <dc:date>2014-09-25T07:09:25Z</dc:date>
    </item>
    <item>
      <title>Re: Setting and using variables in list selections</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-and-using-variables-in-list-selections/m-p/690204#M1062874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Since the list of machines can change over the years or months, I would like to leave my datas like that and not create an intermediate table which will have to be changed by hand in Qlikview or Excel...&lt;/P&gt;&lt;P&gt;What I have now is something like that:&lt;/P&gt;&lt;P&gt;I would like somthing like this:&lt;/P&gt;&lt;P&gt;If(getselectionfield(DEPARTMENT)='vDepartment'), show me the valued of MACHINES that corresponds to the selected department ^^ I know it's not easy.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 07:17:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-and-using-variables-in-list-selections/m-p/690204#M1062874</guid>
      <dc:creator />
      <dc:date>2014-09-25T07:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Setting and using variables in list selections</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-and-using-variables-in-list-selections/m-p/690205#M1062875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=if(Department=GetFieldSelections(Department),Machine)&lt;/P&gt;&lt;P&gt;add this expression to Machine&amp;nbsp; List box.&lt;/P&gt;&lt;P&gt;This should work, but the list wont display nothing if department is not selected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 07:25:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-and-using-variables-in-list-selections/m-p/690205#M1062875</guid>
      <dc:creator />
      <dc:date>2014-09-25T07:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: Setting and using variables in list selections</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-and-using-variables-in-list-selections/m-p/690206#M1062876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh well weird, I tried something like that yesterday and it didn't work properly and now it works &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lots &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Sep 2014 07:31:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-and-using-variables-in-list-selections/m-p/690206#M1062876</guid>
      <dc:creator />
      <dc:date>2014-09-25T07:31:34Z</dc:date>
    </item>
  </channel>
</rss>

