<?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: Show condition with 2 variables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Show-condition-with-2-variables/m-p/892740#M529606</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it should work with 2 conditions which are connected with "and"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but other possibility would be to use a new variable which handles the state of your 2 bttuons&lt;/P&gt;&lt;P&gt;and the state you Need.&lt;/P&gt;&lt;P&gt;then us this new variable in your condition (newvar=1)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 17 Jul 2015 07:13:45 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-07-17T07:13:45Z</dc:date>
    <item>
      <title>Show condition with 2 variables</title>
      <link>https://community.qlik.com/t5/QlikView/Show-condition-with-2-variables/m-p/892736#M529602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;is it possible to set up the show conditional of a list box on 2 variables?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to set 2 variables with 2 different buttons and if there is the right combination the list box should appeare.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With just 1 variable it works easy, but how can I handle 2?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for helping&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2015 16:13:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-condition-with-2-variables/m-p/892736#M529602</guid>
      <dc:creator />
      <dc:date>2015-07-16T16:13:04Z</dc:date>
    </item>
    <item>
      <title>Re: Show condition with 2 variables</title>
      <link>https://community.qlik.com/t5/QlikView/Show-condition-with-2-variables/m-p/892737#M529603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try show condition with if statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Something like&amp;nbsp; =If($(vVar1)=1 and $(vVar2)=2,1,0)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2015 16:14:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-condition-with-2-variables/m-p/892737#M529603</guid>
      <dc:creator>qlikmsg4u</dc:creator>
      <dc:date>2015-07-16T16:14:37Z</dc:date>
    </item>
    <item>
      <title>Re: Show condition with 2 variables</title>
      <link>https://community.qlik.com/t5/QlikView/Show-condition-with-2-variables/m-p/892738#M529604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just a small example, listbox visible when condition on variables&amp;nbsp; v1, v2 is&lt;/P&gt;&lt;P&gt;v1 and v2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/93100_1.png" style="height: auto; width: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jul 2015 16:19:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-condition-with-2-variables/m-p/892738#M529604</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2015-07-16T16:19:10Z</dc:date>
    </item>
    <item>
      <title>Re: Show condition with 2 variables</title>
      <link>https://community.qlik.com/t5/QlikView/Show-condition-with-2-variables/m-p/892739#M529605</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've tested it and the more I think about it, the less sense makes it for me to use an if statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The normal usage of 'Show'&amp;nbsp; 'Conditional' is something like: put vVar1=1 in the field. In this case the Box is shown if the variable vVar1=1 it is not necessary to create an own if statement. But the Problem is, a connection with 'and' is also not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do u have any other ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 07:07:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-condition-with-2-variables/m-p/892739#M529605</guid>
      <dc:creator />
      <dc:date>2015-07-17T07:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: Show condition with 2 variables</title>
      <link>https://community.qlik.com/t5/QlikView/Show-condition-with-2-variables/m-p/892740#M529606</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it should work with 2 conditions which are connected with "and"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but other possibility would be to use a new variable which handles the state of your 2 bttuons&lt;/P&gt;&lt;P&gt;and the state you Need.&lt;/P&gt;&lt;P&gt;then us this new variable in your condition (newvar=1)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 07:13:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-condition-with-2-variables/m-p/892740#M529606</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-17T07:13:45Z</dc:date>
    </item>
    <item>
      <title>Re: Show condition with 2 variables</title>
      <link>https://community.qlik.com/t5/QlikView/Show-condition-with-2-variables/m-p/892741#M529607</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately, the example that you show does not work, because you've only used the variables, but it does not depend of the value of the variable. Just the existance of the variable is not sufficient. In addition, the connection with and, unfortunately, does not work. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/cry.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any other ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 07:15:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-condition-with-2-variables/m-p/892741#M529607</guid>
      <dc:creator />
      <dc:date>2015-07-17T07:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: Show condition with 2 variables</title>
      <link>https://community.qlik.com/t5/QlikView/Show-condition-with-2-variables/m-p/892742#M529608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it do not work with 2 conditions which are connected with 'and'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can u give me more details or a explicit example how u would handle 1 variable with 2 buttons?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 07:20:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-condition-with-2-variables/m-p/892742#M529608</guid>
      <dc:creator />
      <dc:date>2015-07-17T07:20:28Z</dc:date>
    </item>
    <item>
      <title>Re: Show condition with 2 variables</title>
      <link>https://community.qlik.com/t5/QlikView/Show-condition-with-2-variables/m-p/892743#M529609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vShow1 or &lt;SPAN style="font-size: 13.3333330154419px;"&gt;vShow2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;vShow1 and &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;vShow2&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 07:27:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-condition-with-2-variables/m-p/892743#M529609</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2015-07-17T07:27:19Z</dc:date>
    </item>
    <item>
      <title>Re: Show condition with 2 variables</title>
      <link>https://community.qlik.com/t5/QlikView/Show-condition-with-2-variables/m-p/892744#M529610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure what you mean by &lt;STRONG&gt;'Just the existance of the variable is not sufficient'&lt;/STRONG&gt;. And as you mentioned, &lt;STRONG&gt;If&lt;/STRONG&gt; condition is not required. If both the variables' values are numeric and something other than zero (0), then the condition becomes TRUE and the object will be visible.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you give more details like, what you are doing when the buttons are clicked etc. Upload a sample QVW for quick resolution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;KKR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 07:29:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-condition-with-2-variables/m-p/892744#M529610</guid>
      <dc:creator />
      <dc:date>2015-07-17T07:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: Show condition with 2 variables</title>
      <link>https://community.qlik.com/t5/QlikView/Show-condition-with-2-variables/m-p/892745#M529611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The first button set vVariable1=0 the second button set vVariable2=1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Listbox should be shown if there is the combination of vVariable1=0 and vVariable2=1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 07:34:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-condition-with-2-variables/m-p/892745#M529611</guid>
      <dc:creator />
      <dc:date>2015-07-17T07:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: Show condition with 2 variables</title>
      <link>https://community.qlik.com/t5/QlikView/Show-condition-with-2-variables/m-p/892746#M529612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;like the attached example?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 07:35:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-condition-with-2-variables/m-p/892746#M529612</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-17T07:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: Show condition with 2 variables</title>
      <link>https://community.qlik.com/t5/QlikView/Show-condition-with-2-variables/m-p/892747#M529613</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 know my example here is using fields and not variables but there is no reason why it shouldn't work with multiples.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum( {&amp;lt;_Metric#={2}&amp;gt;} _Metric#) and sum({&amp;lt;_MetricPeriod#={101}&amp;gt;}_MetricPeriod#)&lt;/P&gt;&lt;P&gt;I am using the above in a conditional show and it works like a charm&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oli&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 07:37:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-condition-with-2-variables/m-p/892747#M529613</guid>
      <dc:creator />
      <dc:date>2015-07-17T07:37:50Z</dc:date>
    </item>
    <item>
      <title>Re: Show condition with 2 variables</title>
      <link>https://community.qlik.com/t5/QlikView/Show-condition-with-2-variables/m-p/892748#M529614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In this case, you have to use IF condition like If(vVariable1=0 and vVariable2=1,1,0). If you don't want to use IF condition, then set the variable vVariable1 to some other number other than 0 (zero) when the button is clicked. Then you can simply use &lt;STRONG&gt;vVariable1 and vVariable2&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;KKR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 07:43:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-condition-with-2-variables/m-p/892748#M529614</guid>
      <dc:creator />
      <dc:date>2015-07-17T07:43:30Z</dc:date>
    </item>
    <item>
      <title>Re: Show condition with 2 variables</title>
      <link>https://community.qlik.com/t5/QlikView/Show-condition-with-2-variables/m-p/892749#M529615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi thx for that example, the idea is quiet good.... but... now the two buttons are no longer independent... and where have u done the combination of the Var1 and Var2 to create VNew?!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 07:46:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-condition-with-2-variables/m-p/892749#M529615</guid>
      <dc:creator />
      <dc:date>2015-07-17T07:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: Show condition with 2 variables</title>
      <link>https://community.qlik.com/t5/QlikView/Show-condition-with-2-variables/m-p/892750#M529616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;the problem is, I have to use vVariable1=0 ...if I change it, I have to change the whole structure of the document &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 07:49:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-condition-with-2-variables/m-p/892750#M529616</guid>
      <dc:creator />
      <dc:date>2015-07-17T07:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: Show condition with 2 variables</title>
      <link>https://community.qlik.com/t5/QlikView/Show-condition-with-2-variables/m-p/892751#M529617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;under tab Settings/variable overview you can define variables&lt;/P&gt;&lt;P&gt;in the example you will find the 3 variables V1, V2 and VNew&lt;/P&gt;&lt;P&gt;can you post your requirments for the 2 Buttons and variable? when the listbox should exactly Show and&lt;/P&gt;&lt;P&gt;when not&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;be Aware that these defining a variable here will not preserve the value if you&lt;/P&gt;&lt;P&gt;reduce your app with and save it&lt;/P&gt;&lt;P&gt;better: place the variable Definition in script&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 07:51:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-condition-with-2-variables/m-p/892751#M529617</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-17T07:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: Show condition with 2 variables</title>
      <link>https://community.qlik.com/t5/QlikView/Show-condition-with-2-variables/m-p/892752#M529618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then use&lt;STRONG&gt; If(vVariable1=0 and vVariable2=1,1,0)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;KKR&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 07:54:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-condition-with-2-variables/m-p/892752#M529618</guid>
      <dc:creator />
      <dc:date>2015-07-17T07:54:30Z</dc:date>
    </item>
    <item>
      <title>Re: Show condition with 2 variables</title>
      <link>https://community.qlik.com/t5/QlikView/Show-condition-with-2-variables/m-p/892753#M529619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;2 independent buttons. Button1 set vVar1=0. Button2 set vVar2=1. List Box should appeare if there is the combination of vVar1=0 and vVar2=1 else nothing to see.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 07:56:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-condition-with-2-variables/m-p/892753#M529619</guid>
      <dc:creator />
      <dc:date>2015-07-17T07:56:39Z</dc:date>
    </item>
    <item>
      <title>Re: Show condition with 2 variables</title>
      <link>https://community.qlik.com/t5/QlikView/Show-condition-with-2-variables/m-p/892754#M529620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;like the attached app?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 08:10:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-condition-with-2-variables/m-p/892754#M529620</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-07-17T08:10:37Z</dc:date>
    </item>
    <item>
      <title>Re: Show condition with 2 variables</title>
      <link>https://community.qlik.com/t5/QlikView/Show-condition-with-2-variables/m-p/892755#M529621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfect, thank you so much&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Jul 2015 08:16:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Show-condition-with-2-variables/m-p/892755#M529621</guid>
      <dc:creator />
      <dc:date>2015-07-17T08:16:15Z</dc:date>
    </item>
  </channel>
</rss>

