<?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 change chart values based button selection in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/change-chart-values-based-button-selection/m-p/1952882#M78573</link>
    <description>&lt;P&gt;Hello Members,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i am trying to display sales using tree map: dimension as "Country" measure&amp;nbsp;sum({&amp;lt;Month_Number= {"&amp;gt;=94"},Fraud_Type=&amp;gt;}sales). but i have Fraud_type column which has 'internal, External' values by default tree map should show internal sales and if i select external button values should change.&lt;/P&gt;
&lt;P&gt;can somebody help me.&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="image.png" style="width: 523px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/83551i879A4902BA8E6570/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 07 Jul 2022 13:45:30 GMT</pubDate>
    <dc:creator>Maddineni_S</dc:creator>
    <dc:date>2022-07-07T13:45:30Z</dc:date>
    <item>
      <title>change chart values based button selection</title>
      <link>https://community.qlik.com/t5/App-Development/change-chart-values-based-button-selection/m-p/1952882#M78573</link>
      <description>&lt;P&gt;Hello Members,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i am trying to display sales using tree map: dimension as "Country" measure&amp;nbsp;sum({&amp;lt;Month_Number= {"&amp;gt;=94"},Fraud_Type=&amp;gt;}sales). but i have Fraud_type column which has 'internal, External' values by default tree map should show internal sales and if i select external button values should change.&lt;/P&gt;
&lt;P&gt;can somebody help me.&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="image.png" style="width: 523px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/83551i879A4902BA8E6570/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2022 13:45:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/change-chart-values-based-button-selection/m-p/1952882#M78573</guid>
      <dc:creator>Maddineni_S</dc:creator>
      <dc:date>2022-07-07T13:45:30Z</dc:date>
    </item>
    <item>
      <title>Re: change chart values based button selection</title>
      <link>https://community.qlik.com/t5/App-Development/change-chart-values-based-button-selection/m-p/1952898#M78577</link>
      <description>&lt;P&gt;there are couple of ways of approaching this.&amp;nbsp; one way is:&lt;BR /&gt;cretae a variable like vFraudType.&amp;nbsp; in your expression add FraudType={'$(vFraudType)'}.&amp;nbsp; your buttons should set the variable to either Internal or External - whatever the values are.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;your variable should have a default value&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2022 14:05:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/change-chart-values-based-button-selection/m-p/1952898#M78577</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2022-07-07T14:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: change chart values based button selection</title>
      <link>https://community.qlik.com/t5/App-Development/change-chart-values-based-button-selection/m-p/1952900#M78578</link>
      <description>&lt;P&gt;what you can do to get it working is create 1 variables within the edit mode.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MartW_1-1657202769223.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/83554i36D4D8D61F02718D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MartW_1-1657202769223.png" alt="MartW_1-1657202769223.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;say vUpdate with a default value like Internal. then in the set analysis you can call that variable and update the messure&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;sum({&amp;lt;Month_Number= {"&amp;gt;=94"},Fraud_Type=$(vUpdate)&amp;gt;}sales)&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;then you need the buttons above to know that when you press one of then the&amp;nbsp;vUpdate variable needs to get updated. for this, within the button you can go to actions and navigation and create a new action. set it up just like the screenshot below and you are done&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MartW_0-1657202719364.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/83553i4B786ED27F902E47/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MartW_0-1657202719364.png" alt="MartW_0-1657202719364.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if this helped and or was the answer you are looking for, give it a like and accept this as the answer.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jul 2022 14:06:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/change-chart-values-based-button-selection/m-p/1952900#M78578</guid>
      <dc:creator>MartW</dc:creator>
      <dc:date>2022-07-07T14:06:37Z</dc:date>
    </item>
  </channel>
</rss>

