<?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 Analysis syntax - nested functions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-syntax-nested-functions/m-p/1339994#M830351</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi folks, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an expression that looks like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=subfield(concat(DISTINCT{MLState&amp;lt;Date = {"$(='&amp;gt;=' &amp;amp; Min([Cal Date]) &amp;amp; '&amp;lt;=' &amp;amp; Max([Cal Date]))"}&amp;gt;}Date, ';', Date), ';', varEvrank)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It returns a single Date based on the users selection of varEvrank and [Cal Date]. It works perfectly if I paste this expression into a text box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to insert this subfield into another set analysis expression, so that I get a text box with all the relevant information for that Date. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=concat({MLState&amp;lt;Date = {'INSERT SUBFIELD&amp;nbsp; RESULT HERE'}&amp;gt;}ML.machname &amp;amp; ': ' &amp;amp; Details,';',Date)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No matter what I do the syntax is incorrect. I've tried so many different ways that I'm beginning to get very frustrated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Karen &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
    <dc:creator />
    <dc:date>2020-11-25T16:16:04Z</dc:date>
    <item>
      <title>Set Analysis syntax - nested functions</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-syntax-nested-functions/m-p/1339994#M830351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi folks, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an expression that looks like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=subfield(concat(DISTINCT{MLState&amp;lt;Date = {"$(='&amp;gt;=' &amp;amp; Min([Cal Date]) &amp;amp; '&amp;lt;=' &amp;amp; Max([Cal Date]))"}&amp;gt;}Date, ';', Date), ';', varEvrank)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It returns a single Date based on the users selection of varEvrank and [Cal Date]. It works perfectly if I paste this expression into a text box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to insert this subfield into another set analysis expression, so that I get a text box with all the relevant information for that Date. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=concat({MLState&amp;lt;Date = {'INSERT SUBFIELD&amp;nbsp; RESULT HERE'}&amp;gt;}ML.machname &amp;amp; ': ' &amp;amp; Details,';',Date)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No matter what I do the syntax is incorrect. I've tried so many different ways that I'm beginning to get very frustrated. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Karen &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-syntax-nested-functions/m-p/1339994#M830351</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis syntax - nested functions</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-syntax-nested-functions/m-p/1339995#M830352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Never mind! I've done it. At LAST. $(=subfield.....etc)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=concat({MLState&amp;lt;Date = {$(=subfield(concat(DISTINCT{MLState&amp;lt;Date = {"$(='&amp;gt;=' &amp;amp; Min([Cal Date]) &amp;amp; '&amp;lt;=' &amp;amp; Max([Cal Date]))"}&amp;gt;}Date, ';', Date), ';', varEvrank))}&amp;gt;}ML.machname &amp;amp; ': ' &amp;amp; Details,';',Date)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jun 2017 12:00:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-syntax-nested-functions/m-p/1339995#M830352</guid>
      <dc:creator />
      <dc:date>2017-06-22T12:00:05Z</dc:date>
    </item>
  </channel>
</rss>

