<?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 Filtering a chart with API after retrieving Qlik Sense object in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Filtering-a-chart-with-API-after-retrieving-Qlik-Sense-object/m-p/1530156#M9853</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I'm trying to filter out a specific chart which is retrieved as qlik sense object. Once it is retrieved, I would like to filter out that particular chart&lt;SPAN&gt;&amp;nbsp;to select specific values in a field.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So far I've tried something like:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;app.getObject('MyAppNavigationToolbarDIVid', objctId).then(function () {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;app.field(columnName).selectValues(columnValue, false, true).then (function (reply){&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; });&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;} );&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But this happens to filter out all other chart&amp;nbsp;too.&amp;nbsp;Can anyone provide some insight or any help how to filter out for a particular chart only and not all the charts?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Shival&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 13 Aug 2021 19:12:09 GMT</pubDate>
    <dc:creator>shivalthaker26</dc:creator>
    <dc:date>2021-08-13T19:12:09Z</dc:date>
    <item>
      <title>Filtering a chart with API after retrieving Qlik Sense object</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Filtering-a-chart-with-API-after-retrieving-Qlik-Sense-object/m-p/1530156#M9853</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I'm trying to filter out a specific chart which is retrieved as qlik sense object. Once it is retrieved, I would like to filter out that particular chart&lt;SPAN&gt;&amp;nbsp;to select specific values in a field.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So far I've tried something like:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;app.getObject('MyAppNavigationToolbarDIVid', objctId).then(function () {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;app.field(columnName).selectValues(columnValue, false, true).then (function (reply){&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; });&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;} );&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But this happens to filter out all other chart&amp;nbsp;too.&amp;nbsp;Can anyone provide some insight or any help how to filter out for a particular chart only and not all the charts?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Shival&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 Aug 2021 19:12:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Filtering-a-chart-with-API-after-retrieving-Qlik-Sense-object/m-p/1530156#M9853</guid>
      <dc:creator>shivalthaker26</dc:creator>
      <dc:date>2021-08-13T19:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering a chart with API after retrieving Qlik Sense object</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Filtering-a-chart-with-API-after-retrieving-Qlik-Sense-object/m-p/1530293#M9856</link>
      <description>&lt;P&gt;Hi Shival,&lt;/P&gt;&lt;P&gt;The APIs work in the same way as if you were applying the function or property in Qlik Sense itself.&amp;nbsp; As such, all charts that you haven't defined to ignore selections by using set analysis will be affected by&amp;nbsp;the selection.&amp;nbsp; So, you'll need to change your app.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Richard&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jan 2019 08:21:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Filtering-a-chart-with-API-after-retrieving-Qlik-Sense-object/m-p/1530293#M9856</guid>
      <dc:creator>rbartley</dc:creator>
      <dc:date>2019-01-15T08:21:04Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering a chart with API after retrieving Qlik Sense object</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Filtering-a-chart-with-API-after-retrieving-Qlik-Sense-object/m-p/1530303#M9857</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/59967"&gt;@shivalthaker26&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;In Qlik Sense (and all other Qlik products), the selections&amp;nbsp;are on app level, there is no dedicated mechanism for visualizations, however, you should be able to use AlternateStates and apply selections in different states for different charts or set of charts using the capability API's and selectionState method.&lt;/P&gt;
&lt;P&gt;AFAIK, we do not have proper support for qState in the QApp.getObject method, so you will probably need to use&amp;nbsp;Visualization API create method for your visualizations and then send in, in the HyperCubeDef the qState property name.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;video explaining alternate state :&amp;nbsp;&lt;A href="https://help.qlik.com/sv-SE/video/LMMGAFgrnc8" target="_blank"&gt;https://help.qlik.com/sv-SE/video/LMMGAFgrnc8&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I hope this helps&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jan 2019 08:51:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Filtering-a-chart-with-API-after-retrieving-Qlik-Sense-object/m-p/1530303#M9857</guid>
      <dc:creator>Aiham_Azmeh</dc:creator>
      <dc:date>2019-01-15T08:51:16Z</dc:date>
    </item>
  </channel>
</rss>

