<?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 Changing the value of a variable in a chart code in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Changing-the-value-of-a-variable-in-a-chart-code/m-p/2454804#M98352</link>
    <description>&lt;P&gt;Hello! I am currently trying to think of a solution to a problem I have and am open to all suggestions.&lt;/P&gt;
&lt;P&gt;I have a variable that I allow the user to set ($(Var)), and it affects visuals in some of my charts. I want some bars to not be affected, (multiplying the total value by the variable amount), if a certain requirement is met . I am currently thinking of changing the value of the variable to 1 inside of the chart code if the requirement is met but I do not know if you can change the value inside of the chart.&lt;/P&gt;
&lt;P&gt;If you can change inside, please let me know, if not and you have other suggestions please let me know as well. Thank you.&lt;/P&gt;</description>
    <pubDate>Tue, 21 May 2024 15:56:22 GMT</pubDate>
    <dc:creator>mcsmithums1</dc:creator>
    <dc:date>2024-05-21T15:56:22Z</dc:date>
    <item>
      <title>Changing the value of a variable in a chart code</title>
      <link>https://community.qlik.com/t5/App-Development/Changing-the-value-of-a-variable-in-a-chart-code/m-p/2454804#M98352</link>
      <description>&lt;P&gt;Hello! I am currently trying to think of a solution to a problem I have and am open to all suggestions.&lt;/P&gt;
&lt;P&gt;I have a variable that I allow the user to set ($(Var)), and it affects visuals in some of my charts. I want some bars to not be affected, (multiplying the total value by the variable amount), if a certain requirement is met . I am currently thinking of changing the value of the variable to 1 inside of the chart code if the requirement is met but I do not know if you can change the value inside of the chart.&lt;/P&gt;
&lt;P&gt;If you can change inside, please let me know, if not and you have other suggestions please let me know as well. Thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2024 15:56:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Changing-the-value-of-a-variable-in-a-chart-code/m-p/2454804#M98352</guid>
      <dc:creator>mcsmithums1</dc:creator>
      <dc:date>2024-05-21T15:56:22Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the value of a variable in a chart code</title>
      <link>https://community.qlik.com/t5/App-Development/Changing-the-value-of-a-variable-in-a-chart-code/m-p/2454828#M98355</link>
      <description>&lt;P&gt;If I understand your question correctly, you could use a Measure expression like:&lt;/P&gt;
&lt;PRE&gt;=Sum(Sales) * if(Category = 'Fruit', $(Var), 1)&lt;/PRE&gt;
&lt;P&gt;-Rob&lt;BR /&gt;&lt;A href="http://www.easyqlik.com" target="_blank" rel="noopener"&gt;http://www.easyqlik.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://masterssummit.com" target="_blank" rel="noopener"&gt;http://masterssummit.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://qlikviewcookbook.com" target="_blank" rel="noopener"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2024 16:43:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Changing-the-value-of-a-variable-in-a-chart-code/m-p/2454828#M98355</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2024-05-21T16:43:07Z</dc:date>
    </item>
  </channel>
</rss>

