<?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 If AND statement with a button in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/If-AND-statement-with-a-button/m-p/2009923#M83526</link>
    <description>&lt;P&gt;I need to create a button that has an and statement. It needs to be something like If(KPI=Revenue and Country = US,0,KPI)&lt;BR /&gt;&lt;BR /&gt;So essentially when looking at the list of KPI's the revenue would be 0 when US is selected. KPI and Country are both filters I have to the left and KPI populates my table. Is there a way to make that specific KPI 0 with country US when the button is selected. I only know how to make one field work with the button at a time.&lt;/P&gt;</description>
    <pubDate>Mon, 28 Nov 2022 18:42:20 GMT</pubDate>
    <dc:creator>qlikacct20</dc:creator>
    <dc:date>2022-11-28T18:42:20Z</dc:date>
    <item>
      <title>If AND statement with a button</title>
      <link>https://community.qlik.com/t5/App-Development/If-AND-statement-with-a-button/m-p/2009923#M83526</link>
      <description>&lt;P&gt;I need to create a button that has an and statement. It needs to be something like If(KPI=Revenue and Country = US,0,KPI)&lt;BR /&gt;&lt;BR /&gt;So essentially when looking at the list of KPI's the revenue would be 0 when US is selected. KPI and Country are both filters I have to the left and KPI populates my table. Is there a way to make that specific KPI 0 with country US when the button is selected. I only know how to make one field work with the button at a time.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Nov 2022 18:42:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-AND-statement-with-a-button/m-p/2009923#M83526</guid>
      <dc:creator>qlikacct20</dc:creator>
      <dc:date>2022-11-28T18:42:20Z</dc:date>
    </item>
    <item>
      <title>Re: If AND statement with a button</title>
      <link>https://community.qlik.com/t5/App-Development/If-AND-statement-with-a-button/m-p/2009960#M83528</link>
      <description>&lt;P&gt;Not sure why you are trying to use a button to essentially show a Value?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please check out a blog post I wrote called An Alternative to Alternatives in which I show you how to define "islands" for what you are trying to do. You simply create a simple INLINE script for your KPI's that include a name to show in a filter, and the formula you wish to use.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://qlikdork.com/2020/12/an-alternative-to-alternatives/" target="_blank"&gt;http://qlikdork.com/2020/12/an-alternative-to-alternatives/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Nov 2022 20:03:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-AND-statement-with-a-button/m-p/2009960#M83528</guid>
      <dc:creator>Dalton_Ruer</dc:creator>
      <dc:date>2022-11-28T20:03:04Z</dc:date>
    </item>
    <item>
      <title>Re: If AND statement with a button</title>
      <link>https://community.qlik.com/t5/App-Development/If-AND-statement-with-a-button/m-p/2009962#M83529</link>
      <description>&lt;P&gt;Because the table is already created with the KPIs and dimensions that need to be shown. I am creating the button because I want the data to 0 out for a certain KPI only when the country is selected. I figure the best way to do this is with a button. This cannot be done with the filters because I need the country filter to work for all KPI's when the US is not selected. I specifically just want the Revenue KPI only to be updated when Country US is selected.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Nov 2022 20:08:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/If-AND-statement-with-a-button/m-p/2009962#M83529</guid>
      <dc:creator>qlikacct20</dc:creator>
      <dc:date>2022-11-28T20:08:25Z</dc:date>
    </item>
  </channel>
</rss>

