<?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: Variable value with space is used in expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Variable-value-with-space-is-used-in-expression/m-p/8598#M770422</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you let me know what does single quotes indicate? &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 May 2018 18:10:51 GMT</pubDate>
    <dc:creator>kinjal1645</dc:creator>
    <dc:date>2018-05-24T18:10:51Z</dc:date>
    <item>
      <title>Variable value with space is used in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-value-with-space-is-used-in-expression/m-p/8595#M770419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Hi All,&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;I have following variables:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;vref1=If(GetPossibleCount(p1_ref)=1,p1_ref)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;vP1val=If(GetPossibleCount(p1_value)=1,p1_value)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;vref2=If(GetPossibleCount(p2_ref)=1,p2_ref)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;vP2val=If(GetPossibleCount(p2_value)=1,p2_value)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;output of these variables for one case:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;vref1= ca_1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;vP1val= &lt;STRONG style="color: #ff0000;"&gt;not configured&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;vref2= ca_xa&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;vP2val= 2A&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;These variables are used in calculated dimension of straight table: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;=aggr(Only({$&amp;lt;$(vref1)={$(vP1val)},$(vref2)={$(vP2val)}&amp;gt;} m_field),m_field)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;But I am getting blank table for these selections because there is space in "not configured"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;When I change vP1val = &lt;SPAN style="color: #ff0000;"&gt;&lt;STRONG&gt;configured&lt;/STRONG&gt;&lt;/SPAN&gt; then table is populated with values. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Let me know how to handle this i.e. when there is space in variable value and used in expression.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Kindly help!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thanks&lt;BR /&gt;&lt;/SPAN&gt;&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/Variable-value-with-space-is-used-in-expression/m-p/8595#M770419</guid>
      <dc:creator>kinjal1645</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Variable value with space is used in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-value-with-space-is-used-in-expression/m-p/8596#M770420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Add single quotes around your variable in set analysis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Aggr(Only({$&amp;lt;$(vref1) = {&lt;STRONG style=": ; color: #ff0000; font-size: 14pt;"&gt;'&lt;/STRONG&gt;$(vP1val)&lt;SPAN style="color: #ff0000; font-size: 14pt;"&gt;'&lt;/SPAN&gt;}, $(vref2) = {&lt;STRONG style=": ; color: #ff0000; font-size: 14pt;"&gt;'&lt;/STRONG&gt;$(vP2val)&lt;STRONG style=": ; color: #ff0000; font-size: 14pt;"&gt;'&lt;/STRONG&gt;}&amp;gt;} m_field), m_field)&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2018 16:38:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-value-with-space-is-used-in-expression/m-p/8596#M770420</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-24T16:38:33Z</dc:date>
    </item>
    <item>
      <title>Re: Variable value with space is used in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-value-with-space-is-used-in-expression/m-p/8597#M770421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! That was quick &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/cool.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2018 16:43:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-value-with-space-is-used-in-expression/m-p/8597#M770421</guid>
      <dc:creator>kinjal1645</dc:creator>
      <dc:date>2018-05-24T16:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: Variable value with space is used in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-value-with-space-is-used-in-expression/m-p/8598#M770422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you let me know what does single quotes indicate? &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2018 18:10:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-value-with-space-is-used-in-expression/m-p/8598#M770422</guid>
      <dc:creator>kinjal1645</dc:creator>
      <dc:date>2018-05-24T18:10:51Z</dc:date>
    </item>
    <item>
      <title>Re: Variable value with space is used in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Variable-value-with-space-is-used-in-expression/m-p/8599#M770423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;that you have a literal between two single quotes &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/5335"&gt;Quotes in Set Analysis&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2018 18:17:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Variable-value-with-space-is-used-in-expression/m-p/8599#M770423</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-24T18:17:58Z</dc:date>
    </item>
  </channel>
</rss>

