<?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: Switching between 2 variables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Switching-between-2-variables/m-p/1392482#M814677</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be create a variable trigger (From document properties Triggers tab) on vWeek to change to 0 onChange of vMonth? Is this what you want?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Sep 2017 14:23:08 GMT</pubDate>
    <dc:creator>vishsaggi</dc:creator>
    <dc:date>2017-09-11T14:23:08Z</dc:date>
    <item>
      <title>Switching between 2 variables</title>
      <link>https://community.qlik.com/t5/QlikView/Switching-between-2-variables/m-p/1392479#M814674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, dear Qlikers !&lt;/P&gt;&lt;P&gt;I have 2 variables - vWeek and vMonth and sliders for each. &lt;/P&gt;&lt;P&gt;The variables are used on a slider with values for sales per Week and per Month.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example if the user moves the slider&amp;nbsp; for vMonths to 100, &lt;BR /&gt;The visualizations will show all customers who have sales more than 100 per month. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And respectively, if the user moves the slider for vWeek to 10, it will show all customers who have sales per week more than 10. &lt;/P&gt;&lt;P&gt;As you can probably guess, for vWeek to show any visualizations, vMonth has to be 0, and for vMonth - vWeek has to be zero. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is how to make vWeek go to 0, if the user selects vMonth slider to 10. &lt;BR /&gt;I did a pop-up text box telling the user to select only 1 of the values. But this is bad user experience, to have pop ups with errors. &lt;BR /&gt;So i want to make it automatic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions ? &lt;BR /&gt;-Thanks&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/Switching-between-2-variables/m-p/1392479#M814674</guid>
      <dc:creator>tomovangel</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Switching between 2 variables</title>
      <link>https://community.qlik.com/t5/QlikView/Switching-between-2-variables/m-p/1392480#M814675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In Document Properties, Triggers, you can set up a Variable Event Trigger on each of your variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On Change of your variables, Add Action,External, Set Variable. Set the other variables to 0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 14:20:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Switching-between-2-variables/m-p/1392480#M814675</guid>
      <dc:creator>marcus_malinow</dc:creator>
      <dc:date>2017-09-11T14:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: Switching between 2 variables</title>
      <link>https://community.qlik.com/t5/QlikView/Switching-between-2-variables/m-p/1392481#M814676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could be possible using Triggers for first variable and OnChange to 0 using same variable as variable. But, How you are sliding to each from 0 -- etc.. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 14:22:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Switching-between-2-variables/m-p/1392481#M814676</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-09-11T14:22:19Z</dc:date>
    </item>
    <item>
      <title>Re: Switching between 2 variables</title>
      <link>https://community.qlik.com/t5/QlikView/Switching-between-2-variables/m-p/1392482#M814677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be create a variable trigger (From document properties Triggers tab) on vWeek to change to 0 onChange of vMonth? Is this what you want?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 14:23:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Switching-between-2-variables/m-p/1392482#M814677</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-09-11T14:23:08Z</dc:date>
    </item>
    <item>
      <title>Re: Switching between 2 variables</title>
      <link>https://community.qlik.com/t5/QlikView/Switching-between-2-variables/m-p/1392483#M814678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Go to Document properties-&amp;gt; Triggers -&amp;gt; Variable event trigger -&amp;gt;&amp;nbsp; select &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vMonth -&amp;gt; OnInput -&amp;gt; Add action-&amp;gt; External-&amp;gt;Set variable &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Variable : vWeek&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Value : 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Likewise you can set the trigger on &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vWeek to make the vMonth 0&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 14:24:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Switching-between-2-variables/m-p/1392483#M814678</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-09-11T14:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: Switching between 2 variables</title>
      <link>https://community.qlik.com/t5/QlikView/Switching-between-2-variables/m-p/1392484#M814679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have read, that Triggers aren't well accepted by , and it is bad practice to use it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But this is Exactly what I was looking for, I will mark your answer correct, I just want to see if there is any other way without triggers &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks man &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 14:29:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Switching-between-2-variables/m-p/1392484#M814679</guid>
      <dc:creator>tomovangel</dc:creator>
      <dc:date>2017-09-11T14:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: Switching between 2 variables</title>
      <link>https://community.qlik.com/t5/QlikView/Switching-between-2-variables/m-p/1392485#M814680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe too many triggers would be a bad practice but having fewer ones should be fine. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 14:39:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Switching-between-2-variables/m-p/1392485#M814680</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-09-11T14:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: Switching between 2 variables</title>
      <link>https://community.qlik.com/t5/QlikView/Switching-between-2-variables/m-p/1392486#M814681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;well, in Total i got 6 triggers, because i have 6 variables 3 for week and 3 for month. &lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;So I guess my performance will not drop down ?&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 14:41:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Switching-between-2-variables/m-p/1392486#M814681</guid>
      <dc:creator>tomovangel</dc:creator>
      <dc:date>2017-09-11T14:41:08Z</dc:date>
    </item>
    <item>
      <title>Re: Switching between 2 variables</title>
      <link>https://community.qlik.com/t5/QlikView/Switching-between-2-variables/m-p/1392487#M814682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Should be fine. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 14:49:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Switching-between-2-variables/m-p/1392487#M814682</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-09-11T14:49:05Z</dc:date>
    </item>
    <item>
      <title>Re: Switching between 2 variables</title>
      <link>https://community.qlik.com/t5/QlikView/Switching-between-2-variables/m-p/1392488#M814683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;okay, Thanks my man &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 14:57:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Switching-between-2-variables/m-p/1392488#M814683</guid>
      <dc:creator>tomovangel</dc:creator>
      <dc:date>2017-09-11T14:57:16Z</dc:date>
    </item>
    <item>
      <title>Re: Switching between 2 variables</title>
      <link>https://community.qlik.com/t5/QlikView/Switching-between-2-variables/m-p/1392489#M814684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Personally I tend to avoid trigger actions which change field selections as the user can find this confusing. Often I see applications where inexperienced developers have created such triggers to avoid issues which should be resolved within their data model. Setting variables via triggers is something which, if done carefully, can add a great deal of value to an application.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Sep 2017 15:26:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Switching-between-2-variables/m-p/1392489#M814684</guid>
      <dc:creator>marcus_malinow</dc:creator>
      <dc:date>2017-09-11T15:26:53Z</dc:date>
    </item>
  </channel>
</rss>

