<?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 Problem-Where to add in extra set analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-analysis-Problem-Where-to-add-in-extra-set-analysis/m-p/399979#M1159871</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Hello,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Could someone kindly help me write some set analysis. The below syntax works and is near to what I want to achieve, but I want to add some extra syntax in&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I want to add where &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&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;SPAN style="font-size: 10pt;"&gt;This Works&lt;/SPAN&gt;&lt;A&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&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;SPAN style="font-size: 10pt;"&gt;=&lt;SPAN style="color: #0000ff;"&gt;Time&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;RangeFractile&lt;/SPAN&gt;(.95, &lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;$(=Concat([Total Wait], ',') &amp;amp; ',' &amp;amp; Concat(CONCLUSION_WAIT_MINS, ','))&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 10pt;"&gt;This does not work﻿&lt;SPAN id="mce_marker"&gt;&lt;/SPAN&gt;&lt;SPAN id="mce_marker"&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN id="mce_marker"&gt;&lt;/SPAN&gt;&lt;SPAN id="mce_marker"&gt;=Time(RangeFractile(.95, $(=Concat({&amp;lt;RunMonth = {$(=Max(RunMonth))}, [Patient Admitted?]={"1"} &amp;gt;}[Total Wait], ',') &amp;amp; ',' &amp;amp; Concat({&amp;lt;RunMonthEye = {$(=Max(RunMonthEye))}, [ADMISSION_FLAG]={"Y"}&amp;gt;}CONCLUSION_WAIT_MINS, ',')))/1440,'hh:mm')&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿&lt;/SPAN&gt;I have added in the following&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;[Patient Admitted?]={"1"} &amp;gt;} in front of [Total Wait] and [ADMISSION_FLAG]={"Y"}&amp;gt;} in front of CONCLUSION_WAIT_MINS, but the syntax returns a Null value&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿&lt;/SPAN&gt;Can someone kindly help me put the right brackets in the right place to incorporate both &lt;SPAN style="font-size: 8pt;"&gt;[Patient Admitted?]={"1"} &amp;gt;} &lt;/SPAN&gt; and [ADMISSION_FLAG]={"Y"}&amp;gt;}&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿&lt;/SPAN&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿&lt;/SPAN&gt;Helen&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 10pt;"&gt;﻿&lt;SPAN id="mce_marker"&gt;&lt;/SPAN&gt;&lt;SPAN id="mce_marker"&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 10pt;"&gt;﻿&lt;SPAN id="mce_marker"&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 10pt;"&gt;﻿&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 10pt;"&gt;﻿&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Dec 2012 11:46:02 GMT</pubDate>
    <dc:creator>helen_pip</dc:creator>
    <dc:date>2012-12-03T11:46:02Z</dc:date>
    <item>
      <title>Set analysis Problem-Where to add in extra set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-Problem-Where-to-add-in-extra-set-analysis/m-p/399979#M1159871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Hello,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Could someone kindly help me write some set analysis. The below syntax works and is near to what I want to achieve, but I want to add some extra syntax in&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I want to add where &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&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;SPAN style="font-size: 10pt;"&gt;This Works&lt;/SPAN&gt;&lt;A&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&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;SPAN style="font-size: 10pt;"&gt;=&lt;SPAN style="color: #0000ff;"&gt;Time&lt;/SPAN&gt;(&lt;SPAN style="color: #0000ff;"&gt;RangeFractile&lt;/SPAN&gt;(.95, &lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080;"&gt;$(=Concat([Total Wait], ',') &amp;amp; ',' &amp;amp; Concat(CONCLUSION_WAIT_MINS, ','))&lt;/EM&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 10pt;"&gt;This does not work﻿&lt;SPAN id="mce_marker"&gt;&lt;/SPAN&gt;&lt;SPAN id="mce_marker"&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;SPAN id="mce_marker"&gt;&lt;/SPAN&gt;&lt;SPAN id="mce_marker"&gt;=Time(RangeFractile(.95, $(=Concat({&amp;lt;RunMonth = {$(=Max(RunMonth))}, [Patient Admitted?]={"1"} &amp;gt;}[Total Wait], ',') &amp;amp; ',' &amp;amp; Concat({&amp;lt;RunMonthEye = {$(=Max(RunMonthEye))}, [ADMISSION_FLAG]={"Y"}&amp;gt;}CONCLUSION_WAIT_MINS, ',')))/1440,'hh:mm')&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿&lt;/SPAN&gt;I have added in the following&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;A&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;[Patient Admitted?]={"1"} &amp;gt;} in front of [Total Wait] and [ADMISSION_FLAG]={"Y"}&amp;gt;} in front of CONCLUSION_WAIT_MINS, but the syntax returns a Null value&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿&lt;/SPAN&gt;Can someone kindly help me put the right brackets in the right place to incorporate both &lt;SPAN style="font-size: 8pt;"&gt;[Patient Admitted?]={"1"} &amp;gt;} &lt;/SPAN&gt; and [ADMISSION_FLAG]={"Y"}&amp;gt;}&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿&lt;/SPAN&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿&lt;/SPAN&gt;Helen&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 10pt;"&gt;﻿&lt;SPAN id="mce_marker"&gt;&lt;/SPAN&gt;&lt;SPAN id="mce_marker"&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 10pt;"&gt;﻿&lt;SPAN id="mce_marker"&gt;&lt;/SPAN&gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 10pt;"&gt;﻿&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;STRONG&gt;&lt;EM style="color: #808080; font-size: 10pt;"&gt;﻿&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;﻿&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2012 11:46:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-Problem-Where-to-add-in-extra-set-analysis/m-p/399979#M1159871</guid>
      <dc:creator>helen_pip</dc:creator>
      <dc:date>2012-12-03T11:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis Problem-Where to add in extra set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-Problem-Where-to-add-in-extra-set-analysis/m-p/399980#M1159872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Helen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your expression looks like it's ok...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should try to break down the parts to debug it. So, what are the return values of the below expressions?&lt;/P&gt;&lt;P&gt;- Concat({&amp;lt;RunMonth = {$(=Max(RunMonth))}, [Patient Admitted?]={"1"} &amp;gt;} [Total Wait], ',')&lt;/P&gt;&lt;P&gt;- Concat({&amp;lt;RunMonthEye = {$(=Max(RunMonthEye))}, [ADMISSION_FLAG]={"Y"}&amp;gt;} CONCLUSION_WAIT_MINS, ',')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Dec 2012 19:14:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-Problem-Where-to-add-in-extra-set-analysis/m-p/399980#M1159872</guid>
      <dc:creator>fosuzuki</dc:creator>
      <dc:date>2012-12-03T19:14:12Z</dc:date>
    </item>
    <item>
      <title>Re: Set analysis Problem-Where to add in extra set analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Set-analysis-Problem-Where-to-add-in-extra-set-analysis/m-p/399981#M1159873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Fernando,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your reply.&amp;nbsp; I will try debugging&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concat({&amp;lt;RunMonth = {$(=Max(RunMonth))}, [Patient Admitted?]={"1"} &amp;gt;} [Total Wait], ',') will return 02:03&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Concat({&amp;lt;RunMonthEye = {$(=Max(RunMonthEye))}, [ADMISSION_FLAG]={"Y"}&amp;gt;} CONCLUSION_WAIT_MINS, ',') will return&amp;nbsp; a null value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Helen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Dec 2012 09:03:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-analysis-Problem-Where-to-add-in-extra-set-analysis/m-p/399981#M1159873</guid>
      <dc:creator>helen_pip</dc:creator>
      <dc:date>2012-12-04T09:03:29Z</dc:date>
    </item>
  </channel>
</rss>

