<?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 Modifier strange behaviour in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Modifier-strange-behaviour/m-p/774751#M274809</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well I believe so. If I just do a straight table with AccountNumber as the dimension and sum(Balance) as the expression, it shows me all the account numbers including 0031. Looking at it though, the alignment of AccountNumber is to the right, which would indicate that QlikView is treating it as numeric since I haven't changed the defaults in the Presentation tab. But then if it wasn't numeric I wouldn't expect it to show the leading zeroes. Confused!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Mar 2015 11:08:43 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-03-10T11:08:43Z</dc:date>
    <item>
      <title>Set Modifier strange behaviour</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Modifier-strange-behaviour/m-p/774749#M274807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a chart of accounts and I am using set analysis to get the balance for specific accounts. The account codes are strings of four numbers, for example 0031, 1122, 2201.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My expression is quite simple:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;AccountNumber={0031}&amp;gt;} Balance)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but this doesn't work, it shows a balance of 0.00.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However if I change it to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;AccountNumber={'0031*'}&amp;gt;} Balance)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this gives the correct balance, and so does this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;AccountNumber={'&amp;gt;=0031 &amp;lt;=0031'}&amp;gt;} Balance)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't understand why the first expression doesn't work. Any ideas? Thanks, Paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2015 10:48:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Modifier-strange-behaviour/m-p/774749#M274807</guid>
      <dc:creator />
      <dc:date>2015-03-10T10:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: Set Modifier strange behaviour</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Modifier-strange-behaviour/m-p/774750#M274808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Paul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is the code actually in the QVW as 0031?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2015 11:03:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Modifier-strange-behaviour/m-p/774750#M274808</guid>
      <dc:creator>awhitfield</dc:creator>
      <dc:date>2015-03-10T11:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: Set Modifier strange behaviour</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Modifier-strange-behaviour/m-p/774751#M274809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well I believe so. If I just do a straight table with AccountNumber as the dimension and sum(Balance) as the expression, it shows me all the account numbers including 0031. Looking at it though, the alignment of AccountNumber is to the right, which would indicate that QlikView is treating it as numeric since I haven't changed the defaults in the Presentation tab. But then if it wasn't numeric I wouldn't expect it to show the leading zeroes. Confused!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2015 11:08:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Modifier-strange-behaviour/m-p/774751#M274809</guid>
      <dc:creator />
      <dc:date>2015-03-10T11:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: Set Modifier strange behaviour</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Modifier-strange-behaviour/m-p/774752#M274810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Paul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think qlikview is reading AccountNumber data as &lt;STRONG&gt;text&lt;/STRONG&gt; , if that is the case ,modifier comparison values should be in single quotes as text values should be kept in ''.&lt;/P&gt;&lt;P&gt;T&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;ry with this expression &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;sum({$&amp;lt;AccountNumber={'0031'}&amp;gt;} Balance)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2015 11:13:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Modifier-strange-behaviour/m-p/774752#M274810</guid>
      <dc:creator>venkatraju</dc:creator>
      <dc:date>2015-03-10T11:13:34Z</dc:date>
    </item>
    <item>
      <title>Re: Set Modifier strange behaviour</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Modifier-strange-behaviour/m-p/774753#M274811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just forced the account number to be text in the attached, but this still works without the quotes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2015 11:18:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Modifier-strange-behaviour/m-p/774753#M274811</guid>
      <dc:creator>awhitfield</dc:creator>
      <dc:date>2015-03-10T11:18:42Z</dc:date>
    </item>
    <item>
      <title>Re: Set Modifier strange behaviour</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Modifier-strange-behaviour/m-p/774754#M274812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Venkat, I tried that and it does not display the account number or balance. I tried with both single and double quotation marks. I should have stated in my original question when I said the balance was 0, that it was not showing the account number here either, the zero balance was in the total.&lt;/P&gt;&lt;P&gt;In my script I am loading "Text(AccountNumber) as AccountNumber" so QlikView should be treating it as text.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2015 11:20:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Modifier-strange-behaviour/m-p/774754#M274812</guid>
      <dc:creator />
      <dc:date>2015-03-10T11:20:47Z</dc:date>
    </item>
    <item>
      <title>Re: Set Modifier strange behaviour</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Modifier-strange-behaviour/m-p/774755#M274813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Qlikview assigns dual value (Text/Number)&amp;nbsp; for data so in this case probably does not matter if is being read as Text or Number as the calculation will be done anyway,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-3" src="https://community.qlik.com/legacyfs/online/80346_pastedImage_2.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/80345_pastedImage_1.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Paul could you attached your data?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2015 11:25:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Modifier-strange-behaviour/m-p/774755#M274813</guid>
      <dc:creator>robert_mika</dc:creator>
      <dc:date>2015-03-10T11:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: Set Modifier strange behaviour</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Modifier-strange-behaviour/m-p/774756#M274814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Paul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;are you able to post the qvw?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2015 11:30:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Modifier-strange-behaviour/m-p/774756#M274814</guid>
      <dc:creator>awhitfield</dc:creator>
      <dc:date>2015-03-10T11:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: Set Modifier strange behaviour</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Modifier-strange-behaviour/m-p/774757#M274815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not in its current form but I will try to set up a simpler version where I can repeat the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2015 11:40:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Modifier-strange-behaviour/m-p/774757#M274815</guid>
      <dc:creator />
      <dc:date>2015-03-10T11:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: Set Modifier strange behaviour</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Modifier-strange-behaviour/m-p/774758#M274816</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I set up a simpler version and couldn't replicate the problem. After playing around with the load script, I noticed that the Accounts table consisted of not only the accounts but a long list of question marks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I then changed "Load Text(AccNumber) as AccountNumber" to "Load AccNumber as AccountNumber" and that fixed the problem. I'm still not entirely sure of the reason but at least it works now! Thanks for the help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2015 13:10:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Modifier-strange-behaviour/m-p/774758#M274816</guid>
      <dc:creator />
      <dc:date>2015-03-10T13:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: Set Modifier strange behaviour</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Modifier-strange-behaviour/m-p/774759#M274817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good stuff, glad that it's sorted.&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/wink.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2015 13:32:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Modifier-strange-behaviour/m-p/774759#M274817</guid>
      <dc:creator>awhitfield</dc:creator>
      <dc:date>2015-03-10T13:32:35Z</dc:date>
    </item>
  </channel>
</rss>

