<?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: Filter (button?) that applies set expression? in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Filter-button-that-applies-set-expression/m-p/2437394#M97063</link>
    <description>&lt;P&gt;I suggest just to use the normal usability and providing the period/activities as selections and then the user selects the wanted views. It's not only simpler in the development/maintaining else also in the usability if no button/action magic is included.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 03 Apr 2024 13:01:28 GMT</pubDate>
    <dc:creator>marcus_sommer</dc:creator>
    <dc:date>2024-04-03T13:01:28Z</dc:date>
    <item>
      <title>Filter (button?) that applies set expression?</title>
      <link>https://community.qlik.com/t5/App-Development/Filter-button-that-applies-set-expression/m-p/2437076#M97057</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;On the sheet we have a simple user table that only has dimensions: Name, Email, User ID ...&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;There is also a KPI that has the following measure:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;Count({&amp;lt;[Standard Activity Period]={'Y'}, [Activity]={'Payment'}&amp;gt;} distinct [user_id])&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RoyBatty_0-1712092810988.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/163271i8AF76674A537541B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RoyBatty_0-1712092810988.png" alt="RoyBatty_0-1712092810988.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;Then we used the set expression that was used for the KPI to show me only those specific users in the &lt;EM&gt;users&lt;/EM&gt; &lt;EM&gt;table&lt;/EM&gt;.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;It looks like this:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;PRE&gt;&lt;SPAN class="HwtZe"&gt;=Aggr(&lt;BR /&gt;Only({&amp;lt;[Standard Activity Period]={'Y'}, [Activity]={'Payment'}&amp;gt;} distinct [user_id]), &lt;BR /&gt;[user_id]&lt;BR /&gt;)&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;We specified that for the "&lt;EM&gt;user_id&lt;/EM&gt;" column (dimension) of the &lt;EM&gt;users&lt;/EM&gt; &lt;EM&gt;table&lt;/EM&gt; and it works, everything is good, it only shows those specific users. However, is it possible to make a special filter/button, something that is "&lt;EM&gt;toggleable&lt;/EM&gt;": when we click on it to apply that set expression, when we click again to remove it?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;We tried with the "Button" element, with different types of actions to apply that set expression (as "value"), but nothing worked.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2024 21:35:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Filter-button-that-applies-set-expression/m-p/2437076#M97057</guid>
      <dc:creator>RoyBatty</dc:creator>
      <dc:date>2024-04-02T21:35:50Z</dc:date>
    </item>
    <item>
      <title>Re: Filter (button?) that applies set expression?</title>
      <link>https://community.qlik.com/t5/App-Development/Filter-button-that-applies-set-expression/m-p/2437394#M97063</link>
      <description>&lt;P&gt;I suggest just to use the normal usability and providing the period/activities as selections and then the user selects the wanted views. It's not only simpler in the development/maintaining else also in the usability if no button/action magic is included.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2024 13:01:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Filter-button-that-applies-set-expression/m-p/2437394#M97063</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2024-04-03T13:01:28Z</dc:date>
    </item>
  </channel>
</rss>

