<?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 Set variable filter when requesting Qlik Cloud Reports API in Data Movement &amp; Streaming</title>
    <link>https://community.qlik.com/t5/Data-Movement-Streaming/Set-variable-filter-when-requesting-Qlik-Cloud-Reports-API/m-p/2512456#M3223</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Has anyone been able to set filters when requesting a Tabular report from the Reporting API? (&lt;A href="https://qlik.dev/embed/reports/reporting-api-samples/" target="_blank" rel="noopener"&gt;https://qlik.dev/embed/reports/reporting-api-samples/&lt;/A&gt;)&lt;/P&gt;
&lt;P&gt;The documentation on this page does not say anything about setting variable values, but&amp;nbsp;&lt;SPAN&gt;when I look at the API documentation for Qlik Reporting API, I&amp;nbsp;see this on line 559-565:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;type SelectionFilter = {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/** A map for applying soft properties, aka patches, to specific visualization IDs within the sheet. */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;patchesById?: Record&amp;lt;string, NxPatch[]&amp;gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/** Map of selections to apply by state. Maximum number of states allowed is 125. Maximum number of fields allowed is 125 and Maximum number of overall field values allowed is 150000. */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;selectionsByState?: Record&amp;lt;string, QSelection[]&amp;gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;variables?: unknown[];&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;};&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Source:&lt;/SPAN&gt; &lt;A class="DOgZOenwMQbHzVlKpcdwpsKlJNhiKoDGZrrVVbuM " tabindex="0" href="https://github.com/qlik-oss/qlik-api-ts/blob/main/reports.d.ts#L538" target="_blank" rel="noopener" data-test-app-aware-link=""&gt;https://github.com/qlik-oss/qlik-api-ts/blob/main/reports.d.ts#L538&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems that the variables part &lt;STRONG&gt;variables?: unknown[]&lt;/STRONG&gt; is probably possible but it is not documented yet on how it can be used. I have tried several ways to see if i can discover how to utitlize it, but i have not been able to do so.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="t-14 t-black--light t-normal pl1"&gt;Can anyone help with figuring out if this is possible at all? I want to set variable values before creating a report using the SenseExcelTemplate.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 01 Apr 2025 06:27:32 GMT</pubDate>
    <dc:creator>HenkTenk</dc:creator>
    <dc:date>2025-04-01T06:27:32Z</dc:date>
    <item>
      <title>Set variable filter when requesting Qlik Cloud Reports API</title>
      <link>https://community.qlik.com/t5/Data-Movement-Streaming/Set-variable-filter-when-requesting-Qlik-Cloud-Reports-API/m-p/2512456#M3223</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Has anyone been able to set filters when requesting a Tabular report from the Reporting API? (&lt;A href="https://qlik.dev/embed/reports/reporting-api-samples/" target="_blank" rel="noopener"&gt;https://qlik.dev/embed/reports/reporting-api-samples/&lt;/A&gt;)&lt;/P&gt;
&lt;P&gt;The documentation on this page does not say anything about setting variable values, but&amp;nbsp;&lt;SPAN&gt;when I look at the API documentation for Qlik Reporting API, I&amp;nbsp;see this on line 559-565:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;type SelectionFilter = {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/** A map for applying soft properties, aka patches, to specific visualization IDs within the sheet. */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;patchesById?: Record&amp;lt;string, NxPatch[]&amp;gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/** Map of selections to apply by state. Maximum number of states allowed is 125. Maximum number of fields allowed is 125 and Maximum number of overall field values allowed is 150000. */&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;selectionsByState?: Record&amp;lt;string, QSelection[]&amp;gt;;&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;variables?: unknown[];&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;};&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Source:&lt;/SPAN&gt; &lt;A class="DOgZOenwMQbHzVlKpcdwpsKlJNhiKoDGZrrVVbuM " tabindex="0" href="https://github.com/qlik-oss/qlik-api-ts/blob/main/reports.d.ts#L538" target="_blank" rel="noopener" data-test-app-aware-link=""&gt;https://github.com/qlik-oss/qlik-api-ts/blob/main/reports.d.ts#L538&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It seems that the variables part &lt;STRONG&gt;variables?: unknown[]&lt;/STRONG&gt; is probably possible but it is not documented yet on how it can be used. I have tried several ways to see if i can discover how to utitlize it, but i have not been able to do so.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="t-14 t-black--light t-normal pl1"&gt;Can anyone help with figuring out if this is possible at all? I want to set variable values before creating a report using the SenseExcelTemplate.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Apr 2025 06:27:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Movement-Streaming/Set-variable-filter-when-requesting-Qlik-Cloud-Reports-API/m-p/2512456#M3223</guid>
      <dc:creator>HenkTenk</dc:creator>
      <dc:date>2025-04-01T06:27:32Z</dc:date>
    </item>
  </channel>
</rss>

