<?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 &amp;quot;Set Analysis With Parameters&amp;quot; as a Definition in Inline in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/quot-Set-Analysis-With-Parameters-quot-as-a-Definition-in-Inline/m-p/1433758#M430948</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;I am Dynamically displaying Expressions/ Measures in Charts based on User Selection thru Subfield Feature and an&amp;nbsp; Inline table with one of the column holding the definition of the expression.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;The Problem what I am facing here is when I try to use the Set Analysis with Multiple parameters as part of the expression definition, in inline table load script, it is not working, throwing error . But when I use the same definition outside the inline table and in the chart it works fine.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;This problem happens only for the Set Analysis with multiple parameters. Set Analysis with single parameters works fine.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;The Set Analysis definition which I am using in the Inline table is&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 14pt;"&gt;Measures:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 14pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt;"&gt;&lt;STRONG style=": ; color: #0000ff;"&gt;LOAD&lt;/STRONG&gt; * &lt;SPAN style="color: #0000ff;"&gt;INLINE&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;&lt;SPAN style="font-size: 14pt;"&gt;[&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 14pt;"&gt; OrderID, Measures,MeasureEquation&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 14pt;"&gt; 1, NPV, Sum( { &amp;lt;PeriodId= {"&amp;lt;=$(=max(PeriodID))&amp;gt;=$(=($(=Max(PeriodID))-2))"}, &lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Run Date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = &lt;/SPAN&gt; &amp;gt; } NPV) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;in the above, if add the parameter &lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Run Date]&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt; =&lt;/SPAN&gt; , it is not accepting, other parameter being accepted.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; Please help me to fix this issue &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Dec 2017 20:00:32 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-12-05T20:00:32Z</dc:date>
    <item>
      <title>"Set Analysis With Parameters" as a Definition in Inline</title>
      <link>https://community.qlik.com/t5/QlikView/quot-Set-Analysis-With-Parameters-quot-as-a-Definition-in-Inline/m-p/1433758#M430948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;I am Dynamically displaying Expressions/ Measures in Charts based on User Selection thru Subfield Feature and an&amp;nbsp; Inline table with one of the column holding the definition of the expression.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;The Problem what I am facing here is when I try to use the Set Analysis with Multiple parameters as part of the expression definition, in inline table load script, it is not working, throwing error . But when I use the same definition outside the inline table and in the chart it works fine.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;This problem happens only for the Set Analysis with multiple parameters. Set Analysis with single parameters works fine.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;The Set Analysis definition which I am using in the Inline table is&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN style="font-size: 14pt;"&gt;Measures:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 14pt;"&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 14pt;"&gt;&lt;STRONG style=": ; color: #0000ff;"&gt;LOAD&lt;/STRONG&gt; * &lt;SPAN style="color: #0000ff;"&gt;INLINE&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;&lt;SPAN style="font-size: 14pt;"&gt;[&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 14pt;"&gt; OrderID, Measures,MeasureEquation&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-size: 14pt;"&gt; 1, NPV, Sum( { &amp;lt;PeriodId= {"&amp;lt;=$(=max(PeriodID))&amp;gt;=$(=($(=Max(PeriodID))-2))"}, &lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Run Date]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; = &lt;/SPAN&gt; &amp;gt; } NPV) &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;in the above, if add the parameter &lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[Run Date]&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt; =&lt;/SPAN&gt; , it is not accepting, other parameter being accepted.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; Please help me to fix this issue &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2017 20:00:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quot-Set-Analysis-With-Parameters-quot-as-a-Definition-in-Inline/m-p/1433758#M430948</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-05T20:00:32Z</dc:date>
    </item>
    <item>
      <title>Re: "Set Analysis With Parameters" as a Definition in Inline</title>
      <link>https://community.qlik.com/t5/QlikView/quot-Set-Analysis-With-Parameters-quot-as-a-Definition-in-Inline/m-p/1433759#M430949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does it need to be inline? I couldn't get it to work either (due to the comma and dollar signs) but when I put it into an external file I did.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD OrderID,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Measures,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MeasureEquation&lt;SPAN style="font-size: 13.3333px;"&gt; &amp;amp; Chr(44) &amp;amp; SecondPart as FullEquation&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[Thread284103.csv]&lt;/P&gt;&lt;P&gt;(txt, codepage is 1252, embedded labels, delimiter is ',', msq);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where the csv file is:&lt;/P&gt;&lt;P&gt;OrderID, Measures,MeasureEquation, Second&lt;/P&gt;&lt;P&gt;1, NPV, Sum( { &amp;lt;PeriodId= {"&amp;lt;=$(=max(PeriodID))&amp;gt;=$(=($(=Max(PeriodID))-2))"}, [Run Date] = &amp;gt; } NPV)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit: BTW, I didn't bother with the extra "$(" and ")" in the greater than half of your expression...but it should probably be something like: &lt;SPAN style="font-size: 13.3333px;"&gt;PeriodId= {"&amp;lt;=$(=max(PeriodID))&amp;gt;=$(=Max(PeriodID)-2)"}&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2017 21:02:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quot-Set-Analysis-With-Parameters-quot-as-a-Definition-in-Inline/m-p/1433759#M430949</guid>
      <dc:creator>johnca</dc:creator>
      <dc:date>2017-12-05T21:02:01Z</dc:date>
    </item>
    <item>
      <title>Re: "Set Analysis With Parameters" as a Definition in Inline</title>
      <link>https://community.qlik.com/t5/QlikView/quot-Set-Analysis-With-Parameters-quot-as-a-Definition-in-Inline/m-p/1433760#M430950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be try this?&lt;/P&gt;&lt;P&gt;= Sum({&amp;lt; PeriodId = {" $(= '&amp;gt;='&amp;amp;Max(PeriodID)-2&amp;amp;'&amp;lt;='Max(PeriodID))"}, [Run Date]= &amp;gt;} NPV)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2017 21:03:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quot-Set-Analysis-With-Parameters-quot-as-a-Definition-in-Inline/m-p/1433760#M430950</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-12-05T21:03:55Z</dc:date>
    </item>
    <item>
      <title>Re: "Set Analysis With Parameters" as a Definition in Inline</title>
      <link>https://community.qlik.com/t5/QlikView/quot-Set-Analysis-With-Parameters-quot-as-a-Definition-in-Inline/m-p/1433761#M430951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks John Cavoulas. I have used CSV Option to resolve my issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I too tried with using Variable in the Inline statement, but it didn't work either way. Don't know why.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for pointing out extra "$(" and ")". I have removed those and used corrected expression in the CSV&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Dec 2017 20:11:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quot-Set-Analysis-With-Parameters-quot-as-a-Definition-in-Inline/m-p/1433761#M430951</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-06T20:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: "Set Analysis With Parameters" as a Definition in Inline</title>
      <link>https://community.qlik.com/t5/QlikView/quot-Set-Analysis-With-Parameters-quot-as-a-Definition-in-Inline/m-p/1433762#M430952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please mark the discussion as "answered Correct". I am not getting that option in the Actions&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Dec 2017 20:13:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quot-Set-Analysis-With-Parameters-quot-as-a-Definition-in-Inline/m-p/1433762#M430952</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-12-06T20:13:11Z</dc:date>
    </item>
    <item>
      <title>Re: "Set Analysis With Parameters" as a Definition in Inline</title>
      <link>https://community.qlik.com/t5/QlikView/quot-Set-Analysis-With-Parameters-quot-as-a-Definition-in-Inline/m-p/1433763#M430953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It doesn't appear to me either. It was clearly marked as a question as it shows "Not Answered" in bold red. I'm logged so that's not it either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, glad it helped. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The other possible solution will still break though in as much as it has an additional comma in it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;V/r,&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Dec 2017 20:46:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/quot-Set-Analysis-With-Parameters-quot-as-a-Definition-in-Inline/m-p/1433763#M430953</guid>
      <dc:creator>johnca</dc:creator>
      <dc:date>2017-12-06T20:46:10Z</dc:date>
    </item>
  </channel>
</rss>

