<?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 is not working when I use String field. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-is-not-working-when-I-use-String-field/m-p/831668#M292644</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your original Expression does ignore the user selection in Project Type Desc field and sets an new value.&lt;/P&gt;&lt;P&gt;My expression doesn't ignore user selection, it will use the intersection of user selection in that field (or possible values of that field) and the fixed value you are using.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More? For example here:&lt;/P&gt;&lt;P&gt;&lt;A class="unlinked"&gt;https://iqlik.wordpress.com/2010/11/21/the-magic-of-set-analysis-part-iii/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 May 2015 07:48:49 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2015-05-12T07:48:49Z</dc:date>
    <item>
      <title>Set Analysis is not working when I use String field.</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-is-not-working-when-I-use-String-field/m-p/831661#M292637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an application where I have Project Type Desc and %Project Type Key columns in a dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 2 values&lt;/P&gt;&lt;P&gt;%Project Type Key&amp;nbsp; Project Type Desc&lt;/P&gt;&lt;P&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dev&lt;/P&gt;&lt;P&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Test&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this Dimension Joining with Fact based on Key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In a graph I am using below expressions &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression1=Sum({&amp;lt;[Project Type Desc]={'Dev'}&amp;gt;}[Transaction Count])&lt;/P&gt;&lt;P&gt;Expression2=Sum({&amp;lt;[Project Type Desc]={'Test'}&amp;gt;}[Transaction Count])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have list box Project Type Desc and displaying 2 values Dev and Test.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I select Dev I am expecting to display only Expression1 but it is not filtering and displaying both. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I change my expression to &lt;/P&gt;&lt;P&gt;Expression1=Sum({&amp;lt;[%Project Type Key]={'1'}&amp;gt;}[Transaction Count])&lt;/P&gt;&lt;P&gt;Expression2=Sum({&amp;lt;[%Project Type Key]={'2'}&amp;gt;}[Transaction Count])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is working perfectly. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I am hiding % so can't use this column. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to know why it is not working with column Project Type Desc and working with %Project Type Key?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2015 07:23:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-is-not-working-when-I-use-String-field/m-p/831661#M292637</guid>
      <dc:creator />
      <dc:date>2015-05-11T07:23:10Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis is not working when I use String field.</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-is-not-working-when-I-use-String-field/m-p/831662#M292638</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;use this Expression &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum(&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;[Transaction Count])&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;it will show result what u r expecting.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if u&amp;nbsp; use above to 2 Expression it will show only&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 1&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;sum of&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Transaction Count] for &lt;/SPAN&gt; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Dev&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;Expression 2&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;sum of &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Transaction Count] for &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Test&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;because&amp;nbsp; set analysis it will show alternative selections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chennaiah.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2015 07:37:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-is-not-working-when-I-use-String-field/m-p/831662#M292638</guid>
      <dc:creator />
      <dc:date>2015-05-11T07:37:04Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis is not working when I use String field.</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-is-not-working-when-I-use-String-field/m-p/831663#M292639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;I believe you are using &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Project Type Desc] in your list box filter as well that what its not working . &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;You given this field in set analysis as hard coded&amp;nbsp; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Project Type Desc]={'Dev'}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what you can do is, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use not equal to (-=)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Expression1=Sum({&amp;lt;[Project Type Desc]-={'Test'}&amp;gt;}[Transaction Count])&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Expression2=Sum({&amp;lt;[Project Type Desc]-={'Dev'}&amp;gt;}[Transaction Count])&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;or you can create one&amp;nbsp; more field in your script&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Project Type Desc] as &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Project Type DescFilter] &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Now use this field as listbox filter and &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;[Project Type Desc] in set analysis . &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;It will work . &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Thanks &lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;BKC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2015 07:38:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-is-not-working-when-I-use-String-field/m-p/831663#M292639</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-05-11T07:38:49Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis is not working when I use String field.</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-is-not-working-when-I-use-String-field/m-p/831664#M292640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's because your Manual selection will be overridden by the set Analysis set modifier.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try an intersection operator * to care for your user selection:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression1=Sum({&amp;lt;[Project Type Desc] &lt;STRONG&gt;*=&lt;/STRONG&gt; {'Dev'}&amp;gt;}[Transaction Count])&lt;/P&gt;&lt;P&gt;Expression2=Sum({&amp;lt;[Project Type Desc] &lt;STRONG&gt;*=&lt;/STRONG&gt; {'Test'}&amp;gt;}[Transaction Count])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2015 07:40:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-is-not-working-when-I-use-String-field/m-p/831664#M292640</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-05-11T07:40:45Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis is not working when I use String field.</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-is-not-working-when-I-use-String-field/m-p/831665#M292641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will try all the suggestions and let you know the outcome.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2015 09:22:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-is-not-working-when-I-use-String-field/m-p/831665#M292641</guid>
      <dc:creator />
      <dc:date>2015-05-11T09:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis is not working when I use String field.</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-is-not-working-when-I-use-String-field/m-p/831666#M292642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use double quotes instead. Just try doing this&lt;/P&gt;&lt;P&gt;Expression1=Sum({&amp;lt;[Project Type Desc]={"Dev"}&amp;gt;}[Transaction Count])&lt;/P&gt;&lt;P&gt;Expression2=Sum({&amp;lt;[Project Type Desc]={"'Test"}&amp;gt;}[Transaction Count])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 May 2015 09:26:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-is-not-working-when-I-use-String-field/m-p/831666#M292642</guid>
      <dc:creator />
      <dc:date>2015-05-11T09:26:20Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis is not working when I use String field.</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-is-not-working-when-I-use-String-field/m-p/831667#M292643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Swuehl,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try this &lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Expression1=Sum({&amp;lt;[Project Type Desc] &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;*=&lt;/STRONG&gt; {'Dev'}&amp;gt;}[Transaction Count])&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Expression2=Sum({&amp;lt;[Project Type Desc] &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;*=&lt;/STRONG&gt; {'Test'}&amp;gt;}[Transaction Count])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It works as expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May I know what is the difference between &lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Expression1=Sum({&amp;lt;[Project Type Desc] &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;*=&lt;/STRONG&gt; {'Dev'}&amp;gt;}[Transaction Count])&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Expression2=Sum({&amp;lt;[Project Type Desc] &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;*=&lt;/STRONG&gt; {'Test'}&amp;gt;}[Transaction Count])&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;and &lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Expression1=Sum({&amp;lt;[Project Type Desc] &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;=&lt;/STRONG&gt; {'Dev'}&amp;gt;}[Transaction Count])&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Expression2=Sum({&amp;lt;[Project Type Desc] &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;=&lt;/STRONG&gt; {'Test'}&amp;gt;}[Transaction Count])&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Why Expression does not work without *?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 00:15:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-is-not-working-when-I-use-String-field/m-p/831667#M292643</guid>
      <dc:creator />
      <dc:date>2015-05-12T00:15:02Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis is not working when I use String field.</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-is-not-working-when-I-use-String-field/m-p/831668#M292644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Your original Expression does ignore the user selection in Project Type Desc field and sets an new value.&lt;/P&gt;&lt;P&gt;My expression doesn't ignore user selection, it will use the intersection of user selection in that field (or possible values of that field) and the fixed value you are using.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More? For example here:&lt;/P&gt;&lt;P&gt;&lt;A class="unlinked"&gt;https://iqlik.wordpress.com/2010/11/21/the-magic-of-set-analysis-part-iii/&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2015 07:48:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-is-not-working-when-I-use-String-field/m-p/831668#M292644</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-05-12T07:48:49Z</dc:date>
    </item>
  </channel>
</rss>

