<?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 right/left function - bug in Qlikview 11? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/right-left-function-bug-in-Qlikview-11/m-p/363739#M575031</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I think that's a bug.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-family: 'Courier New'; font-size: 12px; background-color: #eef4f9;"&gt;dateString &lt;/SPAN&gt;is a varchar hence a right([varchar],5) should give me the last 5 chars of the string...&lt;/P&gt;&lt;P&gt;And as I mentionned, it worked fine on Qlikview 10.&lt;/P&gt;&lt;P&gt;I just feel bad for people who might extensively use this function on dates and are going to upgrade... BEWARE! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/silly.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm just going to replace dateString by Month&amp;amp;' '&amp;amp;Day... But both should have worked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 May 2012 14:36:16 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-05-22T14:36:16Z</dc:date>
    <item>
      <title>right/left function - bug in Qlikview 11?</title>
      <link>https://community.qlik.com/t5/QlikView/right-left-function-bug-in-Qlikview-11/m-p/363736#M575028</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;&lt;SPAN style="color: #1f497d;"&gt;On a chart dimension, the following problem occurs since I upgraded to Qlikview 11 SR1. It was displayed properly on Qlikview 10.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;I have a dateString field that looks like this: 2012-05-22&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;This is what I see in my graphin Axis when I use the following dimension:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue; font-family: 'Courier New'; font-size: 9pt;"&gt;right&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: maroon; font-family: 'Courier New'; font-size: 9pt;"&gt;dateString&lt;/SPAN&gt;&lt;SPAN style="color: black; font-family: 'Courier New'; font-size: 9pt;"&gt;,5) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="righ_function_bug.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/14615_righ_function_bug.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Above is an example of what happens when I apply the right function to my string... I'm confused &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/confused.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Is it a know bug in Qlikview 11? &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2012 14:16:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/right-left-function-bug-in-Qlikview-11/m-p/363736#M575028</guid>
      <dc:creator />
      <dc:date>2012-05-22T14:16:44Z</dc:date>
    </item>
    <item>
      <title>right/left function - bug in Qlikview 11?</title>
      <link>https://community.qlik.com/t5/QlikView/right-left-function-bug-in-Qlikview-11/m-p/363737#M575029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;QV defines a date as a number as default.&lt;/P&gt;&lt;P&gt;So your script should be&lt;/P&gt;&lt;P&gt;load (right(text(datestring),5) as date&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2012 14:25:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/right-left-function-bug-in-Qlikview-11/m-p/363737#M575029</guid>
      <dc:creator>martinpohl</dc:creator>
      <dc:date>2012-05-22T14:25:29Z</dc:date>
    </item>
    <item>
      <title>right/left function - bug in Qlikview 11?</title>
      <link>https://community.qlik.com/t5/QlikView/right-left-function-bug-in-Qlikview-11/m-p/363738#M575030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Interesting...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your dateString is of date or timestamp data type with a numerical representation, right? (You could check this in table view). It seems that the right function is applied to the numerical representation, not the textual.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I would agree this is not the result I would expect and it seems to break existing coding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am just working on QV 11 IR at the moment, in this version it's returning the correct string part.&lt;/P&gt;&lt;P&gt;I am going to test on QV 11 SR1 later on.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2012 14:26:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/right-left-function-bug-in-Qlikview-11/m-p/363738#M575030</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-05-22T14:26:54Z</dc:date>
    </item>
    <item>
      <title>right/left function - bug in Qlikview 11?</title>
      <link>https://community.qlik.com/t5/QlikView/right-left-function-bug-in-Qlikview-11/m-p/363739#M575031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I think that's a bug.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800000; font-family: 'Courier New'; font-size: 12px; background-color: #eef4f9;"&gt;dateString &lt;/SPAN&gt;is a varchar hence a right([varchar],5) should give me the last 5 chars of the string...&lt;/P&gt;&lt;P&gt;And as I mentionned, it worked fine on Qlikview 10.&lt;/P&gt;&lt;P&gt;I just feel bad for people who might extensively use this function on dates and are going to upgrade... BEWARE! &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/silly.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm just going to replace dateString by Month&amp;amp;' '&amp;amp;Day... But both should have worked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2012 14:36:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/right-left-function-bug-in-Qlikview-11/m-p/363739#M575031</guid>
      <dc:creator />
      <dc:date>2012-05-22T14:36:16Z</dc:date>
    </item>
    <item>
      <title>right/left function - bug in Qlikview 11?</title>
      <link>https://community.qlik.com/t5/QlikView/right-left-function-bug-in-Qlikview-11/m-p/363740#M575032</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe your dateString will automatically be parsed in as date type by QV (given the standard date format matches). You might want to check the date type in table view by hovering over the field to verify this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I believe Martin's suggested workaround should work also, but using date functions like Month and Day might be a good solution anyway.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2012 14:40:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/right-left-function-bug-in-Qlikview-11/m-p/363740#M575032</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-05-22T14:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: right/left function - bug in Qlikview 11?</title>
      <link>https://community.qlik.com/t5/QlikView/right-left-function-bug-in-Qlikview-11/m-p/363741#M575033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried Martin's suggestion on the object itself:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="timestamp2.png" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/14628_timestamp2.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's just not working at all for a timestamp... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="14627" alt="timestamp3.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/14627_timestamp3.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note about this field, I load it using the from_unixtime function on an epoch time. Would that be the problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2012 14:54:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/right-left-function-bug-in-Qlikview-11/m-p/363741#M575033</guid>
      <dc:creator />
      <dc:date>2012-05-22T14:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: right/left function - bug in Qlikview 11?</title>
      <link>https://community.qlik.com/t5/QlikView/right-left-function-bug-in-Qlikview-11/m-p/363742#M575034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found a solution &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="14630" alt="timestamp4.png" class="jive-image-thumbnail jive-image" src="https://community.qlik.com/legacyfs/online/14630_timestamp4.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem solved... but I still maintain that I didnt have to do that in Qlikview 10, grrrr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for you help guys.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2012 15:22:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/right-left-function-bug-in-Qlikview-11/m-p/363742#M575034</guid>
      <dc:creator />
      <dc:date>2012-05-22T15:22:08Z</dc:date>
    </item>
    <item>
      <title>right/left function - bug in Qlikview 11?</title>
      <link>https://community.qlik.com/t5/QlikView/right-left-function-bug-in-Qlikview-11/m-p/363743#M575035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to see the solution, but I can't open the image. Could you please double check the link? Or post the code you used to transform the data?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2012 15:25:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/right-left-function-bug-in-Qlikview-11/m-p/363743#M575035</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-05-22T15:25:51Z</dc:date>
    </item>
    <item>
      <title>Re: right/left function - bug in Qlikview 11?</title>
      <link>https://community.qlik.com/t5/QlikView/right-left-function-bug-in-Qlikview-11/m-p/363744#M575036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry, I reuploaded the screenshot.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2012 15:30:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/right-left-function-bug-in-Qlikview-11/m-p/363744#M575036</guid>
      <dc:creator />
      <dc:date>2012-05-22T15:30:38Z</dc:date>
    </item>
  </channel>
</rss>

