<?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: Sense - Input Box to Filter Table in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Sense-Input-Box-to-Filter-Table/m-p/1330168#M7500</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Meg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you want to do is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Define a variable in the load script. For example, Let vMbr = 0;&lt;/LI&gt;&lt;LI&gt;In the variable name property of the input box, refer to this variable. You need to type the variable name in single &lt;SPAN style="font-size: 13.3333px;"&gt;quotes.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/163215_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;In terms of other charts or tables in your app, you can use set analysis to handle the changes based on the input variables:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/163216_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 May 2017 18:46:38 GMT</pubDate>
    <dc:creator>sinanozdemir</dc:creator>
    <dc:date>2017-05-12T18:46:38Z</dc:date>
    <item>
      <title>Sense - Input Box to Filter Table</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Sense-Input-Box-to-Filter-Table/m-p/1330166#M7498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't seem to find the answer I need. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've installed this input box extension:&lt;/P&gt;&lt;P&gt;&lt;A href="http://branch.qlik.com/#!/project/56728f52d1e497241ae698a9" title="http://branch.qlik.com/#!/project/56728f52d1e497241ae698a9"&gt;Qlik Branch&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I set up a variable and am able to modify the variable by typing into the input box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to filter a table with the input data. I've tried a number of approaches and I just can't figure out where to put the logic. On Qlik Branch I see people have been able to do this. Once I figure it out, I'll put together a nice tutorial for other folks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 May 2017 15:51:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Sense-Input-Box-to-Filter-Table/m-p/1330166#M7498</guid>
      <dc:creator>megabyte23</dc:creator>
      <dc:date>2017-05-11T15:51:11Z</dc:date>
    </item>
    <item>
      <title>Re: Sense - Input Box to Filter Table</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Sense-Input-Box-to-Filter-Table/m-p/1330167#M7499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Input for variables provides you the ability to refer to the variables within expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For instance you are displaying a list of physicians and some data about encounters. Maybe you don't want to see doctors who have had less than revenue than some certain amount.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you deal with Measures you can simply refer to the value fields you want to compare to a variable directly like the following which says IF this dimensions Revenue is greater than the value I input to a varaible&amp;nbsp; ValueBasedVariable then display the fields amount (I've used two dummy fields as examples. Other wise the measure will be blank. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IF ( &lt;SPAN style="font-size: 13.3333px;"&gt;Sum(Price*Amount) &lt;/SPAN&gt;&amp;gt; $(ValueBasedVariable), Field1)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;IF ( &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Sum(Price*Amount) &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;gt; $(ValueBasedVariable), Field2)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;If you are wondering about why the syntax is $(ValueBasedVariable) that's called Dollar Sign Expansion and you can search that to find more details. &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;If you do something similar for Measures you can then set the AddOn property to say "Hide Zero Values" and voila the row won't show.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also refer to variables inside of Dimension fields but you have to do that slightly differently. You would need to use the AGGR function to roll up values to an in memory hyper cube of sorts based on that dimensions value. So the following rolls up the revenue by year, and would then check that particular row's Year dimension value in the hypercube is greater than the variable then put the Year value. Then you simply uncheck the flag that says "Show Null Values" so the years who's values don't qualify aren't shown. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=If( AGGR(Sum(Price*Amount), Year) &amp;gt; $(ValueBasedVariable) ,&amp;nbsp;&amp;nbsp;&amp;nbsp; Year)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2017 17:42:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Sense-Input-Box-to-Filter-Table/m-p/1330167#M7499</guid>
      <dc:creator>Dalton_Ruer</dc:creator>
      <dc:date>2017-05-12T17:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: Sense - Input Box to Filter Table</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Sense-Input-Box-to-Filter-Table/m-p/1330168#M7500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Meg,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you want to do is &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Define a variable in the load script. For example, Let vMbr = 0;&lt;/LI&gt;&lt;LI&gt;In the variable name property of the input box, refer to this variable. You need to type the variable name in single &lt;SPAN style="font-size: 13.3333px;"&gt;quotes.&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/163215_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;In terms of other charts or tables in your app, you can use set analysis to handle the changes based on the input variables:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/163216_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2017 18:46:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Sense-Input-Box-to-Filter-Table/m-p/1330168#M7500</guid>
      <dc:creator>sinanozdemir</dc:creator>
      <dc:date>2017-05-12T18:46:38Z</dc:date>
    </item>
    <item>
      <title>Re: Sense - Input Box to Filter Table</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Sense-Input-Box-to-Filter-Table/m-p/1330169#M7501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dalton, thank you for this great information. It will be useful down the road. Sinan is my colleague and knew what I was trying to accomplish and got to the answer. The filter is to narrow down to a single member in our population to query multiple data sources for a dashboard rather than the range, though I think I can use the AGGR method in other areas of the report.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2017 21:21:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Sense-Input-Box-to-Filter-Table/m-p/1330169#M7501</guid>
      <dc:creator>megabyte23</dc:creator>
      <dc:date>2017-05-12T21:21:06Z</dc:date>
    </item>
    <item>
      <title>Re: Sense - Input Box to Filter Table</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Sense-Input-Box-to-Filter-Table/m-p/1330170#M7502</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Sinan.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And to be more explicit for others, I wound up using:&lt;/P&gt;&lt;P&gt;=If(Len(Trim(vMbr))=0, [fieldMbr], $(vMbr))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will work on incorporating both solutions into a tutorial for the extension.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 May 2017 21:22:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Sense-Input-Box-to-Filter-Table/m-p/1330170#M7502</guid>
      <dc:creator>megabyte23</dc:creator>
      <dc:date>2017-05-12T21:22:43Z</dc:date>
    </item>
  </channel>
</rss>

