<?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: conditionally view an expression in a chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/conditionally-view-an-expression-in-a-chart/m-p/397635#M148108</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;im new to qlikview so i need few more details&lt;/P&gt;&lt;P&gt;can u tell me to create a variable and assign it to a button &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 02 Dec 2012 15:13:41 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-12-02T15:13:41Z</dc:date>
    <item>
      <title>conditionally view an expression in a chart</title>
      <link>https://community.qlik.com/t5/QlikView/conditionally-view-an-expression-in-a-chart/m-p/397633#M148106</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have a chart which has three expressions. i would like to know how to conditionally view one of the three expressions on the chart when a button is selected &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Dec 2012 14:28:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/conditionally-view-an-expression-in-a-chart/m-p/397633#M148106</guid>
      <dc:creator />
      <dc:date>2012-12-02T14:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: conditionally view an expression in a chart</title>
      <link>https://community.qlik.com/t5/QlikView/conditionally-view-an-expression-in-a-chart/m-p/397634#M148107</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can group the three expressions in the Expression tab of the properties screen. You can then select in the chart which expression should be shown. That way you don't need a button. If you want to use buttons instead you can use a variable (e.g. v_ShowExp). Add actions to the buttons to set the value of the variable (e.g set variable v_ShowExp to value 'Exp1'). The conditional display expression of the chart expression can use the variable to determine if the expression should be shown or not (e.g. for the first expression if($(v_ShowExp)='Exp1',1,0). &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Dec 2012 14:36:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/conditionally-view-an-expression-in-a-chart/m-p/397634#M148107</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2012-12-02T14:36:36Z</dc:date>
    </item>
    <item>
      <title>Re: conditionally view an expression in a chart</title>
      <link>https://community.qlik.com/t5/QlikView/conditionally-view-an-expression-in-a-chart/m-p/397635#M148108</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;im new to qlikview so i need few more details&lt;/P&gt;&lt;P&gt;can u tell me to create a variable and assign it to a button &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Dec 2012 15:13:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/conditionally-view-an-expression-in-a-chart/m-p/397635#M148108</guid>
      <dc:creator />
      <dc:date>2012-12-02T15:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: conditionally view an expression in a chart</title>
      <link>https://community.qlik.com/t5/QlikView/conditionally-view-an-expression-in-a-chart/m-p/397636#M148109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Open the Variable screen via the menu Settings-&amp;gt;Variable Overview (or CTRL+ALT+V) and add the variable&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="26252" class="jive-image-thumbnail jive-image" onclick="" alt="qv_add_variable.png" src="https://community.qlik.com/legacyfs/online/26252_qv_add_variable.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;Add a button and on the Actions tab add an action to the button. Choose External, Set Variable&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="26253" class="jive-image-thumbnail jive-image" onclick="" alt="qv_add_button_action_1.png" src="https://community.qlik.com/legacyfs/online/26253_qv_add_button_action_1.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;Set the variable to the new variable you created and set the value to a string&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="26254" class="jive-image-thumbnail jive-image" onclick="" alt="qv_add_button_action_2.png" src="https://community.qlik.com/legacyfs/online/26254_qv_add_button_action_2.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;Set the expression for the conditional display to &lt;STRONG&gt;if($(v_ShowExp)='Exp1',1,0)&lt;/STRONG&gt;. This checks if the value of the variable is 'Exp1'. If it is return 1 (meaning True) to show the expression, otherwise return 0 (meaning False) and hide the expression&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="26255" class="jive-image-thumbnail jive-image" onclick="" alt="qv_add_conditional_to_expression.png" src="https://community.qlik.com/legacyfs/online/26255_qv_add_conditional_to_expression.png" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Dec 2012 15:59:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/conditionally-view-an-expression-in-a-chart/m-p/397636#M148109</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2012-12-02T15:59:24Z</dc:date>
    </item>
  </channel>
</rss>

