<?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: Change alternate state with button action in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Change-alternate-state-with-button-action/m-p/969563#M467284</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can also avoid the IF.&lt;/P&gt;&lt;P&gt;Put in vStateName either $, or [State1]...&lt;/P&gt;&lt;P&gt;Then you expression will be:&lt;/P&gt;&lt;P&gt; =Sum({$(vStateName)} Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Nov 2015 07:48:45 GMT</pubDate>
    <dc:creator>vincent_ardiet</dc:creator>
    <dc:date>2015-11-24T07:48:45Z</dc:date>
    <item>
      <title>Change alternate state with button action</title>
      <link>https://community.qlik.com/t5/QlikView/Change-alternate-state-with-button-action/m-p/969560#M467281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good day!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dear colleagues, in my model i have some pivot. it has default alternate state.&lt;/P&gt;&lt;P&gt;Also i have one button. Is there any way to add some action function for this button, which will change alternate state for this pivot, for example, for STATE1?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Nov 2015 07:22:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-alternate-state-with-button-action/m-p/969560#M467281</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-11-24T07:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: Change alternate state with button action</title>
      <link>https://community.qlik.com/t5/QlikView/Change-alternate-state-with-button-action/m-p/969561#M467282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think you can directly change the state of chart via a button action, but you can create several charts in different states and use a variable to show / hide these charts. Control this variable in your button action.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Nov 2015 07:29:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-alternate-state-with-button-action/m-p/969561#M467282</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-11-24T07:29:52Z</dc:date>
    </item>
    <item>
      <title>Re: Change alternate state with button action</title>
      <link>https://community.qlik.com/t5/QlikView/Change-alternate-state-with-button-action/m-p/969562#M467283</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;It is not possible to change the state of the sheet or objects dynamically, instead you can dynamically use the expression like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If(vStateName = 'State1', Sum({[State1]} Sales), Sum(Sales))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Nov 2015 07:40:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-alternate-state-with-button-action/m-p/969562#M467283</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2015-11-24T07:40:21Z</dc:date>
    </item>
    <item>
      <title>Re: Change alternate state with button action</title>
      <link>https://community.qlik.com/t5/QlikView/Change-alternate-state-with-button-action/m-p/969563#M467284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can also avoid the IF.&lt;/P&gt;&lt;P&gt;Put in vStateName either $, or [State1]...&lt;/P&gt;&lt;P&gt;Then you expression will be:&lt;/P&gt;&lt;P&gt; =Sum({$(vStateName)} Sales)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Nov 2015 07:48:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-alternate-state-with-button-action/m-p/969563#M467284</guid>
      <dc:creator>vincent_ardiet</dc:creator>
      <dc:date>2015-11-24T07:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: Change alternate state with button action</title>
      <link>https://community.qlik.com/t5/QlikView/Change-alternate-state-with-button-action/m-p/969564#M467285</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;Swuehl's approach is how i always approach this kind of thing&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H5 class="simple" style="padding-top: 8px; font-size: 20px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/H5&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Nov 2015 08:43:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Change-alternate-state-with-button-action/m-p/969564#M467285</guid>
      <dc:creator>Mark_Little</dc:creator>
      <dc:date>2015-11-24T08:43:01Z</dc:date>
    </item>
  </channel>
</rss>

