<?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: Concatenated string variable and Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Concatenated-string-variable-and-Set-Analysis/m-p/1187073#M627403</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It may depend on how you defined your variable, with or without a leading equal sign:&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;vFacilityName&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;=concat(DISTINCT chr(34) &amp;amp; "Facility Name" &amp;amp; chr(34),',')&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;Then &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;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;count({$&amp;lt;"Facility Name"={'$(vFacilityName)'}&amp;gt;}distinct Patient_ID)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;should work, IMO.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Create a straight table chart with this expression and Facility Name as dimension and then hover with the mouse over the expression header. It should show the expression with the variable expanded.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Sep 2016 23:11:36 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2016-09-16T23:11:36Z</dc:date>
    <item>
      <title>Concatenated string variable and Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenated-string-variable-and-Set-Analysis/m-p/1187072#M627402</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'm having trouble being able to use a variable I have created in my set analysis expression. Please assist. I have tried numerous ways and have not been successful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Variable Name and Definition: &lt;/P&gt;&lt;P&gt;vFacilityName = concat(DISTINCT chr(34) &amp;amp; "Facility Name" &amp;amp; chr(34),',')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(When I use my variable (i.e. $(vFacilityName) ) as an expression in a text object, it does work.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I'm unable to do so in my set analysis expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attempt 1: count({$&amp;lt;"Facility Name"={'$(=vFacilityName)'}&amp;gt;}distinct Patient_ID)&lt;/P&gt;&lt;P&gt;Attempt 2: &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;count({$&amp;lt;"Facility Name"={'$(vFacilityName)'}&amp;gt;}distinct Patient_ID)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Attempt 3: &lt;/SPAN&gt;count({$&amp;lt;"Facility Name"={"$(vFacilityName)"}&amp;gt;}distinct Patient_ID)&lt;/P&gt;&lt;P&gt;Attempt 4: count({$&amp;lt;"Facility Name"={"$(=vFacilityName)"}&amp;gt;}distinct Patient_ID)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And several other attempts and changing syntax.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please assist this is definitely giving me some trouble.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2016 22:48:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenated-string-variable-and-Set-Analysis/m-p/1187072#M627402</guid>
      <dc:creator />
      <dc:date>2016-09-16T22:48:29Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenated string variable and Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenated-string-variable-and-Set-Analysis/m-p/1187073#M627403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It may depend on how you defined your variable, with or without a leading equal sign:&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;vFacilityName&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;=concat(DISTINCT chr(34) &amp;amp; "Facility Name" &amp;amp; chr(34),',')&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;Then &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;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;count({$&amp;lt;"Facility Name"={'$(vFacilityName)'}&amp;gt;}distinct Patient_ID)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;should work, IMO.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Create a straight table chart with this expression and Facility Name as dimension and then hover with the mouse over the expression header. It should show the expression with the variable expanded.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2016 23:11:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenated-string-variable-and-Set-Analysis/m-p/1187073#M627403</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-09-16T23:11:36Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenated string variable and Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenated-string-variable-and-Set-Analysis/m-p/1187074#M627404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What are the values of facility name&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Sep 2016 03:31:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenated-string-variable-and-Set-Analysis/m-p/1187074#M627404</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2016-09-17T03:31:56Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenated string variable and Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenated-string-variable-and-Set-Analysis/m-p/1187075#M627405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Values of Facility Name field were: Hospital 1, Hospital 2, etc...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Values of Variable were: "Hospital 1", "Hospital 2", etc. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Sep 2016 04:13:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenated-string-variable-and-Set-Analysis/m-p/1187075#M627405</guid>
      <dc:creator />
      <dc:date>2016-09-17T04:13:07Z</dc:date>
    </item>
    <item>
      <title>Re: Concatenated string variable and Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Concatenated-string-variable-and-Set-Analysis/m-p/1187076#M627406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;variable &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=concat(DISTINCT chr(34) &amp;amp; [Facility Name] &amp;amp; chr(34),',')&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;Expression &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=count({$&amp;lt;[Facility Name]={$(vFacilityName)}&amp;gt;}distinct Patient_ID)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Sep 2016 13:20:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Concatenated-string-variable-and-Set-Analysis/m-p/1187076#M627406</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2016-09-17T13:20:41Z</dc:date>
    </item>
  </channel>
</rss>

