<?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 Filter dimension when creating visualization on the fly in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Filter-dimension-when-creating-visualization-on-the-fly/m-p/1843088#M15688</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I'm trying to create a chart on the fly using the Visualization API and embed it on my web app. I'm&amp;nbsp; following the example here:&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/sense-developer/August2021/Subsystems/APIs/Content/Sense_ClientAPIs/CapabilityAPIs/VisualizationAPI/VisualizationAPI.htm" target="_self"&gt;Visualization API on the Fly&lt;/A&gt;&amp;nbsp;and using the movie dataset as presented &lt;A href="https://qlik.dev/tutorials/build-a-simple-mashup-using-capability-apis" target="_self"&gt;here&lt;/A&gt; as test case.&lt;/P&gt;&lt;P&gt;The code snippet below will create a chart showing the revenue per title (movie). This works as expected. However, I want to have additional control to automatically filter only specific titles. For example, I just want to see the revenue for the movie Avatar, and not the revenue for all the movies in the dataset.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Any ideas how this is done?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;app.visualization.create(
  'barchart',
  [
    "title",
    "=Sum(revenue)",
  ],
  {
    "showTitles": true,
    "title": "Net scores"
  }
).then(function(vis){
  vis.show("QV02");
});&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
    <pubDate>Wed, 06 Oct 2021 16:18:45 GMT</pubDate>
    <dc:creator>einmalistkeinmal</dc:creator>
    <dc:date>2021-10-06T16:18:45Z</dc:date>
    <item>
      <title>Filter dimension when creating visualization on the fly</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Filter-dimension-when-creating-visualization-on-the-fly/m-p/1843088#M15688</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I'm trying to create a chart on the fly using the Visualization API and embed it on my web app. I'm&amp;nbsp; following the example here:&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/sense-developer/August2021/Subsystems/APIs/Content/Sense_ClientAPIs/CapabilityAPIs/VisualizationAPI/VisualizationAPI.htm" target="_self"&gt;Visualization API on the Fly&lt;/A&gt;&amp;nbsp;and using the movie dataset as presented &lt;A href="https://qlik.dev/tutorials/build-a-simple-mashup-using-capability-apis" target="_self"&gt;here&lt;/A&gt; as test case.&lt;/P&gt;&lt;P&gt;The code snippet below will create a chart showing the revenue per title (movie). This works as expected. However, I want to have additional control to automatically filter only specific titles. For example, I just want to see the revenue for the movie Avatar, and not the revenue for all the movies in the dataset.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Any ideas how this is done?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;app.visualization.create(
  'barchart',
  [
    "title",
    "=Sum(revenue)",
  ],
  {
    "showTitles": true,
    "title": "Net scores"
  }
).then(function(vis){
  vis.show("QV02");
});&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Wed, 06 Oct 2021 16:18:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Filter-dimension-when-creating-visualization-on-the-fly/m-p/1843088#M15688</guid>
      <dc:creator>einmalistkeinmal</dc:creator>
      <dc:date>2021-10-06T16:18:45Z</dc:date>
    </item>
  </channel>
</rss>

