<?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 with column contents as * in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-column-contents-as/m-p/999875#M953389</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a table where the default value of many cells is an asterisk (*).&amp;nbsp; In my set expression I'm trying to select on these values, but the resulting sum is totaling the entire selection - probably because the * is actually an operator of some description.&amp;nbsp; I've attempted to place it inside quotes, eg&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;both these result in the same end result - the entire set is summed, not just the columns with cells = *.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum( &lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; $&amp;lt;my_column_id={"*"}&amp;gt;&lt;/P&gt;&lt;P&gt;} us)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas how i can 'escape' * to mean "*"?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Nov 2015 14:41:02 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-11-27T14:41:02Z</dc:date>
    <item>
      <title>Set Analysis with column contents as *</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-column-contents-as/m-p/999875#M953389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a table where the default value of many cells is an asterisk (*).&amp;nbsp; In my set expression I'm trying to select on these values, but the resulting sum is totaling the entire selection - probably because the * is actually an operator of some description.&amp;nbsp; I've attempted to place it inside quotes, eg&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;both these result in the same end result - the entire set is summed, not just the columns with cells = *.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum( &lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp; $&amp;lt;my_column_id={"*"}&amp;gt;&lt;/P&gt;&lt;P&gt;} us)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas how i can 'escape' * to mean "*"?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Nov 2015 14:41:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-column-contents-as/m-p/999875#M953389</guid>
      <dc:creator />
      <dc:date>2015-11-27T14:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with column contents as *</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-column-contents-as/m-p/999876#M953390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;=count({&amp;lt;&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;my_column_id&lt;/SPAN&gt;={"=&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;my_column_id&lt;/SPAN&gt;=chr(42)"}&amp;gt;}Dim1)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Nov 2015 15:06:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-column-contents-as/m-p/999876#M953390</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2015-11-27T15:06:04Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with column contents as *</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-column-contents-as/m-p/999877#M953391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Try this one: sum({$&amp;lt;my_column_id={"=my_column_id='*' "}&amp;gt;}us)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Nov 2015 15:10:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-column-contents-as/m-p/999877#M953391</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-11-27T15:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with column contents as *</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-column-contents-as/m-p/999878#M953392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks fellows - Clever Anjos, your response works also if I substitute the '&lt;EM&gt;count&lt;/EM&gt;' for '&lt;EM&gt;sum&lt;/EM&gt;'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Nov 2015 15:19:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-column-contents-as/m-p/999878#M953392</guid>
      <dc:creator />
      <dc:date>2015-11-27T15:19:51Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with column contents as *</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-column-contents-as/m-p/999879#M953393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sorry, mistyped here, it was supposed to be a sum &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Nov 2015 15:34:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-column-contents-as/m-p/999879#M953393</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2015-11-27T15:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with column contents as *</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-column-contents-as/m-p/999880#M953394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe you can mark my answer as "Helpfull"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Nov 2015 15:38:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-column-contents-as/m-p/999880#M953394</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2015-11-27T15:38:46Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with column contents as *</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-column-contents-as/m-p/999881#M953395</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can also try below in your load script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replace(Fieldname, '*' , '|') as NewFieldname&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 29px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-size: 10pt;"&gt;sum(&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;{&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;$&amp;lt;NewFieldname={"|"}&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;} us)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Nov 2015 15:50:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-column-contents-as/m-p/999881#M953395</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2015-11-27T15:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with column contents as *</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-column-contents-as/m-p/999882#M953396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Definitely something to remember for the future - I have about 57 columns in my datasource, the above formulas are good workarounds but as the expressions get larger (I have a behemoth to write shortly), they will, i suspect, start to become somewhat hard to read.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Nov 2015 16:45:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-column-contents-as/m-p/999882#M953396</guid>
      <dc:creator />
      <dc:date>2015-11-27T16:45:04Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis with column contents as *</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-with-column-contents-as/m-p/999883#M953397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;While loading you can change the script as&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load Field1,&lt;/P&gt;&lt;P&gt;Replace(Field2,'*','|') as Field2&lt;/P&gt;&lt;P&gt;From source;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you will have same number of columns (57). I just give you an idea. If you have one or two, it w&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;ould be helpful.&lt;/SPAN&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Nov 2015 16:57:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-with-column-contents-as/m-p/999883#M953397</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2015-11-27T16:57:01Z</dc:date>
    </item>
  </channel>
</rss>

