<?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 syntax in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-syntax/m-p/275489#M582782</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First things first. Your set analysis is wrong in both expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the following.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;sum({&amp;lt;Measure={'ActiveHistory'},ExtractDate={"$(=max({&amp;lt;KPI={'FTE'}&amp;gt;} UploadDate))"}&amp;gt;} FTE)&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;and &lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;Count({&amp;lt;Measure={'Vacancies'},ExtractDate={"$(=max({&amp;lt;KPI={'Vacancies'}&amp;gt;} UploadDate))"}&amp;gt;} Measure)&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;Secondly, how do you want to use the sexond expression? Do you want to integrate the second expression in the set analysis part of the first expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do clarify,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Abhi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Dec 2011 05:35:10 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-12-05T05:35:10Z</dc:date>
    <item>
      <title>Set Analysis syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-syntax/m-p/275488#M582781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I swear this is possible but I can't quite get the syntax&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following set analysis that shows me data for all our active history FTE where the ExtractDate is the same as the UploadDate:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;sum&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="color: #800000;"&gt;Measure&lt;/SPAN&gt;={'ActiveHistory'},&lt;SPAN style="color: #800000;"&gt;ExtractDate&lt;/SPAN&gt;={'$(=max({&amp;lt;KPI={&lt;SPAN style="color: #800000;"&gt;'FTE'&lt;/SPAN&gt;}&amp;gt;} UploadDate))'}&amp;gt;} FTE)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I need to do is add the following to it:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff;"&gt;Count&lt;/SPAN&gt;({&amp;lt;&lt;SPAN style="color: #800000;"&gt;Measure&lt;/SPAN&gt;={'Vacancies'},&lt;SPAN style="color: #800000;"&gt;ExtractDate&lt;/SPAN&gt;={'$(=max({&amp;lt;KPI={&lt;SPAN style="color: #800000;"&gt;'Vacancies'&lt;/SPAN&gt;}&amp;gt;} UploadDate))'}&amp;gt;} Measure)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The reason is because at the moment these two are separate expressions, I only want the one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help is appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2011 15:57:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-syntax/m-p/275488#M582781</guid>
      <dc:creator>samvile18</dc:creator>
      <dc:date>2011-12-02T15:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-syntax/m-p/275489#M582782</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sam,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First things first. Your set analysis is wrong in both expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the following.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;sum({&amp;lt;Measure={'ActiveHistory'},ExtractDate={"$(=max({&amp;lt;KPI={'FTE'}&amp;gt;} UploadDate))"}&amp;gt;} FTE)&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;and &lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;Count({&amp;lt;Measure={'Vacancies'},ExtractDate={"$(=max({&amp;lt;KPI={'Vacancies'}&amp;gt;} UploadDate))"}&amp;gt;} Measure)&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;Secondly, how do you want to use the sexond expression? Do you want to integrate the second expression in the set analysis part of the first expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do clarify,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Abhi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2011 05:35:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-syntax/m-p/275489#M582782</guid>
      <dc:creator />
      <dc:date>2011-12-05T05:35:10Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis syntax</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-syntax/m-p/275490#M582783</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Abhi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply. To be honest it doesn't really make much difference, two separate syntax strings will be fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2011 09:28:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-syntax/m-p/275490#M582783</guid>
      <dc:creator>samvile18</dc:creator>
      <dc:date>2011-12-05T09:28:52Z</dc:date>
    </item>
  </channel>
</rss>

