<?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: Set Analysis with a Variable in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Set-Analysis-with-a-Variable/m-p/1133538#M5334</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vMonthNr = &lt;STRONG&gt;Num&lt;/STRONG&gt;(Month('$(vFromDate)'))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;and take care that the variable definition shows a leading equal sign in front of the Num().&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 May 2016 12:15:22 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2016-05-24T12:15:22Z</dc:date>
    <item>
      <title>Set Analysis with a Variable</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Set-Analysis-with-a-Variable/m-p/1133537#M5333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the following set analysis and it fails to return the data.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;=Only({1&amp;lt;Month={"$(vMonthNr)"}&amp;gt;} Minutes)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Where: vMonthNr = Month('$(vFromDate)')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried to use a variable which has fixed value. in this case, It works perfectly. please see the expression bellow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Only({1&amp;lt;Month={"$(vMonth)"}&amp;gt;} Minutes)&lt;/P&gt;&lt;P&gt;where &lt;SPAN style="font-size: 13.3333px;"&gt;vMonth = 4&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The variable "vFromDate" takes its value from a calendar extension. and the field Minutes comes from this Data. &lt;/P&gt;&lt;P&gt;[Table1]:&lt;/P&gt;&lt;P&gt;LOAD * inline ["Month", "Minutes"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1, 12000,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2, 12600,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3, 12600,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4, 12600,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5, 12000,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6, 13200,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 7, 12600,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 8, 13800,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 9, 13200,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 10, 12000,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 11, 13200,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 12, 12600,];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the variable has a plain value it works but when the variable has an expression it does not works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2016 10:47:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Set-Analysis-with-a-Variable/m-p/1133537#M5333</guid>
      <dc:creator />
      <dc:date>2016-05-24T10:47:02Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with a Variable</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Set-Analysis-with-a-Variable/m-p/1133538#M5334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vMonthNr = &lt;STRONG&gt;Num&lt;/STRONG&gt;(Month('$(vFromDate)'))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;and take care that the variable definition shows a leading equal sign in front of the Num().&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2016 12:15:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Set-Analysis-with-a-Variable/m-p/1133538#M5334</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-05-24T12:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with a Variable</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Set-Analysis-with-a-Variable/m-p/1133539#M5335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot Stefan. it works pretty correct.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2016 12:36:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Set-Analysis-with-a-Variable/m-p/1133539#M5335</guid>
      <dc:creator />
      <dc:date>2016-05-24T12:36:21Z</dc:date>
    </item>
  </channel>
</rss>

