<?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: Issue with set analysis expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Issue-with-set-analysis-expression/m-p/895685#M997678</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I appreciate your help. Just when vSet returns null() then it should be replaced with [Transaction ID]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Jun 2015 13:06:52 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-06-25T13:06:52Z</dc:date>
    <item>
      <title>Issue with set analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-set-analysis-expression/m-p/895681#M997674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can someone please help me with this set anyalsis expression using is null.&lt;BR /&gt;When there is no value in vSearch then my set analysis should evaluate the expression from [Transaction ID], if there is a value in vSearch then it should evaluate from [Transaction ID]={$(vSearch)}. And should return [RAL State].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=only({&amp;lt;[Transaction ID]={$(vSearch)}&amp;gt;}&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [RAL State])&lt;BR /&gt;The above expression works fine but&lt;BR /&gt; &lt;BR /&gt;=only({&amp;lt;[Transaction ID]={$(vSearch)}&amp;gt;&lt;BR /&gt; +&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;[Transaction ID]&amp;gt;}&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [RAL State])&lt;/P&gt;&lt;P&gt;this is not working and I'm having trouble in this part &amp;lt;[Transaction ID]={$(vSearch)}&amp;gt;.&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;Regards,&lt;BR /&gt;Sachin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2015 20:57:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-set-analysis-expression/m-p/895681#M997674</guid>
      <dc:creator />
      <dc:date>2015-06-24T20:57:57Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with set analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-set-analysis-expression/m-p/895682#M997675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What about defining a second variable vSet&lt;/P&gt;&lt;P&gt;=if(len(trim('$(vSearch)')),&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;{&amp;lt;[Transaction ID]={$(vSearch)}&amp;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;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ''&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&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 use vSet in your expression&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;=only($(vSet) &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt; [RAL State])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically, if vSearch is empty, replace vSet with an empty string, else use your original set expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2015 21:08:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-set-analysis-expression/m-p/895682#M997675</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-06-24T21:08:56Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with set analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-set-analysis-expression/m-p/895683#M997676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;It's not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you mean it should be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=only({&amp;lt;[Transaction ID]={$(vSet)}&amp;gt;&lt;/P&gt;&lt;P&gt; +&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;[Transaction ID]&amp;gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [RAL State])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2015 21:35:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-set-analysis-expression/m-p/895683#M997676</guid>
      <dc:creator />
      <dc:date>2015-06-24T21:35:09Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with set analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-set-analysis-expression/m-p/895684#M997677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, if I've understood you correctly, this should be enough in both cases:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=only($(vSet) &lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[RAL State])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;with vSet definition doing the magic.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Could you upload a small sample QVW and your expected results?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2015 21:38:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-set-analysis-expression/m-p/895684#M997677</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-06-24T21:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with set analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-set-analysis-expression/m-p/895685#M997678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I appreciate your help. Just when vSet returns null() then it should be replaced with [Transaction ID]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2015 13:06:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-set-analysis-expression/m-p/895685#M997678</guid>
      <dc:creator />
      <dc:date>2015-06-25T13:06:52Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with set analysis expression</title>
      <link>https://community.qlik.com/t5/QlikView/Issue-with-set-analysis-expression/m-p/895686#M997679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if I understand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you don't enter something in vSearch, you want the user selection in [Transaction ID] to be considered?&lt;/P&gt;&lt;P&gt;Isn't that just the standard behaviour?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2015 13:09:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Issue-with-set-analysis-expression/m-p/895686#M997679</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-06-25T13:09:18Z</dc:date>
    </item>
  </channel>
</rss>

